Skip to content

kaizokulabs/l2-messaging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

L2 Messaging

Danger

The contracts in this repository are highly experimental, be careful when deploying them!

This repository is intended to create a base messaging layer between L1 <> L2 and L2 <> L2, based on each L2 messaging mechanism.

How to test it?

./scripts/l2-messaging run-all

# L1 > L2 messaging
# ./scripts/l2-messaging send-l2 {l2_addr} {l2_selector} {args}
./scripts/l2-messaging send-l2 0x06cbdfb07ce00b58fed3df6eafa8dae46e12908468a7fe9bf8b53614cbcda1d5 0x23ffd27e2c6df33c582785543c1f8b1b3ecf520dea0b4cf6e3168bfce0b58f8 1 2

# L2 > L1 messaging
# TODO (working, not arbitrary): ./scripts/l2-messaging send-l1
./scripts/l2-messaging send-l1

You can also check the logs with: docker compose logs -f l2_messaging_{eth, stark}

Credits

About

Base messaging layer for L1 <> L2 and L2 <> L2

Resources

License

Stars

Watchers

Forks

Releases

No releases published