The Social Impact Token (SI Token) is used for payment flows (including investment, allocation, interest and payouts). SI Token is an ERC20 token on the Ethereum Blockchain, programmed in Solidity. All interactions with SI Token can be done through SI platform (frontend). Since the token was implemented according to the ERC20 standard, the basic functions (e.g. sending and receiving) can also be performed via any ERC20-enabled wallet.
If you find any vulnerability, bug, or you want a feature added, feel free to submit an issue at Github Issues
- Make sure you have NPM version 6 or later and NodeJS v8.9.4 or later installed.
- Open terminal
- Clone the repo:
git clone https://github.com/Social-Impact-Network/Token.git
. - Move to the dictory by running
cd Token
- Run
npm install -g truffle
to install Truffle Suite. - Run
npm install
to install node packages. - Set up your own personal Ethereum-Virtual-Machine based Blockchain. Check out this Quickstart
- Run
truffle migrate --network development
to deploy the Smart Contract in you personal Blockchain. - You can interact with the Smart Contract by setting up the Frontend or directly via Web3 client (e.g. ethers.js or web3.js.
- Make sure you have NPM version 6 or later and NodeJS v8.9.4 or later installed.
- Open terminal
- Clone the repo:
git clone https://github.com/Social-Impact-Network/Token.git
. - Move to the dictory by running
cd Token
- Run
npm install -g truffle
to install Truffle Suite. - Run
npm install
to install node packages. - Edit the values
MNENOMIC
(wallet seed phrase) andINFURA_API_KEY
(check this Infura - Getting Started) in the file .env.example and rename it to .env. - Edit the file
/migrations/2_migration_token.js
to customize the parameter of the Token deployment. - Run
truffle migrate --network mainnet
to deploy the Smart Contract to the Ethereum mainnet network. - You can interact with the Smart Contract by setting up the Frontend or directly via Web3 client (e.g. ethers.js or web3.js the.
truffle exec ./testscripts/script_tokensale.js --network development
This script initiates 4 transaction from investors to buy Token.
truffle exec ./testscripts/script_release_funds.js --network development
This script initiates the transaction to release the raised funds to the benficiary.
truffle exec ./testscripts/script_payment.js –network development
This script initiates a loan payment transaction from beneficiary to Smart Contract.
truffle exec ./testscripts/script_claim_dividends.js --network development
This script initiates 4 transactions from investors to claim the payment.