I have been requested to create a demo for sending transactions using Ethereum and nodeJS, I am new to this cryptocoins world so I have some doubts:
I need to do transactions without using contracts. Most information I have found uses contracts. is that possible?
So far I have found web3js library to connect to a local node:
var web3 = require('web3'); var w3 = new web3(new web3.providers.HttpProvider("http://localhost:8545"));
I Also have found previous questions with examples to sendTransactions but they use Contracts:
https://ethereum.stackexchange.com/questions/25839/how-to-make-transactions-using-private-key-in-web3
I need to estimate the fee to for the transaction. When working with Bitcoins, there were pages like: https://bitcoinfees.earn.com/api/v1/fees/recommended which give you a price per byte, then you got the amount of utxos to cover the transaction and used that for getting the transaction size which multiplied by the fee per byte gave you the estimated fee.
I read in ethereum you use a different currency for transactions than for fees (ether and gas) how to I calculate it? is there an api?
Thanks in advance for your help.