|xx| x| ~
|xx| ~ |x|
|xx| ~ |x|
|xx| |x| If you ever use this code,
============|===============|===-- please, star this repo!
~~~~~|xx|~~~~~~~~~~~~~|x|~~~ ~~ ~ ~ ~~~ ~~ ~~~~ ~ ~~~ ~ ~~~ ~~~ ~~
This code is the improved version of capebridge's smart contracts. This project was built for the hackathon, and due to strict time constraints during the hackathon we built it for, the initial implementation lacks everything besides the basic functionality. That's why after the hackathon, I began rewriting the contracts as a learning exercise.
Two smart contracts that can operate between any EVM-compatible L1 and L2 networks. They work with existing tokens and does not use any minting or burning mechanics, that produces smth often called "wrapped tokens".
The communication between contracts on different networks is up to a network of off-chain nodes. You can find them in original hackathon repo. There, it is built on Golang language, however, you can build your own version on any language - just make it run in docker container and make sure you understand that for mainnet version you will need independent operators network.
Note # 1: Most of NatSpec comments in the code were written by the ai agents.
Note # 2: only up to 5% of code were written by the ai agents, and even this small contribution was carefully verified.
Note # 3: do use this code for production before you conduct extra security checks.