Truffle Deployment Guide
Environment Setup
0. Check whether you Mac has Homebrew installed:
If the command fails, then install Homebrew:
Install node.js and npm.
MacOS:
Ubuntu:
2. Install Truffle
3. Install OpenZeppelin contracts. At the root of this project.
Compile and Migrate
Replace the
mnemonic
variable content with YOUR secret words intruffle.js
. (NOTE: your secret words should be held privately in your wallet)
2. Compile the contract
3. Deployment
Deploy the contract to the BSC testnet
OR, deploy the contract to the BSC mainnet
4. From the output of the above command, find the address of the RazeETH
contract, suppose it is:
0x05149A02DC230588964Dd6D6F196eF38d523c0Fa
Update the Javascript code with the above address in src/razeClient.js
Last updated