Deploying to Mercury Retroshades
Compiling with the Mercury flag
Before delpoying to the Retroshades network, you need to build the binary that holds retroshades logic:
cargo build --release --target wasm32-unknown-unknown --features mercuryDeploying
From the the mercury-cli directory:
./target/release/mercury-cli --base https://mainnet.mercurydata.app/rest \
--jwt "$JWT" \
deploy \
--project example-retroshade \
--code-path ../retroshades-data-directory/hello_world/target/wasm32-unknown-unknown/release/soroban_hello_world_contract.wasm \
--contracts 'HERE THE CONTRACT ON TESTNET THAT THE RETROSHADE SHOULD EMULATE'
Your jwt token will be provided for the moment by the Mercury team. Make sure to change the endpoint if you're on testnet.
The retroshade smart contract will be executed in real time when --contracts are executed too. You can target one or more smart contract for a single retroshade contract.
Catchups
The team is actively working on the feature.
Last updated