0

I want to deploy my contract on Rococo contract test net. Apart from polkadot.js/apps, do we have any other way to upload and then instantiate the contract?

My goal is to create a script for the contract deployment for the provided network configurations.

2 Answers 2

2

Yes. You can use cargo contract to interact with a chain. It supports the full range of interactions: upload, instantiate, call. Use the --url option to point it to your testnet.

1
  • if it is possible, can you share automated script for upload and instantiate? Oct 10, 2022 at 9:59
2

Swanky suite does exactly that. You can scaffold, compile, and deploy the contract to the network you specify. Still under heavy development, but all of the above is usable already.

(I am on the team that's working on it)

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.