/vanillajs-wallet-connection

Ever wanted to know how to connect/disconnect/auto-connect and perform RPC requests with pure JavaScript?

Primary LanguageJavaScript

VanillaJS Wallet Connection

Ever wanted to know how to connect/disconnect/auto-connect and perform RPC requests with pure JavaScript?

This project demonstrates all this and more and was built in tandem with the article Use VanillaJS To Connect To MetaMask, Read From A Contract, & Write To A Contract.

VanillaJS Wallet Connection Screenshot

Demo

Want to see how this work?

Repl.it VanillaJS Wallet Connection Demo

Requirements

  • nvm or node v18.12.1
  • pnpm v7.15.0

Getting Started

Install dependencies:

pnpm install;

Start server:

pnpm run dev;

Built By

@codingwithmanny

License

MIT