Contest dates
- Warm-up period: 28-30 August 2020
- Submission period: 31 August 2020 - 20 September 2020
Short description
Develop a set of smart contracts and service tools, sufficient to perform cross-chain trades at least between the following blockchains (also known as “atomic swaps”):
- Bitcoin <> FreeTON
- Ethereum (native ETH and ERC20 tokens) <> FreeTON
Motivation
The goal is to develop an infrastructure that allows users to perform transactions between different blockchains without an escrow in an untrusted environment. This will make the exchange market around TON Crystal more secure for OTC transactions.
General requirements
- The possibility of a safe return of funds to each of the parties if the other party does not comply with the terms of the trade
- Open sources of smart contracts published at GitHub/GitLab or another open repository
- Documentation
- Name and contact information of the contestant for communication (Telegram username, e-mail)
Technical recommendations
- Using state-of-the-art tools (Fift, Truffle, Solidity, TON Labs solidity compiler)
- Automated tests
Evaluation criteria and winning conditions
Hard criteria
Functionality
- Protection from the unauthorized withdrawal of funds from published contracts
- The possibility of a safe return of funds to each of the parties if the other party does not comply with the terms of the trade
- Possibility to set a fee and target wallet for the fee collection of the organizer of the trade (broker)
Artifacts
- Link to a video demonstration (screencast) of the solution with a real exchange (TON↔BTC, TON↔ETH, TON↔ERC20 token [e.g., USDT/USDC]), links to transactions displayed in video in blockchain explorers (e.g., TON.live, Etherscan, Blockchair, etc.)
- Link to smart contracts’ sources at Github/Gitlab or another open repository, with the obligatory backlink to your submission in the repository’s README
Soft criteria
- Code quality
- Detailed deployment and usage documentation
- Detailed documentation for each part of the code
- Documentation of the trade process for all parties of the trade
Rewards
1 place…………………………200,000 TONs
2 place…………………………100,000 TONs
3 place………….………………50,000 TONs
4-10 place………………………15,000 TONs
Voting
- Jury members who vote in this contest must have a solid understanding of the technology. Those jurors who do not should not vote or “Abstain”.
- Jurors whose team(s) intend to participate in this contest by providing submissions lose their right to vote in this contest.
- Each juror will vote by rating each submission on a scale of 0 to 10 or can choose to reject it if it does not meet requirements, or they can choose to abstain from voting if they feel unqualified to judge.
- Jurors will provide feedback on your submissions.
- Duplicate, sub-par, incomplete or inappropriate submissions will be rejected.
The Jury
- Jury members who vote in this contest must have a solid understanding of the technology. Those jurors who do not should not vote or “Abstain”.
- Jurors whose team(s) intend to participate in this contest by providing submissions lose their right to vote in this contest.
- Each juror will vote by rating each submission on a scale of 0 to 10 or can choose to reject it if it does not meet requirements, or they can choose to abstain from voting if they feel unqualified to judge.
- Jurors will provide feedback on your submissions.
- Duplicate, sub-par, incomplete, or inappropriate submissions will be rejected.
Jury rewards
An amount equal to 5% of the sum total of all total tokens actually awarded to winners of this contest will be divided equally between all jurors who vote and provide feedback. Both voting and feedback are mandatory in order to collect this reward.
Procedural reminders to all contestants
- All submissions must be accessible for the jury to open and view, so please double-check your submission. If the submission is inaccessible or does not fit the criteria described, the submission may be rejected by jurors.
- Contestants must submit their work before the closing of the filing of applications. If not submitted on time, the submission will not count.
- All submissions must contain the contestant’s contact information, preferably a Telegram username by which jurors can verify that the submission belongs to the individual who submitted it. If not, your submission may be rejected.
- The content published in the forum and in the provided PDF file should not differ, except for formatting, otherwise, the submission may be rejected by jurors.
- If your submission has links to the work performed, the content of those links must have the contestant’s contact details, preferably a Telegram username so jurors can match it and verify who the work belongs to. If not, your submission may be rejected.
Disclaimer
Anyone can participate, but Free TON cannot distribute Tons to US citizens or US entities.