web3-demo / sparkso-token

ERC20 Sparkso

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Actions Status code style: prettier license

Sparkso ICO contract

Overview

Fork Token vesting contracts to build ICO mechanism for Sparkso project.

TokenVesting contract can release its token balance gradually like a typical vesting scheme, with a cliff and vesting period. Optionally revocable by the owner.

SparksoToken contract is a simple ERC20 with fixed supply.

SparksoICO contract encapsulate TokenVesting contract to build a four stages timed crowdsale with different rates and bonuses at each stages.

πŸ”πŸ’» Security audits

πŸ“¦ Installation

$ yarn

⛏️ Compile

$ yarn compile

This task will compile all smart contracts in the contracts directory. ABI files will be automatically exported in build/abi directory.

πŸ“š Documentation

Documentation is auto-generated after each build in docs directory.

The generated output is a static website containing smart contract documentation.

🌑️ Testing

$ yarn test

πŸ“Š Code coverage

$ yarn coverage

The report will be printed in the console and a static website containing full report will be generated in coverage directory.

✨ Code style

$ yarn prettier

πŸ±β€πŸ’» Verify & Publish contract source code

$ npx hardhat  verify --network mainnet $CONTRACT_ADDRESS $CONSTRUCTOR_ARGUMENTS

πŸ“„ License

Sparkso ICO contracts is released under the Apache-2.0.

About

ERC20 Sparkso

License:Apache License 2.0


Languages

Language:JavaScript 50.4%Language:Solidity 49.3%Language:Shell 0.3%