We need to document the Solana raw RPC instructions that must be sent to the sidechain in order to create Devices and Tunnels. This documentation will allow contributors to interact with the smart contract directly from a custody software or other automated tooling.
Examples:
https://github.com/solana-labs/solana/blob/master/sdk/program/src/stake/instruction.rs#L40
https://github.com/gagliardetto/solana-go/blob/main/programs/stake/Withdraw.go
We have to add in comments the list of accounts that must be passed and the order:
https://github.com/malbeclabs/doublezero/blob/main/smartcontract/programs/dz-sla-program/src/instructions.rs
This is important to ensure interoperability and allow external systems to manage device and tunnel creation without relying on the CLI tools.
We need to document the Solana raw RPC instructions that must be sent to the sidechain in order to create Devices and Tunnels. This documentation will allow contributors to interact with the smart contract directly from a custody software or other automated tooling.
Examples:
https://github.com/solana-labs/solana/blob/master/sdk/program/src/stake/instruction.rs#L40
https://github.com/gagliardetto/solana-go/blob/main/programs/stake/Withdraw.go
We have to add in comments the list of accounts that must be passed and the order:
https://github.com/malbeclabs/doublezero/blob/main/smartcontract/programs/dz-sla-program/src/instructions.rs
This is important to ensure interoperability and allow external systems to manage device and tunnel creation without relying on the CLI tools.