Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 1.46 KB

README.md

File metadata and controls

51 lines (33 loc) · 1.46 KB

HotPocket developer kit

This is the source repository of developer kit for HotPocket smart contract development. This toolkit makes use of Docker and NodeJS to provide a cross-platform HotPocket development tool for developers. Using the HotPocket developer kit, developers can spin-up local HotPocket clusters on their development machines and test HotPocket smart contracts.

We use Docker containers to run HotPocket and smart contracts in a Linux environment. We also use Docker containers and NodeJS for tooling so developers can use the tools on any platform as long as they install Docker and NodeJS.

image

Public documentation

https://github.com/EvernodeXRPL/evernode-sdk/blob/main/hpdevkit/index.md

Prerequisites

Docker build

Docker image containing cluster management shell scripts.

cd docker
docker build -t evernode/hpdevkit .
docker push evernode/hpdevkit

Run

docker run -it --rm --mount type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock evernode/hpdevkit cluster create 2

hpdevkit npm build

hpdevkit is a cross-platform CLI tool distributed via NPM.

# local build
cd npm
npm install
npm run build

# publish to npm
npm login
npm run publish

NPM package

https://www.npmjs.com/package/hpdevkit