How to log in to the wallet using a locally registered partyId?

I referred to the documentation link Docker-Compose Based Deployment of a Local Network — Splice documentation and set up a localnet node on my local computer. Then, using the default wallet information from Docker-Compose Based Deployment of a Local Network — Splice documentation , I logged in to http://wallet.localhost:2000/ and found that I could log in successfully, and I could successfully obtain test coins by clicking the tap button. Then, I wrote a Node.js script to register the partyId locally in three steps:

  1. sdk.userLedger?.generateExternalParty

  2. signTransactionHash

  3. sdk.userLedger?.allocateExternalParty

However, I seem unable to log in to the wallet locally at http://wallet.localhost:2000/ using my registered partyId. Could you please tell me how to log in to the wallet using a locally registered partyId?

The splice wallet UI only works for internal parties. For external parties there is not yet any ready-made UI. So you need to use the wallet SDK to query for transactions and your balance.

Hi Cocreature! thank you very much! Could you tell me how to use the wallet SDK to query for transactions and balance? Is there any node.js demo?Looking forward to it with great anticipation. Thank you very much.

hey stanley i would suggest reading through the integration guide if you are going to use the wallet SDK, it has a lot of easy to copy paste snippets:

here is for how to read utxos (sum of all your utxos is your balance):