- Install Metamask browser extension
- Create 3 accounts into your wallet (for user, developer and admin account)
- Get some ETH testnet token from Goerli testnet network to all 3 accounts (for transaction fee and using dApp fee)
- Define your own environment variables:
cp .env.dist .env
- Get
private key
of the admin account and save it to.env
file - Save admin account address to
ADMIN_ADDRESS
in.env
file - Deploy DHub smart contract to Goerli network by running
cd truffle && node script/deploy.js
- Save the logged result into
DHUB_ADDRESS
in.env
file - Create an account and API key on NFT Storage, save it to
.env
file - start the application in development mode:
yarn && yarn start
cd truffle && truffle compile
: compile smart contractcd truffle && truffle test
: exucute unit tests for smart contract (with Ganache turned on)