For the complete documentation index, see llms.txt. This page is also available as Markdown.

Importing the Retroshades SDK

Before starting to emit your retroshades, you need to import the Retroshades SDK within your Cargo.toml definition. The SDK will help you define the custom host-functions that are used in the Retroshades-SVM fork, and derive default emit methods for your Retroshade structures.

[features]
mercury = ["dep:retroshade-sdk"]

[dependencies]
retroshade-sdk = { version = "0.1.0", optional = true }

Also make sure to clone the mercury-cli repo that will be used to interact with Retroshades

git clone https://github.com/xycloo/mercury-cli
cd mercury-cli
cargo build --release

Last updated