Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.22 KB

README.md

File metadata and controls

31 lines (22 loc) · 1.22 KB

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