ic-repl icon indicating copy to clipboard operation
ic-repl copied to clipboard

use ic-repl on staging environments

Open jake-beardo opened this issue 11 months ago • 1 comments

I need to use ic-repl with my staging environment

i thought the command would look something like this:

#!/usr/bin/ic-repl -r staging identity staging "./staging.pem"; import blah = "zzzzz-oqaaa-aaaan-ql32q-cai"; call poop.setPooWasm(file("./poo.wasm"));

and then

ic-repl -r staging local_upload.sh

because my dfx.json looks like this

"networks": { "staging": { "providers": [ "https://icp0.io/" ], "type": "persistent" },

any idea how to do this??

jake-beardo avatar Mar 11 '24 15:03 jake-beardo

ic-repl doesn't read dfx.json. Looks like your staging network still points to the mainnet, so either ic-repl -r https://icp0.io or ic-repl -r ic would work.

chenyan-dfinity avatar Mar 11 '24 18:03 chenyan-dfinity