I'm generating a wallet address and keys with http://moneroaddress.org. But how can I create, sign and send transactions with NodeJS from this cold wallet?
monero-wallet-rpc requires a wallet file to operate on. Therefore, if you only have the keys, you will first need to restore a wallet file from your keys, which can be done using the
monero-wallet-cli --generate-from-keys my_wallet
This will prompt you for your address and keys then save the new wallet file as
You can then proceed to opening the wallet file you just created with the RPC:
monero-wallet-rpc --wallet-file my_wallet --rpc-bind-port 18084 ...
All the RPC commands are just HTTP POST calls, no special libraries are needed.