Documentation

Build with Morsel

Everything you need to integrate Morsel wallet into your app, from first connection to production-ready signing flows.

API Basics

Use wallet-standard when available. For legacy compatibility, Morsel also exposes browser namespaces used by existing Solana wallets.

Connect

const provider = window.morsel
await provider.connect()

Public Key

const pubkey = provider.publicKey
console.log(pubkey?.toBase58?.())

Sign Message

const msg = new TextEncoder().encode('hello')
const sig = await provider.signMessage(msg)