Skip to content

A smart contract running on NEAR that conducts a token sale

License

Notifications You must be signed in to change notification settings

Learn-NEAR-Club/token-sale

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Token Sale

This is a smart contract running on NEAR Protocol. It could be used to run a token sale.

Sale rules

  • There are 2 periods: Sale and Grace.
  • In Sale period: users can deposit and withdraw.
  • In Grace period: users can only withdraw.
  • At any point of time, the price is calculated by the total deposit divided by the total number of tokens for sale.
  • After the grace period ends, the sale finishes and the price is finalized.
  • At that point, tokens are allocated to users based on their deposit. Users can redeem to their wallets.

About

A smart contract running on NEAR that conducts a token sale

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 87.0%
  • JavaScript 13.0%