Generating hierarchical deterministic ed25519 keys in Java/Kotlin

I am looking to generate hd keys of the ed25519 spec in java/kotlin. I am aware of libraries like stellar-hd-wallet that does the same in javascript. I am generating a new mnemonic using bitcoinj as follows val params = TestNet3Params.get() val wallet = Wallet.createDeterministic(params, Script.ScriptType.P2PKH) val seed: DeterministicSeed = wallet.keyChainSeed println(“mnemonicCode: “+ seed.mnemonicCode) I want…

gas required exceeds allowance or always failing transaction in local permissioned Node

0 I am facing the same issue but i do not have any modifiers in my contract. Even a simple setter-getter contract shows the following Error Error: gas required exceeds allowance or always failing transaction The above error is displayed when i try to estimateGas for setting a value for the string variable using setter().…

How to print the value of encoded getter functions of contract

I have encoded getter functions of my contract i.e. 0x27e235e30000000000000000000000000000000000000000000000000000000000000000. I want to print the return values of that getters. I am trying following code, which is printing receipt of my transaction, as expected. But I want to print values return by contract function. try { await web3.eth.sendTransaction( {from:account1, to:myContAddr, data: myFunc }).then(function(res){ console.log(“Normal Getter”,…