thencc / algonautjs

A front end friendly Algorand utility
MIT License
10 stars 1 forks source link

add docs for connecting to a local inkey-wallet url #79

Open spencercap opened 1 year ago

spencercap commented 1 year ago

on init:

const algonaut = new Algonaut({
    libConfig: {
        disableLogs: false
    },
    initWallets: {
        inkey: {
            config: {
                // src: `https://inkey-staging.web.app?wood=1`,
                src: 'http://localhost:5200?wood=1',
                // src: `http://192.168.1.6:5200?wood=1`,
            }
        }
    }
});

on connect:

const accts = await algonaut.connect({
    inkey: {
        config: {
            src: 'http://localhost:5200?wood=1',
        }
    }
});
spencercap commented 1 year ago