Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[api] Asset manager #58

Open
5 tasks
MitchPierias opened this issue Sep 7, 2019 · 0 comments
Open
5 tasks

[api] Asset manager #58

MitchPierias opened this issue Sep 7, 2019 · 0 comments
Labels
feature New feature or request enhancement

Comments

@MitchPierias
Copy link
Collaborator

MitchPierias commented Sep 7, 2019

Simplify the deployment of eosio system contracts like eosio.token, and provide api tools to easily interact with them where needed.

  • API should automatically deploy eosio.token and allocate system assets in development mode? Attaching the account to an easily accessible method on AccountManager?
  • Implement createAssets and issueAssets on the Contract class.
  • Create a System class to manage the eosio.token contract and others.
  • Provide a System.getAsset('SYMBOL') method to fetch the table rows for the specified asset symbol.
  • Provide a System.getAssets('accountname') to get the accounts holdings.

This could all be better by switching System to an AssetManager, and simply manage an asset symbol along with wrapped eosio.token calls.

@MitchPierias MitchPierias added the feature New feature or request enhancement label Sep 7, 2019
@MitchPierias MitchPierias changed the title [api] Deploy eosio system contracts [api] Asset manager Sep 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request enhancement
Projects
None yet
Development

No branches or pull requests

1 participant