TL;DR - Replicated Ethereum Blockchain. Running Local Node. Connecting Local Node to Web3.js in browser using RPC. Want to create addresses & send transactions
Details -
I have a blockchain that is forked from Ethereum. Thus all its functionalities are almost similar if not same. Before building a wallet for my blockchain, I'm trying to develop a wallet for Ethereum that works in the browser using web3.js. I am not well versed with Node.js and hence want to use the browser version of web3.js
Having imported web3.js (version 0.20.6) from web3.min.js, I can view the web3 object in the console window. I can even use various functions such as web3.sha3
and web3.isConnected.
I can view the web3.personal.newAccounts()
function and when I use it as web3.personal.newAccounts("passphrase"), it returns personal_newAccounts
function is not available/does not exist
On trying to use web3.eth.accounts.create()
, it tells me this function does not exist as the version I'm using is 0.x and version 1 stable release is not out yet.
How can I create addresses for my private blockchain local node and if possible send transactions using web3.js browser.