From 0257e32508f87adbfbc88b92ddfe323622ee382c Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Mon, 2 Dec 2024 17:07:31 -0800 Subject: [PATCH] Add block pow to test webpage. --- test.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/test.html b/test.html index 91262c1..6d46a69 100644 --- a/test.html +++ b/test.html @@ -26,6 +26,17 @@ console.log(blakeAccount.privateKey) console.log(blakeAccount.publicKey) console.log(blakeAccount.address) + + console.log('pow') + const receive = new libnemo.ReceiveBlock( + 'nano_1xmastiputrdrhnf35jdh4yj1q339tyuk86w3k6oy5knede8zfowpa1rgjpn', + '0', + 'FB0D886948EF4BBC410C0C64C16291E31AB360BEB21B338988A6C37D89C24362', + '10000000000000000000000000000', + 'nano_3rw4un6ys57hrb39sy1qx8qy5wukst1iiponztrz9qiz6qqa55kxzx4491or', + 'B320F9AD2C3341E0FA6EFAF093C2D618036D10DB800F14830A928A44B8DD265C') + let w = await receive.pow() + console.log(`pow done: ${w}`) -- 2.34.1