Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
const DappAuth = require('@dapperlabs/dappauth');

const dappAuth = new DappAuth(new Web3.providers.HttpProvider('http://localhost:8545'));

//To use a node provider, like Alchemy (www.alchemyapi.io), do the following:
//const dappAuth = new DappAuth(new Web3("https://eth-mainnet.alchemyapi.io/v2/your-api-key"));

async function debug() {
const challenge = 'foo';
Expand Down