TypeScript-Cachecash is a web application to demonstrate different usages of CacheCash.
Go to Go-Cachecash and follow the README to set up Go-Cachecash.
git clone git@github.com:cachecashproject/typescript-cachecash.git
Please make sure you have installed Node.js, llvm, rustup, wasm-pack
You should already have Go-cachecash tested at this point
Build the latest docker image by:
docker build -t typescript-cachecash .
First go to go-cachecash folder, start the containers:
docker-compose up -d
Then go back to typescript folder and start the typescript container:
docker run -p 127.0.0.1:1234:1234 --name typescript-cachecash-daemon -t typescript-cachecash
Then you can check out the sites to explore what cachecash can do:
Cachecash basic functionalities:
127.0.0.1:1234/demo/basic
Watch a video served by caches:
127.0.0.1:1234/demo/pigduckbunny
Download a file served by caches:
127.0.0.1:1234/demo/html5-download