# Run dfx wallet --network ic balance prompt no Wasm module

**URL:** <https://forum.dfinity.org/t/run-dfx-wallet-network-ic-balance-prompt-no-wasm-module/7333>\
**Category:** Command Line Tools\
**Created:** [September 17, 2021, 10:37am UTC](https://forum.dfinity.org/t/run-dfx-wallet-network-ic-balance-prompt-no-wasm-module/7333 "2021-09-17T10:37:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![HelloRickey](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/hellorickey/32/2020_2.png) [@HelloRickey](https://forum.dfinity.org/u/HelloRickey)\
**Post date:** [September 17, 2021, 10:37am UTC](https://forum.dfinity.org/t/run-dfx-wallet-network-ic-balance-prompt-no-wasm-module/7333/1 "2021-09-17T10:37:06Z")

</div>

Hi guys, I am trying to deploy canister, I use the following steps

1. I created a canister using [Internet Computer Content Validation Bootstrap](https://nns.ic0.app/#/) and recharged cycle.
2. Run the `dfx identity get-principal` command, then I added my identity to the canister, update the controller.
3. `dfx identity --network ic set-wallet <my canister id>`
4. When I run `dfx wallet --network ic balance`  
Prompt me the following error  
The Replica returned an error: code 3, message: “IC0304: Attempt to execute a message on canister which contains no Wasm module”

Is there any solution？

---

<div class="post-metadata">

**Author:** ![cryptoschindler](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/cryptoschindler/32/26_2.png) [@cryptoschindler](https://forum.dfinity.org/u/cryptoschindler)\
**Post date:** [September 20, 2021, 12:08pm UTC](https://forum.dfinity.org/t/run-dfx-wallet-network-ic-balance-prompt-no-wasm-module/7333/2 "2021-09-20T12:08:01Z")

</div>

Try

```auto
dfx identity --network ic deploy-wallet <wallet_canister_id>

```

After that

```auto
dfx wallet --network ic balance

```

should work as intended.

---

<div class="post-metadata">

**Author:** ![rusty.scrivens](https://avatars.discourse-cdn.com/v4/letter/r/a587f6/32.png) [@rusty.scrivens](https://forum.dfinity.org/u/rusty.scrivens)\
**Post date:** [February 19, 2022, 12:12am UTC](https://forum.dfinity.org/t/run-dfx-wallet-network-ic-balance-prompt-no-wasm-module/7333/3 "2022-02-19T00:12:05Z")

</div>

I’m running into this same issue getting my first wallet setup. I tried the deploy-wallet suggestion, but I get:

The wallet canister “\<wallet\_canister\_id\>” already exists for user “default” on “ic” network.

Any other thoughts on how to get my wallet working? Is there a different way I should be creating my wallet?

---

<div class="post-metadata">

**Author:** ![3cL1p5e7](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/3cl1p5e7/32/4649_2.png) [@3cL1p5e7](https://forum.dfinity.org/u/3cL1p5e7)\
**Post date:** [February 19, 2022, 3:07pm UTC](https://forum.dfinity.org/t/run-dfx-wallet-network-ic-balance-prompt-no-wasm-module/7333/4 "2022-02-19T15:07:39Z")

</div>

Try to create new identity with custom name and run deploy wallet to IC as stated above

---

<div class="post-metadata">

**Author:** ![rusty.scrivens](https://avatars.discourse-cdn.com/v4/letter/r/a587f6/32.png) [@rusty.scrivens](https://forum.dfinity.org/u/rusty.scrivens)\
**Post date:** [February 20, 2022, 8:43pm UTC](https://forum.dfinity.org/t/run-dfx-wallet-network-ic-balance-prompt-no-wasm-module/7333/5 "2022-02-20T20:43:17Z")

</div>

thanks for the reply, before I saw your message, I was able to create a new identity with custom name deploy my static site to the canister using no-wallet option. But now the canister has cycles (from my nns account) on it but no wallet.

I was going to try the deploy-wallet command again with the new identity as suggested but will that effect the site I now have deployed to the canister. Can the canister that I deployed my site to also be my wallet canister?
