Finch Protocol - Why Bridge when you can FLY?

Project Name: Finch Protocol
Project Track: DeFi
Team Name: Finch
Team Member(s): 4
HackerEarth Project Link: Link
Project Website: Link

TLDR

We are connecting Tron to the larger crypto ecosystem by providing secure cross-chain bridging and communication to and from Tron. Anyone can use Finch’s dirty-easy API (see below) to quickly turn their regular smart contracts on Tron into super-charged cross-chain dApps. Our thesis is that this will make it easier to onboard users into Tron!

Intro

Finch is a secure interoperability layer for Web3 which allows for the decentralized transfer of arbitrary data (messages and value) across blockchain networks regardless of whether they are EVM-compatible or not. This allows Finch to provide something that very few bridges have been able to provide (EVM ↔ non-EVM as opposed to siloed EVM ↔ EVM or non-EVM ↔ non-EVM).

A network of independent validators is responsible for validating these cross-chain messages. Each validator upholds the blockchain infrastructure by running a node on Finch, which is used to sign all transactions passing through the network via Finch’s smart contracts across various blockchains. To ensure the security of the protocol, delegated staking and slashing mechanics are in place. These mechanics serve as an economic deterrent for validators against collusion.

But, Finch is not just an infrastructure platform. It acts as a framework that could potentially enable:

  • Decentralized transfers of arbitrary data and assets

  • Cross-chain interoperability of smart contracts

  • Cross-chain swaps

  • Interoperability and bridging of NFTs

… and help connect Tron to the rest of the crypto ecosystem (Ethereum, Cosmos, Solana; the possibilities are endless).

Finch ↔ Tron

While Finch is still in active development, we have built out the following products for this hackathon to showcase the endless possibilities it provides:

  • cross-chain bridge
  • cross-chain message passing
  • cross-chain interoperability of smart contracts (call arbitrary contracts on any chain from any chain)

Architecture & API

Finch employs a robust model that prioritizes security and speed when delivering cross-chain messages (data + value). We offer a dirt simple API that allows developers to simply plug and play Finch into their existing applications without any hassle.

Here’s how easy it is to send cross-chain messages with Finch see detailed example

...

function sendMessage(
    uint32 _destChainId,
    bytes32 _targetAddress,
    bytes calldata _message
) external payable {
    IFinch(finch).xsend{ value: msg.value }(
         _destChainId,
         _targetAddress,
         address(0),
         _message,
         ""
    );
}
...

Let’s break it down…


// This comprises Finch's public-facing endpoint
function xsend(
    uint32 _destChainId,       // the destination chain to send the message to
    bytes32 _destAddress,      // address of the contract to call on the destination chain
    address _refundAddress,    // excess native token is refunded to this address (TRX on Tron/BTT on BTTC)
    bytes calldata _payload,   // encoded payload to execute on `_destChainId` (if any)
    bytes calldata _callData   // extra params/configuration options
) external payable;

Finch’s Features

1. Faucet

Get some test tokens ($USDT and $USDC) to use on the app, and test out the rest of Finch’s offerings

2. Cross-chain bridge (transfer assets from Tron to other chains)

Networks supported: Tron Shasta, Goerli, BTTC Testnet

Seamlessly transfer assets from Tron to other chains and vice versa. Thanks to Finch’s cross-chain message passing, this is possible even if the chains are not EVM-compatible. Oh, and most settlements are near-instant (<1 min)!

3. Cross-chain message-passing

Networks supported: Tron Shasta, Goerli, BTTC Testnet

Seamlessly send messages from Tron to other chains and vice versa. Thanks to Finch’s unique architecture, this is possible even if the chains are not EVM-compatible. Settlements on Finch are near-instant (<1 min)!

Judging Notes

Finch is in heavy active development. We have built out the above-mentioned products for this hackathon to showcase the endless possibilities it provides, but we are not done yet. But until then, enjoy Finch!

