back to section

FreeTON Swap Implementation Stage 1 Proposal Written on . Posted in Free TON Governance. ↑ Hide description

FreeTON Swap Implementation Stage 1 Proposal

Contest date: May 24 - June 13, 2021, 23:59 UTC

Description: #169 Contest: Dune->FreeTON Swap Implementation Stage 1 Proposal.pdf

#169 Contest: Dune->FreeTON Swap Implementation Stage 1 Proposal

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 1 of the Dune → FreeTON Swap Architecture contest 3 with the milestone “Initial Implementation”.

Type

Chained contest

Stages

  1. Initial implementation (relays and smart contracts), testing on testnet and mainnet

  2. 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 4.

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 4.

This contest is judged by the Jury of DeFi Subgovernance.

Jury rewards

As per Procedural remarks on contests 4.

Governance rewards

As per Procedural remarks on contests 4.

Procedural reminders to all contestants

As per Procedural remarks on contests 4.

Winners works:

Added 1 submission(s)
1

0

Submission 1

9.2

0:60a7 • 00:58:36 • Jun 14, 2021


User messages:

Added 1 comment(s)
ttt 3 months ago

Submission period : 3 calendar weeks after approving this proposal in the governance interface;

Replies