Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paulhauner/token-syndicate
Ethereum Solidity contract providing incentivised group token purchases.
https://github.com/paulhauner/token-syndicate
erc20 ethereum solidity solidity-contracts truffle truffle-framework
Last synced: 21 days ago
JSON representation
Ethereum Solidity contract providing incentivised group token purchases.
- Host: GitHub
- URL: https://github.com/paulhauner/token-syndicate
- Owner: paulhauner
- License: mit
- Created: 2017-07-20T22:51:03.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-29T00:15:51.000Z (over 7 years ago)
- Last Synced: 2024-11-19T07:33:13.596Z (3 months ago)
- Topics: erc20, ethereum, solidity, solidity-contracts, truffle, truffle-framework
- Language: JavaScript
- Size: 29.3 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Token Syndicate
Provides a pre-purchase contract for Ethereum tokens (ie, ERC20).
Prior to the start phase of the target token sale contract, users provide Ether to the syndicate contract. Thier Ether is then split into a 'token' portion and a 'bounty' portion.
Once the target token sale has started, any Ethereum user can call the `buyTokens()` function on the syndicate which will trigger the token purcase from the target token sale contract into the account of the token syndicate contract. Whichever user successfully calls the `buyTokens()` function will be rewarded with the total bounty portion of Ether.
The tokens owned by the token syndicate will be distributed fairly to the users which invested in the contract.
## Environment
This contract was developed in a truffle environment
## Tests
Run `$ truffle test`