patractlabs / redspot

Redspot is an Substrate pallet-contracts (ink!) development environment. Compile your contracts and run them on a different networks. Redspot's core forks from Hardhat but changed a lot to suit substrate.
https://redspot.patract.io/
Other
67 stars 22 forks source link

[feature request] Missing deploy.ts for delegator example #100

Closed catomasa closed 3 years ago

catomasa commented 3 years ago

I'm attempting to deploy a contract with multiple parameters, which deploys another contract. The delegator contract would be a good example for me to get started, but that is missing a scripts/deploy.ts file.

atenjin commented 3 years ago

It will wait untail we re-design the template part. In new template part can support different template project instantiation and related scripts/tests.

ii-ii-ii commented 3 years ago

Yes, we will provide examples. But our examples can't cover every case. You can try to write your own code for deployment.If you encounter problems, we will provide help. For documentation, you can refer to polkadotjs and redspot's documentation, the English version of our documentation is machine translated for now and will be improved later.

ii-ii-ii commented 3 years ago

@catomasa https://github.com/patractlabs/redspot/blob/master/examples/delegator/scripts/deploy.ts This is an example of delegator deployment