View Code? Open in Web Editor
NEW
dApp store website on Ethereum based blockchain
HTML 2.26%
JavaScript 73.81%
TypeScript 3.95%
Less 2.73%
CSS 12.04%
Solidity 5.21%
dhub-store's Introduction
dApp Store on Ethereum blockchain
- 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 contract
cd truffle && truffle test
: exucute unit tests for smart contract (with Ganache turned on)
dhub-store's People
Contributors
Watchers