Implement Wallet Standard in your wallet for experimental purpose only.
This example is A. If you have API, check at solana-labs/wallet-standard - WALLET.md.
A. Write a wallet with a Wallet Standard compatible API.
B. Wrap your existing API with a Wallet Standard compatible API.
We don't use Extension(e.g. Chrome Extension) to keep things simple and easy to understand.
Check your Wallet at Web(localhost).
You browser will register your wallet when you start web server.
registerWallet(new SolanaWallet());
% npm i
% npm run dev