3.1.0 • Published 3 years ago

ico-maker v3.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

ICO Maker

NPM Package CI Coverage Status MIT licensed

Smart Contracts to build your Crowdsale solution

Install

npm install ico-maker

Usage

BaseCrowdsale.sol

BaseCrowdsale is an extensible Crowdsale contract with Timed and Capped behaviours.

pragma solidity ^0.7.0;

import "ico-maker/contracts/crowdsale/BaseCrowdsale.sol";

contract MyCrowdsale is BaseCrowdsale {
    constructor(
        uint256 rate,
        address payable wallet,
        IERC20 token
    ) BaseCrowdsale(rate, wallet, token) {}
}

Development

Install dependencies

npm install

Usage (using Truffle)

Open the Truffle console

npm run truffle:console

Compile

npm run truffle:compile

Test

npm run truffle:test

Usage (using Hardhat)

Open the Hardhat console

npm run hardhat:console

Compile

npm run hardhat:compile

Test

npm run hardhat:test

Code Coverage

npm run hardhat:coverage

Linter

Use Solhint

npm run lint:sol

Use ESLint

npm run lint:js

Use ESLint and fix

npm run lint:fix

License

Code released under the MIT License.

3.1.0

3 years ago

3.0.0

3 years ago

2.5.0

4 years ago

2.4.2

4 years ago

2.4.1

4 years ago

2.4.0

4 years ago

2.3.4

4 years ago

2.3.3

5 years ago

2.3.2

5 years ago

2.3.1

5 years ago

2.3.0

5 years ago

2.2.3

5 years ago

2.2.2

5 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

0.2.0

5 years ago

1.0.0

5 years ago

0.1.0

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago