Vea
Vea.ninjaGithub
  • Introduction
    • 🌉Vea
    • ❔FAQ
    • ⛓️Deployment Addresses
    • 🧠Technical Deep Dive
      • 📝Implementation Details
  • 🛠️Build Xchain dApps
    • 🤩Getting Started
    • 💡Lightbulb Demo
      • 🐣Tutorial
    • 💾Vea SDK
  • ⚙️Run a Validator
    • Getting Started
Powered by GitBook
On this page
  • User flow
  • 1. Hit The Switch (Arbitrum Goerli)
  • 2. Wait for Vea
  • 3. Wait For Relayers
  • The Final Result
Edit on GitHub
  1. Build Xchain dApps

Lightbulb Demo

https://vea-lightbulb.vercel.app/

PreviousGetting StartedNextTutorial

Last updated 1 year ago

The lightbulb demonstrates a simple dapp integrated with Vea. The switch lives on Arbitrum Goerli and the Lightbulb lives on a different chain, either Chiado or Goerli, and they communicate with Vea.

! Don't have Arbitrum Goerli eth? No problem, there's a for that.

User flow

1. Hit The Switch (Arbitrum Goerli)

2. Wait for Vea

When the Vea devnet has bridged your message, you can find your message in a recently bridged 'snapshot'.

3. Wait For Relayers

Now that the message to turn on the lightbulb is ready, we can relay it manually, or we can wait for relayers. For the demo lightbulb deployment, we have relayers setup to run 5 minutes after bridging. For your own lightbulb deployment and other Vea integrations, you will need to relay the transactions yourself.

The Final Result

The status of the Vea bridging process and whether your messages have been bridged can be tracked in . You can find the messageId associated with the switch transaction in the event log.

🛠️
💡
VeaScan
demo
Try it out
faucet
Switch Transaction event log
VeaScan successfully bridged message.