# WalletConnect to Iron Fish Node App

**URL:** <https://discourse.ironfish.network/t/walletconnect-to-iron-fish-node-app/58>\
**Category:** Networking layer\
**Created:** [July 26, 2023, 12:20pm UTC](https://discourse.ironfish.network/t/walletconnect-to-iron-fish-node-app/58 "2023-07-26T12:20:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![fishguy](https://avatars.discourse-cdn.com/v4/letter/f/edb3f5/32.png) [@fishguy](https://discourse.ironfish.network/u/fishguy)\
**Post date:** [July 26, 2023, 12:20pm UTC](https://discourse.ironfish.network/t/walletconnect-to-iron-fish-node-app/58/1 "2023-07-26T12:20:19Z")

</div>

First we need password protection on Node App, this proposal based on this assumption.

## Goal

Support wallet connect from website(like dapp on eth) to Iron Fish Node App via local network rpc call.

## How this works

- `walletConnect` rpc call to get a random generated auth token, which expired in 30 mins. This rpc call needs to be approved by typing password
- read based rpc call like `getBalances` with auth token can be handled on Node App silently
- write based rpc call like `sendTransaction` with auth token needs to be approved (password) on Node App side

---

<div class="post-metadata">

**Author:** ![Mjk79](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.ironfish.network/mjk79/32/21_2.png) [@Mjk79](https://discourse.ironfish.network/u/Mjk79)\
**Post date:** [July 27, 2023, 2:53am UTC](https://discourse.ironfish.network/t/walletconnect-to-iron-fish-node-app/58/2 "2023-07-27T02:53:04Z")

</div>

I support this. Not having a password on the node to is send funds is straight up irresponsible.

---

<div class="post-metadata">

**Author:** ![jasoniflabs](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.ironfish.network/jasoniflabs/32/11_2.png) [@jasoniflabs](https://discourse.ironfish.network/u/jasoniflabs)\
**Post date:** [July 27, 2023, 9:32pm UTC](https://discourse.ironfish.network/t/walletconnect-to-iron-fish-node-app/58/3 "2023-07-27T21:32:03Z")

</div>

Wouldn’t it be better to have an extension based wallet that contains your encrypted and passworded keys? Similar to meta mask? Then when you need to gossip transactions it’ll send it to a cloud based node or a node on your computer. I think most solutions don’t rely on a wallet inside of your actual node.

As for password support, we do have an internal spec for this already the feature just hasn’t been picked up by any team yet. We can work on publishing the spec if someone wants to pick it up and continue iterating on the spec.

---

<div class="post-metadata">

**Author:** ![fishguy](https://avatars.discourse-cdn.com/v4/letter/f/edb3f5/32.png) [@fishguy](https://discourse.ironfish.network/u/fishguy)\
**Post date:** [July 28, 2023, 12:27am UTC](https://discourse.ironfish.network/t/walletconnect-to-iron-fish-node-app/58/4 "2023-07-28T00:27:40Z")

</div>

Sure that extension based wallet is better. But we don’t have a wasm based sdk( at least to create wallet and create transaction part), which makes it hard to setup an extension wallet.

---

<div class="post-metadata">

**Author:** ![jasoniflabs](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.ironfish.network/jasoniflabs/32/11_2.png) [@jasoniflabs](https://discourse.ironfish.network/u/jasoniflabs)\
**Post date:** [August 1, 2023, 4:51am UTC](https://discourse.ironfish.network/t/walletconnect-to-iron-fish-node-app/58/5 "2023-08-01T04:51:20Z")

</div>

We did used to have a WASM SDK, but we deleted it in favor of nodeJS target for performance reasons. It can be brought back in the future when someone is willing to put time into supportin git.

---

<div class="post-metadata">

**Author:** ![mhluongo](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.ironfish.network/mhluongo/32/12_2.png) [@mhluongo](https://discourse.ironfish.network/u/mhluongo)\
**Post date:** [August 9, 2023, 6:48pm UTC](https://discourse.ironfish.network/t/walletconnect-to-iron-fish-node-app/58/6 "2023-08-09T18:48:04Z")

</div>

Resident non-IF wallet dev here! I think the most important thing is to come up with a solid spec for integrating Iron Fish into a dApp, otherwise we land on a de facto spec like `window.ethereum` did with MetaMask.

If there’s a good spec, extension wallets, mobile, and desktop can all implement 🤝

Can confirm we’d be interested in supporting Iron Fish on [Taho](https://taho.xyz), especially once there are live bridging options.
