4

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?

1 Answer 1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.