Contest: PolkaDot↔FreeTON Bridge Implementation: Stage 3

Contest dates

  • Submission period : 6 calendar weeks after approving this proposal in the governance interface;
  • Judging period : 2 weeks after the submission period.

Short description

Implement Stage 3 of the winning architecture of the PolkaDot↔FreeTON Bridge Design and Architecture contest with the milestone “Transferring tokens between FreeTON ↔ Polkadot chains”.

Type

Chained contest

Stages

  1. Send a simple message from FreeTON to Substrate-based blockchain
  2. Transferring tokens between FreeTON ↔ Polkadot chains
  3. Distribution of relayer responsibilities Begin the economy model implementation
  4. Staking, Rewards and slashing; Run Canary Network

Motivation

A significant challenge of blockchains to date is their lack of interoperability. Once a developer builds their decentralized application on any particular platform, they’re generally locked into that platform with no opportunity to leverage any of the benefits of other blockchains.

We believe that the future of blockchain technology is to allow all major networks to interact with one another and to be able to share value and information.

Both ecosystems, Polkadot and FreeTON share these views and we want to add the possibility to interoperability through the cross-chain message passing (XCMP) protocol, thus we open up many opportunities for awesome projects in the market of DeFi.

Web3 Foundation is delivering a decentralized and fair internet where users control their own data, identity, and destiny. Building a bridge with flagship product Polkadot will allow FreeTON to reach a whole new level.

General requirements

  • Cross-chain message-passing protocol with censorship resistance
  • The protocol must have the ability to add methods of decentralized governance (proposals, voting, rewards, slashes)
  • The possibility of trustless and non-custodial transfer of value between networks
  • Open sources of documentation published at GitHub/GitLab or another open repository

Fair play

As per Procedural remarks on contests.

Evaluation criteria and winning conditions

Hard criteria

  • Distribution of relayer responsibilities
  • Commission calculation. Calculation gas amount for message without real commission payment
  • CLI tool for relayer’s keys generation
  • DevOps tools to run several relayer nodes
  • 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:
    • Generating and publication of the VRF keys for the substrate blockchain
    • Generating and publication of the FreeTON key into the smart contracts
    • Getting a relayer status
  • FreeTON smart-contracts and Substrate blockchain code:
    • FreeTON smart-contracts and Substrate pallet for distribution of relayer responsibilities.
      • On the substrate side verification VRF results
      • On the FreeTON side verification signature using native FreeTON cryptography
    • FreeTON smart-contracts and Substrate pallet for commission calculation
  • DevOps tools:
    • Update CI/CD scripts to existing deploy tools repository
  • Link to documentation at Github/Gitlab or another open repository, with the obligatory backlink to your submission in the repository’s README

Winning conditions

  • Only the winners who have obtained a prize place in the previous stage of the contest are allowed to 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.

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.

7 Likes

Stage 3 of the PolkaDot↔FreeTON Bridge Design and Architecture Implementation contest

Contacts:

  • Telegram groups RU | EN
  • Public address: 0:70a07fa3d93d0058ec85ca2a16c88cb0abc680688d850c00d3b2828d3c5070ab

Abstract

We are proud to present to you our solution for the third stage is DOTON Bridge .

DOTON Bridge is an implementation of a message-passing protocol based on ChainBridge and extended to make it possible to work with the TON chain.

In this stage, we added support for a distribution of relayer responsibilities and gas estimation

If you looking for a simple way to try bridge in action, please visit the page - Running Locally

Artifacts

Source code

Documentation

Docker images

1 Like

can I have a working example of how it works?

Yes, you can. Just follow this instruction
If you mean the public “testnet”, no, there is no test network at this stage

and when will it be?

Как вы понимаете, вы единственный участник и победитель, но от лица обычного пользователя я не вижу чем можно пользоваться.
Я не против что вы получите приз за 1, 2 и 3 место разом.
Но мне интересно будет ли хоть какой то рабочий сайт или приложение?

As you understand, you are the only participant and winner, but on behalf of an ordinary user, I do not see what can be used.
I do not mind that you will receive a prize for 1st, 2nd and 3rd place at once.
But I’m wondering if there will be at least some kind of working site or application?