Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 788 Bytes

README.md

File metadata and controls

56 lines (36 loc) · 788 Bytes

MetaversusContracts

Development for METAVERSUS

Development

Setup

Make sure these tools are installed

  • nodejs
  • npm

Build and Test

Install dependencies

cmd$> npm install

Run local network

cmd$> npx hardhat node

Compile contracts

cmd$> npx hardhat compile

Deploy contracts (default is local network hardhat)

cmd$> npx hardhat run scripts/deploy.js --network <your-network>

Run all javascript tests

cmd$> npx hardhat test

Run specified javascript test or specified network (default is local network hardhat)

cmd$> npx hardhat test <test-file-path> --network <your-network>

Run solhint

cmd$> npx solhint --formatter table 'contracts/**/*.sol'