Developer Docs
Recipes
Sats Connect

Usage With Sats Connect

Sats Connect V2

Coming soon!

Sats Connect V1

Sats Connect V1 (opens in a new tab) is extremely easy to use with the embedded wallet. Just pass the Bitcoin provider via the getProvider option to any of the Sats Connect's methods.

Here's an example with the getAddress method (opens in a new tab):

const provider = wallet.providers.bitcoin;
 
const getAddressOptions = {
  payload: {
    getProvider: () => provider,
    purposes: ['ordinals', 'payment'],
    message: 'Address for receiving Ordinals and payments',
    network: { type: 'Mainnet' },
  },
  onFinish: (response) => console.log(response),
  onCancel: () => alert('Request canceled'),
};
 
await getAddress(getAddressOptions);

Passkeys Developer Kit

©2024 Exodus Movement, Inc. All rights reserved.

Get access

Schedule a call with our team to get access to Passkeys