Skip to main content

BaseWalletAdapter

Abstract base class for creating custom wallet adapters.

Required Properties

string
required
Wallet name
string
required
Wallet website
string
Wallet icon URL

Required Methods

() => Promise<void>
Connect to the wallet
() => Promise<void>
Disconnect from the wallet
(tx: Transaction) => Promise<Transaction>
Sign a transaction
(txs: Transaction[]) => Promise<Transaction[]>
Sign multiple transactions
(msg: Uint8Array) => Promise<Uint8Array>
Sign a message