Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Add import_asset, export_asset, list_assets and invoice methods #28

Closed
zoedberg opened this issue Dec 5, 2020 · 4 comments · Fixed by #31
Closed

Add import_asset, export_asset, list_assets and invoice methods #28

zoedberg opened this issue Dec 5, 2020 · 4 comments · Fixed by #31
Labels
enhancement New feature or request
Milestone

Comments

@zoedberg
Copy link
Contributor

zoedberg commented Dec 5, 2020

After closing RGB-WG/rgb-node#117, we should add the import_asset and invoice methods

@dr-orlovsky
Copy link
Member

I propose to have list_asset method as well, exposing runtime.list. W/o it is impossible to do a transfer after the issuance in any demo (or real-world) app

@dr-orlovsky dr-orlovsky added the enhancement New feature or request label Dec 5, 2020
@dr-orlovsky dr-orlovsky added this to the v0.1 milestone Dec 5, 2020
@dr-orlovsky
Copy link
Member

BTW, invoicing does not require I9N or talking to RGB node; you can generate an invoice right in the SDK. Just construct rgb::fungible::Invoice object with it's data (ContractId, Outpoint, which may be constructed from tx outpoint data) and that's all

@zoedberg
Copy link
Contributor Author

I think we should add also an export_asset method. @dr-orlovsky do you agree? (if yes I will add it also to RGB-WG/rgb-node#117)

@dr-orlovsky
Copy link
Member

Yes, I think it is needed

@zoedberg zoedberg changed the title Add import_asset and invoice methods Add import_asset, export_asset, list_assets and invoice methods Dec 12, 2020
@dr-orlovsky dr-orlovsky modified the milestones: v0.1, v0.2 Dec 15, 2020
@dr-orlovsky dr-orlovsky pinned this issue Dec 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants