TypeError: CreateListFromArrayLike called on non-object

I have this contract and deployed it to my local client (ganache gui) and its abi.json file (of solc compiler generated). The third file is param.txt which contains encoded functions with arguments which then saved into an array and takes elements one by one . [0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,0x25468f680000000000000000000000000000000000000000000000000000000000000000,0xed2b5a3c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000] the first one is about constructor with its arguments…

Using await with web3 function calls

I have just implemented a tweak to make my asynchronous call run sequentially, however it is messy solution. I have got the following code: async function myClick() { calculateAmounts(); await resolveAfter2Seconds(); storeValues(); } This works. However, what I would really like to do is: async function myClick() { await calculateAmounts(); storeValues(); } calculateAmounts() calls several…

In LN, how could a payer prove to 3rd party that he indeedly made a payment to the payee?

For regular on-chain payments, a txid can prove at least a transferring of value indeedly happened, at a specific time, despite that it may be totally irrelevant. For example, a malicious user can send his own money to himself, to pretend that he purchased some goods from an innocent merchant. For LN off-chain payments, is…

local testnet mining error

my genesis.json file { “config”: { “chainId”: 271, “homesteadBlock”: 0, “eip155Block”: 0, “eip158Block”: 0 }, “nonce”: “0x0000000000000042”, “timestamp”: “0x00”, “parentHash”: “0x0000000000000000000000000000000000000000000000000000000000000000”, “extraData”: “0x00”, “gasLimit”: “0x800000”, “difficulty”: “0x400”, “mixhash”: “0x0000000000000000000000000000000000000000000000000000000000000000”, “coinbase”: “0x3333333333333333333333333333333333333333”, “alloc”: {} } and Before start up geth give some options /home/user/Documents/go-ethereum/build/bin/geth –nodiscover –identity “etherPrivate” –datadir data –port “30303” –rpc –rpcaddr 0.0.0.0 –rpcport “8545”…