RGB-WG / rgb-sdk

RGB SDK for wallet & exchange integration
MIT License
29 stars 18 forks source link

[tracking] Language bindings & APIs #30

Open dr-orlovsky opened 3 years ago

dr-orlovsky commented 3 years ago

Bindings:

Method I9N C Bindgen WASM Bindgen
1. Node management
start_embedded + + -
start_external + + -
connect + - -
2. Assets
issue + + -
list - - -
export - - -
import - - -
invoice - - -
3. Balances
asset_allocations + + -
outpoint_assets + + -
4. Payments
transfer + + -
validate + + -
accept + + -
Wrapper API with class libraries Method Swig NPM (JavaScript, TypeScript) WASM JS JVM (Java, Kotlin, Scala, ...) Swift Python Go C++
1. Node management
start_embedded + - + x ? - -
start_external + - + - x ? - -
connect + - - - x ? - -
2. Assets
issue + - + - x + - -
list - - - - - - -
export - - - - - - -
import - - - - - - -
invoice - - - - - - -
3. Balances
asset_allocations + - + - - - -
outpoint_assets + - + - - - -
4. Payments
transfer + - + - x + - -
validate + - + - x + - -
accept + - + - x + - -

x = outdated

dr-orlovsky commented 3 years ago

@zoedberg FYI a table where we can track progress on all API methods (current and future)^^^