For developers
Two ways to connect your dApp to Morsel — pick the one that fits your stack.
Recommended
Morsel Wallet Connect
The fastest way to connect your dApp to Morsel, Phantom, and every wallet-standard wallet on Cookie Chain and Solana. One package, all wallets.
npm
npm install @morsel/wallet-connectConnect Wallet ✕
Morsel Installed
Phantom
Brave
+ More wallets
Legacy
Wallet Adapter
Direct access via window.morsel, window.cookie, and window.solana. Full control for custom integrations and legacy dApps.
npm
npm install @morsel/adapterRead the docs →
adapter.js
// Auto-detect via wallet-standard import { getWallets } from '@wallet-standard/app'; const morsel = getWallets() .get() .find(w => w.name === 'Morsel'); // Or legacy namespaces const provider = window.morsel; await provider.connect(); const pk = provider.publicKey;
Having questions?
Feel free to reach us!
Trusted by
Cookie Chain
ecosystem
Cookie Chain
ecosystem
CookieSwap
CookieScan
CookOven
GorBoy
Gort Knox