Inspiration
The project was inspired by Gravity bridge probably the 1st ever working peg-zone, and the project bifrost aims to connect tezos to cosmos realm
What it does
The project aims at creating a bridge to exchange tezos from tezos-blockchain to cosmos blockchain
How we built it
The project was built using
a) Starport
b) Golang
c) Tezos smart contract language smartpy
Challenges we ran into
There were many challenges
a) learning smartpy and some tezos specifics.
b) creating a signature that is compatible with check_signature of smartpy or michelson. It is still unsuccessful, the checking of signature and transporting is easy part whereas generating a signature compatible with smartpy check_signature is tough as go-tezos seems like generating a different signature then the one that is generated using make_signature of smartpy
c) Building the relayer using rpc because tezos-rpc seems to be tougher.
Accomplishments that we're proud of
a) Built a transferring mechanism for cosmos-token --> tezos FA12 token without signature verification.
b) Built a transferring mechanism for tezos ---> cosmos
c) bash scripts to automate tedious tasks
What we learned
a) Learnt about validating mechanics using cosmos-sdk
b) Using go routines in relayer for continuous watching
c) Revision of bash scripting after a while for automation
d) Learnt more about cosmos-sdk functionalities
e) Learnt the message interface of cosmos-sdk
What's next for bifrost
a) Implementing signature verification system from cosmos --> tezos
b) Generating a easy to use front-end for tezos-cosmos
c) Including finality thereshold on tezos-cosmos side.
d) Improving the relayer to use rpc or rest api
Log in or sign up for Devpost to join the conversation.