Example Applications

Demo 3Box APIs and plugins


Try 3Box SDK: with our example app

One great way to see how the 3Box SDK works is to play with our example application.

You can quickly run and interact with some code by looking at the files in the example folder in the 3Box.js Github Repo. You run the example with the following command:

$ npm ci
$ npm run example:start

This runs a simple server at http://localhost:30000/ that serves the static example/index.html file. This allows it easily interact with the MetaMask web3 provider. You can edit the example/index.html file to try different code.