Standalone Delegation
You can easily integrate beacon into your website, even if it's just a simple landing page or wordpress site.
Below is an example of a very simple page that adds a "delegate" button that establishes a Beacon connection and then sends a delegation request to the wallet.
To try this example, you can copy and paste the following snippet into a local file called index.html
and open it in the browser.
Browser Extensions
Browser Extensions don't work if the index.html
file is opened directly. Instead, you have to start a small webserver.
You can do this with python: python -m SimpleHTTPServer 8080