sovrin Indy agent running in a browser
in theory, any browser which supports the IndexedDB API
we have tested
- Chrome version 77
consider these three possible ways to install a browser agent
- use this download page and click on the link for
spa.html
- open downloaded
spa.html#agent
in a supported browser - when prompted, give your local agent a label (e.g. your name)
pre-requisite is that you have those programs installed on your device
- in a folder of your choice do
git clone https://github.com/b1conrad/browser-agent.git
- change to the installed folder (i.e.
cd browser-agent
) - install dependencies (i.e.
npm install
) - run a localhost server (on port
1800
pronounced "one eight hundred") with commandnode app.js
- open
localhost:1800
in a supported browser - when prompted, give your local agent a label (e.g. your name)
- https://b1conrad.github.io/browser-agent/spa.html#agent
- when prompted, give your local agent a label (e.g. your name)
see cleanup instructions below when you have tried it out
otherwise, your local Pico Agent will be able to send outbound agent-to-agent messages, but won't be able to receive any such messages
ask to use our routing agent "Faythe" (email message to [email protected])
or
set up your own, by
- installing and running a pico-engine (in the cloud somewhere) and registering the rulesets listed at the G2S project (note that you won't need to set up an agency)
- creating a Pico Agent with the
org.sovrin.router
ruleset installed in it - giving it a channel named "router_request" with type "well_known"
once you have access to a routing agent, you'll be able to configure the inbound router in your local Pico Agent using
- for "router host" the web address of the cloud-based pico-engine hosting your router pico
- for "router request eci" the id of the well_known/router_request channel of your router pico
- for "router label" the name of the router pico
while viewing a browser agent which you no longer wish to use you can release the storage space it has encumbered
- open developer tools
- select the Application tab
- open the arrow beside IndexedDB
- click on
level-js-pico-engine
- click the button Delete database
- confirm
- repeat steps 4-6 for
level-js-pico-engine-ruleset-cache