Following the previous architecture contest: Contest: Dune → FreeTON Swap Architecture - #2 by cryonyx
Contest dates
Submission period : 3 calendar weeks after approving this proposal in the governance interface;
Judging period : 1 calendar week after the submission period.
Short description
Implement Stage 1 of the winning architecture of the Dune → FreeTON Swap Architecture contest with the milestone “Initial Implementation”.
Type
Chained contest
Stages
- Initial implementation (relays and smart contracts), testing on testnet and mainnet
- Relays Deployment and Merge Execution
Motivation
Merge with the Dune Network blockchain and its community in order to increase the
resources and joint development of the Free TON community.
The FreeTON part of the relay should be as generic as possible to be reused for following merges with other protocols.
General requirements
- Cross-chain passing of swap orders from Dune to FreeTON with censorship resistance
- The protocol must have protections against a minority of byzantin relays
- The possibility of trustless and non-custodial transfer of value between networks
- Code and documentation should be published in open-source at GitHub/GitLab or another open repository
Fair play
As per Procedural remarks on contests.
Evaluation criteria and winning conditions
Hard criteria
- Implementation of smart contracts
- Implementation of relay nodes
- Implementation of user interfaces
- Documentation. Detailed structured documentation for development tools and step-by-step examples to prove deliverables of this stage
Soft criteria
- Detailed and easily understandable charts explaining the architecture and business processes
- Brevity
- Mostly everyday English to facilitate understanding
- Readiness to participate in the implementation of the solution in the next stage
Artifacts
- Relay node source code:
- Watching the Dune Network for new swap orders to update DB
- Watching the DB to propagate swap orders to FreeTON, confirm them, reveal the keys if known, or cancel them if expired
- Watching the FreeTON network for revelations to update DB
- Watching the DB to propagate revelations to Dune Network
- Getting a relayer status
- FreeTON and Dune Network smart-contracts
- Web Interface for Dune holders to create swaps
- Link to documentation at Github/Gitlab or another open repository, with the obligatory backlink to your submission in the repository’s README
Winning conditions
- Anybody can participate
- To apply for the next stage of the competition, you need:
- take a prize in one of the first three places
- score at least 5 points in the voting from the jury
Rewards
1 place …120 000 TON
2 place …90 000 TON
3 place …50 000 TON
Procedural remarks to jurors
As per Procedural remarks on contests.
This contest is judged by the Jury of DeFi Subgovernance.
Jury rewards
As per Procedural remarks on contests.
Governance rewards
As per Procedural remarks on contests.
Procedural reminders to all contestants
As per Procedural remarks on contests.