Skip to content

FriendsFingers/friendsfingers-smartcontracts

Repository files navigation

FriendsFingers Smart Contracts

Build Status Coverage Status

The source code for FriendsFingers Smart Contracts.

Live here https://www.friendsfingers.com

FriendsFingers helps startups and small businesses to start a trustworthy Crowdsale on Ethereum blockchain with no setup costs and zero lines of code required.

Installation

Install Truffle and dependencies

npm install -g truffle     // Version 4.0.6+ required.
npm install -g solc        // Version 0.4.19+ required
npm install

Start Truffle

truffle develop

Compile and migrate

inside truffle develop

compile 
migrate

Test

inside truffle develop

test

View test results

Optional

Flattener

Install the alcuadrado/truffle-flattener

npm install truffle-flattener -g

Usage

truffle-flattener contracts/FriendsFingersBuilder.sol >> dist/FriendsFingersBuilder.sol
truffle-flattener contracts/crowdsale/FriendsFingersCrowdsale.sol >> dist/FriendsFingersCrowdsale.sol
truffle-flattener contracts/token/FriendsFingersToken.sol >> dist/FriendsFingersToken.sol  

Linter

Install the Solium linter

npm install -g solium

Usage

solium -d contracts

Helpful Links

Solidity Doc GitHub

Truffle Doc GitHub

OpenZeppelin Doc GitHub

Web3.js Doc GitHub

Bugs and Issues

Have a bug? Open a new issue.

Copyright and License

Copyright 2018 FriendsFingers. Code released under the MIT license.