Skip to content

Latest commit

 

History

History

Examples

Examples can be made with

make example1

etc.

example1.html       Briefest example, in-browser, in-memory storage

example2.html       Interactive example, input fields, integrity

example3.html       Example 2 without pot-web.js for more control

example4.html       Example 1 but using synchronous functions

example5.html       Example 1 but connected to a local Swarm network

example6.html       Demonstrating the behavior of the save reference

example7.js         Example 1 but running in the terminal with node.js

example8.js         Example 2 but as a single-page node.js web server

example9.js         Example 8 but connected to a local Swarm network

example10.js        Demonstration of request canceling

example11.js        Demonstration of error handling

Check out the extensive description of examples in the manual.