Install the extension for your browser from https://badger.bitcoin.com
Web pages must be served from an http server for Badger Wallet to inject its API for use in your app or site.
One easy to use server for local testing and development is http-server.
Use the official installer from nodejs.org. Install the one which says “Recommended for Most Users”
To install http-server:
npm install http-server -g
Clone the badger-samples repository:
git clone https://github.com/bitcoin-com/badger-samples.git
Start the http-server in the samples directory:
Navigate to http://localhost:8080/ to browse the samples