Sidekick Example: Connecting to wallet

Page variables

  1. Wallet Address:
  2. SpendTx Base58:

1. Detect wallet

not detected



2. Connect to wallet

not connected



3. Get the wallet address

not addressed



4. Sign a transaction

4.1 Transaction info (information needed from you)

  1. Source address (step 3):
  2. Target address:
  3. Amount (aettos):
  4. Network: (FIXME: radio buttons)

4.2 Form transaction (using parasite)

This uses a shim JavaScript library called parasite to form the transaction data for the wallet to sign. In a commercial application, this should be done by your backend

SpendTx JS object


SpendTx Base58


4.3 Sign the transaction (sidekick)

Result:


4.4 Propagate the transaction (parasite)

4.5 Verify the transaction was propagated (parasite)