Contest dates
Warm-up period: Tuesday, February 2, 2021 12:00 AM Coordinated Universal Time → Tuesday, February 2, 2021 11:59 PM Coordinated Universal Time
Submission period: Wednesday, February 3, 2021 12:00 AM Coordinated Universal Time → Monday, March 8, 2021 11:59 PM Coordinated Universal Time
Short description
Implement Stage 2 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
- Send a simple message from FreeTON to Substrate-based blockchain
- Transferring tokens between FreeTON ↔ Polkadot chains
- Distribution of relayer responsibilities Begin the economy model implementation
- 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
- Codebase support. Optimize a TON smart-contracts codebase according to new version compiler features
- Implement VRF (verifiable random function) in relay node source code
- Depositing and issuing TIP-3 token in FreeTON network.
- Depositing and issuing token in substrate-based network
- DevOps tools. Preparing containers, configs, and scripts for bridge deploying
- 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:
- VRF (verifiable random function)
- FreeTON smart-contracts and Substrate:
- Optimized TON smart-contracts from the first stage
- Handlers of TIP-3 token depositing/issuing on FreeTON side
- Handlers of token depositing/issuing on Substrate side
- DevOps tools:
- Add 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 ……………………….140 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.