Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 818 Bytes

README.md

File metadata and controls

48 lines (32 loc) · 818 Bytes

registry

Registry for tokenized artworks

Getting started

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=7000
RPC_HOST="127.0.0.1"
RPC_PORT=8545

Install packages

yarn install

Note:

Ensure your truffle version is by running solcjs --version:

Truffle v4.0.6 (core: 4.0.6)
Solidity v0.4.19 (solc-js)

Compile and migrate your local smart contracts.

truffle migrate --reset

To add an ERC821 CryptoHill to account index 1 run:

node script.js