0.1.0 • Published 4 years ago

nuggets-credits v0.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

Nuggets credits

Manage Nuggets credits and NUGG tokens

Install and test

# Clone the repository
git clone git@github.com:appliedblockchain/nuggets-credits.git
cd nuggets-credits

# Use the right node version
nvm use

# Install the project dependencies
npm install

# Compile the contracts
npm run contracts:compile

# Run the unit tests
npm test

# Start the API and specify a registry contract address
CONTRACT_REGISTRY=0x94F4389cc942995c2C55086B2AB6a2cd9347D34b npm start

# Now you should be able to access the server via the port 3001
# The health check endpoint will available on http://localhost:3001/health/check