after having installed dependencies :
- install yarn running commant
yarn install
- run command
yarn test
- If its not done yet, install truffle globally on your system, run
npm install -g truffle
in a terminal - Create or update the
.env
file at the root of the project with the following environnement variables :OWNER
: the public adress of the contract ownerDEPLOY_ETHERLAND_ERC721
: a boolean to allow the deployment flow, set totrue
if you allow deployment orfalse
otherwiseMNEMONIC
: seed words separated with a spaceINFURA_KEY
: goto https://infura.io to get an access key
- Open a terminal at root and run :
- for Rinkeby : truffle deploy --network rinkeby
- for Mainnet : truffle deploy --network live
- npm : 5.6.0
run
npm install -g npm@5.6.0
- node : 8.11.2
run
nvm use 8.11.2
contact: support@etherland.io