User outputs round limit. (#241)

Implemented user outputs round limit and upgraded the contract libraries to support the configs.
This commit is contained in:
Ravin Perera
2021-02-15 14:23:47 +05:30
committed by GitHub
parent 033b5fa7bc
commit 0de7983504
8 changed files with 267 additions and 404 deletions

View File

@@ -80,7 +80,10 @@
console.log('HotPocket Connected.');
hpc.sendContractReadRequest("Hello");
hpc.sendContractInput("World!")
hpc.sendContractInput("World!").then(status => {
if (status != "ok")
console.log(status);
});
// When we need to close HP connection:
// await hpc.close();