mfactory-lab / solana-mobile-capacitor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

solana-mobile-capacitor

connect to native solana wallets

Install

npm install solana-mobile-capacitor
npx cap sync

API

startSession(...)

startSession(config?: Readonly<{ baseUri?: string | undefined; }> | undefined) => Promise<void>
Param Type
config Readonly<{ baseUri?: string; }>

invoke(...)

invoke(options: { method: string; params: any; }) => Promise<void>
Param Type
options { method: string; params: any; }

endSession()

endSession() => Promise<void>

Type Aliases

WalletAssociationConfig

Readonly<{ baseUri?: string; }>

Readonly

Make all properties in T readonly

{ readonly [P in keyof T]: T[P]; }

About


Languages

Language:TypeScript 46.0%Language:Kotlin 34.1%Language:Swift 7.3%Language:Java 5.4%Language:Ruby 4.3%Language:Objective-C 2.9%