Profiles
Wallets
You must save this identifier as it is the single identifier for accessing all functionality of a wallet
Accessing a profile’s wallet and signer
profileWallet.ts
import { StardustCustodialSDK } from '@stardust-gg/stardust-custodial-sdk';
const STARDUST_API_KEY = 'your-api-key';
const sdk = new StardustCustodialSDK(apiKey);
const profile = await sdk.getProfile(profileId);
const { wallet } = profile;
// Get Ethers V5 Signer
const signer = wallet.ethers.v5.getSigner().connect(provider);
The StardustWallet object is your entry point to obtaining the signers required for your application.
For more information on which signers are supported, click on Signers
on the left hand side
Was this page helpful?