Skip to content

wgcisotto/sm-crowdsale

Repository files navigation

Crowdsale Smart Contract

Crowdsale is a process through which investors fund a Dapp by buying tokens issued by the organization that’s developing it.

Depending on the amount of money you contributed and whether the project was successful, you might have been given an early version of the gadget, or you might have been given a considerable discount on the final official price of the product. (reward-based crowdfunding)

Lately, a new crowdfunding scheme called crowdsale has emerged, mainly geared toward the funding of startup companies. Rather than being given a discounted product or service in recognition for your early contribution, you’re offered some equity in the venture, generally in the form of a monetary token similar to SimpleCoin, whose value the organizers can set before the sale starts. Often, the token or coin crowdsale is called an initial coin offering (ICO)

Interaction with the code

  1. Install the dependencies, you may use either yarn or npm
  2. Compile the Smart Contract
  3. Run the tests and see the results
  4. Check the coverage

Interation with the Smart Contract

To see the currently available tasks run yarn hardhat or npx hardhat

#TODO: create the tasks to iteract with the smart contract


Note: You can use either yarn or npm

Install dependencies

yarn install || npm install

Compile

yarn hardhat compile || npx hardhat compile

Tests

yarn hardhat test || npx hardhat test

Coverage

yarn hardhat coverage || npx hardhat coverage

Missing things to add to the implementation

  • USDC token used should be upgradable.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published