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.
Remember to set the dependency as optional and under a special compile flag. No Retroshade code should be actually deployed on chain. In this example, we define this compile flag as the mercury flag.
Don't forget to also install the latest version of the mercury-cli:
Last updated