Update chain_client.js

This commit is contained in:
supertestnet authored and GitHub committed 2025-12-22 17:12:06 +00:00
1 parent de0141988a
commit 82b140e69d
1 file changed
+2 -2
+2 -2
View File
@@ -4,8 +4,8 @@
var chain_client = {
connection_info: null,
most_recent_fulfilled_command: null,
// base_url: `https://supertestnet.github.io/testnet_generator/`,
base_url: `file:///home/supertestnet/bitcoin_projects/testnet_generator/testnet_generator.html`,
base_url: `https://supertestnet.github.io/testnet_generator/`,
// base_url: `file:///home/supertestnet/bitcoin_projects/testnet_generator/testnet_generator.html`,
main_connection: null,
getPrivkey: () => window.crypto.getRandomValues( new Uint8Array( 32 ) ).toHex(),
getPubkey: privkey => nobleSecp256k1.getPublicKey( privkey, true ).substring( 2 ),