connect to native solana wallets
npm install solana-mobile-capacitor
npx cap sync
startSession(config?: Readonly<{ baseUri?: string | undefined; }> | undefined) => Promise<void>
Param | Type |
---|---|
config |
Readonly<{ baseUri?: string; }> |
invoke(options: { method: string; params: any; }) => Promise<void>
Param | Type |
---|---|
options |
{ method: string; params: any; } |
endSession() => Promise<void>
Readonly<{ baseUri?: string; }>
Make all properties in T readonly
{
readonly [P in keyof T]: T[P];
}