Setting up local BTC environment errors

It’s pretty common to have rust canisters be too big. There’s a few things you can try. Probably easiest is cargo install ic-wasm, which will try to remove unused code from the wasm before uploading. Next is to gzip the wasm before uploading it. This requires a custom build script and you should be able to find more info about it in this or this thread.