Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 840 Bytes

File metadata and controls

38 lines (29 loc) · 840 Bytes

AppCoins Sample

AppCoinsSample is a sample example of the AppStoreFoundation Smart-Contracts

Requirements

brew install node
brew install npm
npm install -g truffle
npm install -g ganache-cli
  • Due to an ongoing bug on truffle node version should be <= 12.x.x

Launch a blockchain locally with ganache-cli

ganache-cli

Initialize project with truffle

truffle init

Compile

truffle compile

Deploy

truffle migrate

Run Tests

truffle test

Create Files

truffle create contract <name>
truffle create test <name>