Quick Access
If you prefer to dive straight into the code:Test your program
Build valid transactions that calls your program instructions for delegation and undelegation. The complete test for this project can be found in the Typescript Test Script.These public RPC endpoints are currently free and supported for development:
Magic Router Devnet: https://devnet-router.magicblock.app
Solana Devnet: https://api.devnet.solana.com
ER Devnet: https://devnet.magicblock.app
TEE Devnet: https://tee.magicblock.app/
Find out more details here .
Magic Router Devnet: https://devnet-router.magicblock.app
Solana Devnet: https://api.devnet.solana.com
ER Devnet: https://devnet.magicblock.app
TEE Devnet: https://tee.magicblock.app/
Find out more details here .
- Connection
- Delegate
- Commit
- Undelegate
Import SDK and create Connection
Import relevant libraries@magicblock-labs/ephemeral-rollups-sdk
or @magicblock-labs/ephemeral-rollups-kit
. Initialize connection before testing and sending transactions.