Switchboard on Starknet
Push on Starknet
Starknet currently supports the Switchboard pusher contract.
A library for interacting with switchboard smart contracts written in Cairo for Starknet, a decentralized ZK Rollup.
Warning This repo contains experimental code. It hasn't been audited. Use at your own risk.
Usage
Prepare the environment
Simply install Cairo and scarb.
Set up your project
Create a new project and cd
into it.
The contents of my_project
should look like this:
Using Switchboard Push Receiver
The Switchboard Push Receiver is deployed at: 0x02b5ebc4a7149600ca4890102bdb6b7d6daac2fbb9d9ccd01f7198ca29107ec4
Open src/lib.cairo
and write your contract.
The easiest way to use Switchboard on Starknet is to use the following simple interface:
For more information on using this please see the javascript and Cairo SDKs below
Last updated