A tool for fast contract deployment on SCDO
- Download solc.js (choose the version you need) and put it in solc directory
- Install Node (for older versions of solc.js, you may need an older version of Node)
- Put all the contracts under a directory (it is ok to have subdirectories)
- Modify parameters in driver.js
- Run
node driver.js
Complie the contracts if skipCompile = false
Deploy the contracts to SCDO mainnet if skipDeploy false
Leave it empty for the first time. If you have deployed some of the contracts and know their addresses, then you can put the information in the addressbook.
Only used when the contract has a constructor that requires parameters
The tx template that you will use for each tx. Note that the AccountNonce and Payload fields will be modified at runtime.
The private key of the sender
The node ip and port where you want to send tx
The directory where the contracts are located
The version of solc
The interval between sending two consecutive transactions