Skip to content

FriendsFingers/shaka-collectible

Repository files navigation

Shaka Collectible

Build Status Coverage Status

An ERC721 NFT Token that represents a Collectible Shaka.

You can view the DApp working here and explore the DApp Source Code here.

Installation

Install truffle.

npm install -g truffle      // Version 4.1.13+ required.

Install dependencies

npm install

Linter

Use Solium

npm run lint:sol

Lint and fix all

npm run lint:all:fix

Compile and test the contracts.

Open the Truffle console

truffle develop

Compile

compile 

Test

test

Run server

Run the liteserver development server for front-end hot reloading. For now, smart contract changes must be manually recompiled and migrated.

npm run dev

Optional

Install the truffle-flattener

npm install -g truffle-flattener

Usage

truffle-flattener contracts/token/ShakaCollectible.sol >> dist/ShakaCollectible.sol

Links

Solidity Doc Github

OpenZeppelin Doc Github

Truffle Doc Github

Web3.js Doc 0.20.6 Doc 1.0.* Github