Bare bones auction client. Use the AuctionFactory
to create auctions and place bids.
Start a local blockchain like Ganache. You can use Ganache CLI or the desktop client.
ganache-cli
Add an .env
file depending on which port ganache is running on and which port you want your server running on.
// .env
PORT=5000
RPC_HOST="127.0.0.1"
RPC_PORT=8545
Compile and migrate your local smart contracts.
truffle migrate --reset
Install packages and start server (I prefer using yarn)
yarn
yarn start
To add an ERC821 CryptoHill to account index 1 on ganache follow the instructions at the registry repo
After migrating the registry contracts, copy the address
for HillCore.sol
into app/ERC821Contracts/contracts/HillCore.js