inkdevhub / swanky-cli

The all-in-one developer environment for Parity pallet-contracts based smart contracts!
https://docs.astar.network/docs/build/wasm/swanky-suite/cli/
MIT License
70 stars 29 forks source link

TS scripts framework #134

Closed shunsukew closed 1 year ago

shunsukew commented 1 year ago

Each contract will have TS deployment script by default, and executable by swanky command for e.g. swanky contract (script) run.

Users can arbitrary TS scripts under scripts folder and automate deployments and other repetitive operations by writing codes.

https://github.com/AstarNetwork/swanky-cli/issues/112#issuecomment-1486075149

Similar to what truffle/hardhat has.

codespool commented 1 year ago

execa now has a scripts feature, which we can leverage for this: https://github.com/sindresorhus/execa/blob/main/docs/scripts.md

Closing this for now, and will create a new ticket with execa.