5 Likes

why bridge when you can fly, lol that’s great. Show how we can fly too

There is a project called SUPRA, they are saying they are going to make it possible to send token from one chain to the other without bridging.

Is this the same? or

1 Like

Welcome to Grand Hackathon Season 5
First of all if am not mistaking you can’t be in two tracks with a single project, I think you have to choose and stay in Defi which is best suited your project in my own view or understanding, thank you

Welcome to Season 5, covering the web3 and DeFi track all in one is cool to me. I see you aim to connect TRON to other blockchains through secure cross-chain bridging.
Talking about bridges, are there incentives for validators and contributors to participate and contribute to the network’s growth and security?

Welcome to Tron Hackathon season 5, and I have an important questions

(1) How do you plan to scale Finch Protocol to handle a large number of transactions.

(2) What are your plans in terms of security,and how do you plan to prevent malicious actors from using Finch Protocol for fraudulent purposes.

Overall I think Finch Protocol is a very promising project with the potential to make a significant impact on the crypto space, and I am excited to see how it develops in the future.

hey there! Haven’t heard about Supra before, but it looks like they don’t have an implementation yet. Also, their proposed idea imo can’t scale very well across blockchains, so that’s an additional bottleneck. Finch on the other hand can permissionlessly scale – we can support any chain (EVM or not)

1 Like

atm, no incentives for validators (although this is still in the works). In terms of security with validators potentially sending fraudulent cross-chain messages, we’ve baked slashing mechanisms into the protocol to negatively reward malicious validators

thanks for the great feedback. To answer your questions:

  • we can scale. Very well. We don’t have any bottlenecks in our system unlike other implementations. Also, we can support any network (EVM or not), so this lets us enable dApps to inject liquidity into Tron from other networks

  • In terms of security with validators potentially sending fraudulent cross-chain messages, we’ve baked slashing mechanisms into the protocol to negatively reward malicious validators

Got that loud and clear, thanks for replying.

alright let’s see how it goes… all the best

Where is your TRX or BTT smartcontract? :thinking:

Sure. We have a bunch of different contracts deployed:

bttc_testnet": {
“tokens”: {
“wETH”: “0xDa28129Cc9d09D13b9437e59F5D7E73CdBC64594”,
“USDC”: “0x52c8924148A8F765EF192Da49D4cf8Fa5BB90A0f”,
“USDT”: “0x76f46b5F687701f9F5896f391eA92cbdED9deAFD”
},
“finch”: “0x56229a8B628A70Ddcb3e45559FB1EF634585D41d”,
“mailbox”: “0xebf05E25e1e7A33b0155733c9bde0C445722BAB1”,
“faucet”: “0x575994A9459D9114758e50b16FA2702685CE690E”,
“bridge”: “0xC48B54B67D5BB52907F955a45d145F9A8bc68e4F”,
},
“tron_testnet_shasta”: {
“tokens”: {
“wETH”: “TGx2HFdHTyh1yMaknoAk3qToocrsmtJG5M”,
“USDC”: “TWoY8wAvrVjEFZQSjNcCSaMf6qjUH3MPPp”,
“USDT”: “TBC96Nbrz9SnhWbDvxZGQMpt61FvLUwdWi”
},
“finch”: “TATUvqzArEtRbtmqH82VrwP9VwzYGfMSod”,
“mailbox”: “TWjvmHx8S1bRYMH5zpkiHBccjHuqRD57PC”,
“bridge”: “TGwdkEfXpLHi2EHY21Zs2tN74CvkKAJ5m2”
}

Thanks however looking those contracts up on Tronscan it say all are inactive. Which contracts are working atm and generate any volume?

they absolutely are! Have you tried Shasta tronscan (https://shasta.tronscan.org/)? As an example: TRONSCAN | TRON BlockChain Explorer | 波场区块链浏览器

I can only see 1 transaction… how does this contribute to the Tron ecosystem?