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

Substrate: Integrate cargo contract extrinsic tooling into solang #1061

Open
xermicus opened this issue Nov 8, 2022 · 0 comments
Open

Substrate: Integrate cargo contract extrinsic tooling into solang #1061

xermicus opened this issue Nov 8, 2022 · 0 comments
Labels
enhancement New feature or request polkadot Concerns the Polkadot target

Comments

@xermicus
Copy link
Contributor

xermicus commented Nov 8, 2022

cargo contract offers some handy tools for uploading, instantiating and calling a contract after successful compilation. For development and testing purposes, this CLI interface is way more efficient and convenient than using the web UIs all the time. The issue right now is that it only works for ink! contracts which come with an according Cargo.toml metadata manifest. Additionally, it would be nice to have that directly available in solang. To make this work:

  • Factor the relevant parts from cargo contract into a re-usable crate
  • Extend the solang CLI to mimic the following subcommands of cargo contract:
    • upload
    • instantiate
    • call
@xermicus xermicus added polkadot Concerns the Polkadot target enhancement New feature or request labels Nov 8, 2022
@xermicus xermicus changed the title Substrate: Integrate cargo contract call extrinsic tooling into solang Substrate: Integrate cargo contract extrinsic tooling into solang Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request polkadot Concerns the Polkadot target
Projects
None yet
Development

No branches or pull requests

1 participant