a bug related to tx-signing was fixed in this release so version bump is pertinent to this update
bumped lndr-server version number to 1.0.0
added new private-key config parameter
made finalizeTransaction only submit raw signed txs to blockchain
can be used with INFURA or GETH or GANACHE-CLI (for testing)
changed ETHEREUM_ACCOUNT variable name to ETHEREUM_PRIVATE_KEY since the server can derive address from privkey and needs privkey to sign raw txs
removed old setEnvironmentConfig function
altered code to maintain local execution nonce after retrieving transactionCount for execution address at startup
improved error logging when sendRawTx fails
Note: we're using my branch of hs-web3 here. We'll eventually need to update to the upstream branch when my most recent changes to the library are merged
delivers #161
CHANGES:
lndr-server
version number to1.0.0
finalizeTransaction
only submit raw signed txs to blockchainsetEnvironmentConfig
functionsendRawTx
failsNote: we're using my branch of
hs-web3
here. We'll eventually need to update to the upstream branch when my most recent changes to the library are merged