<p><code>walletId</code> is an identification of a wallet within PAB, so there is no way to provide it with an id outside the system.</p>
<p>To list you current wallets, run:</p>
<pre><code>&gt; curl -H &quot;content-type: application/json&quot; -XPOST \
  -d @testnet/restore-wallet.json \
  localhost:8090/v2/wallets
</code></pre>

CC BY-SA 4.0
2022-12-06T21:48:56.533Z
2022-12-06T21:48:56.533Z
Marek Mahut - StakeNuts
<p>I am runnin a PAB server in mainnet but now I am struggling to run it with a external wallet (Nami)</p>
<p>I start the instance of the SC with the following command</p>
<p><code>curl --location --request POST 'http://localhost:9080/api/contract/activate' \ --header 'Content-Type: application/json' \ --data-raw '{ &quot;caID&quot;: &quot;nameOfContract&quot;, &quot;caWallet&quot;:{&quot;getWalletId&quot;:&quot;WhereDoIGetThis?&quot;} }'</code></p>
<p>How do I get the walletId of an external Wallet?</p>

<plutus><pab>
How to start a instance of a SC with PAB and Nami wallet?
# How to start a instance of a SC with PAB and Nami wallet?

(Asked by: username_0 on 2022-02-24)

I am runnin a PAB server in mainnet but now I am struggling to run it with a external wallet (Nami)

I start the instance of the SC with the following command

`curl --location --request POST 'http://localhost:9080/api/contract/activate' \ --header 'Content-Type: application/json' \ --data-raw '{ "caID": "nameOfContract", "caWallet":{"getWalletId":"WhereDoIGetThis?"} }'`

How do I get the walletId of an external Wallet?

**Tags:** plutus, pab

---

## 1 answers

### Answer by username_1 on 2022-12-06. Score: 1

walletId is an identification of a wallet within PAB, so there is no way to provide it with an id outside the system.
To list you current wallets, run:
> curl -H "content-type: application/json" -XPOST \
  -d @testnet/restore-wallet.json \
  localhost:8090/v2/wallets


---

