Closed glihm closed 10 months ago
For this endpoint to be available, solis must be run with --dev
argument.
cargo run -p solis -- --messaging ./crates/solis/messaging.local.json --dev
Then you can curl like this:
curl -X POST \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":"1","method":"katana_setSolisAddresses","params":{"addresses": {"orderbook_arkchain":"0x1234", "executor_starknet":0x8888}}}' \
http://localhost:7777
Amazing thanks @glihm
i would add a secret from the env, so we can use that outside of dev env with a basic auth ie
Description
Add support for new endpoints on Katana to set addresses for Solis.