Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 713 Bytes

INSTRUCTIONS.md

File metadata and controls

35 lines (22 loc) · 713 Bytes

Instructions

Additional instructions for developers.

Compiling contracts

Install solc-js globally:

npm install -g solc

Then navigate to the /contracts directory and compile contract Review.sol like this:

solcjs --bin Review.sol

Deploying contracts

Testnet

Rename .env.sample to .env and put in your Hedera testnet credentials (Account Id and Private Key). From the plugin root directory run:

node utils/deployContract.js

Mainnet

Rename .env.sample to .env and put in your Hedera mainnet credentials (Account Id and Private Key). From the plugin root directory run:

node utils/deployContract.js mainnet