onledger.net 14d18d3258 Update cluster.sh
The bind_mesh function is hardcoding contract.roundtime=2000 (2 seconds) into the configuration incorrectly causing a duplicate roundtime setting in the default of 1000 irrespective of what contract.roundtime=2000 or what the hp.cfg.override is set to.

It should be setting this to contract.consensus.roundtime

```
cat /var/lib/docker/volumes/hpdevkit_default_vol/_data/node1/cfg/hp.cfg | grep -A10 -B5 roundtime
    "bin_args": "index.js",
    "environment": {},
    "max_input_ledger_offset": 10,
    "consensus": {
      "mode": "public",
      "roundtime": 1000,   <--------
      "stage_slice": 25,
      "threshold": 80
    },
    "npl": {
      "mode": "private"
    },
    "round_limits": {
      "user_input_bytes": 0,
      "user_output_bytes": 0,
      "npl_output_bytes": 0,
      "proc_cpu_seconds": 0,
      "proc_mem_bytes": 0,
      "proc_ofd_count": 0,
      "exec_timeout": 300000
    },
    "roundtime": 2000   <-------
  },
  "mesh": {
    "port": 22861,
    "listen": true,
    "idle_timeout": 120000,
    "known_peers": [
      "node2:22862",
      "node3:22863"
    ],
    "msg_forwarding": true,
```
2025-06-28 11:35:51 +12:00
2025-06-28 11:35:51 +12:00
2024-01-12 11:04:16 +05:30

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

Description
Developer toolkit for Hot Pocket smart contract development.
Readme 483 KiB
Languages
JavaScript 80.8%
Shell 17.8%
Dockerfile 1.4%