Skip to content

Latest commit

 

History

History
66 lines (39 loc) · 1.92 KB

README.md

File metadata and controls

66 lines (39 loc) · 1.92 KB

STOKR Smart contracts

Abstract

STOKR is as crowd-investing platform based on smart contracts on the Ethereum blockchain. On STOKR many projects will be deployed with the same smart contract structure (see project manager). There will be a shared whitelist for all projects on STOKR. Each project has its own ERC20 Token and its Crowdsale contract instance. The token contract is able to distribute profits generated by the projects to the token holders.

License

The STOKR Frameowork is as crowd-investing platform based on smart contracts on the Ethereum blockchain
Copyright (C) 2019  Lukas Cremer, Gèrard Baecker

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

STOKR S.A, at 9, rue du Laboratoire, L-1911 Luxembourg, [email protected]

Setting Up

  • Clone this repository.

    • git clone https://github.com/stokr-io/stokr-smart-contracts
  • Install dependencies.

    • npm install
  • Compile contract code.

    • ./node_modules/.bin/truffle compile

Running tests

  • You first have to start the Ganache client

    • ./node_modules/.bin/ganache-cli --gasLimit 8000000

    • Then run ./node_modules/.bin/truffle test

  • For test coverage run ./node_modules/.bin/truffle run coverage