WEB3 Javascriptðappapi
In order for your application to work on the etheric square, you can use the objects provided by the Web3.js library WEB3. At the bottom, it communicates with the local node through RPC calls. The web3.js works with any of the etheric square nodes that expose RPC layers.
WEB3 contains ETH objects-Web3.eth (dedicated to the Ethernet block chain interaction) and Shh objects-web3.shh (for whisper interaction). Over time, we'll introduce other objects for other WEB3 protocols. A working example can be found here.
If you want to use Web3.js to view some of the more complex examples, check out these useful application patterns.
Refer to the page that you think your friend is translating
http://blog.csdn.net/qq_28114645/article/details/78802176
The English recommendations refer to the following two addresses:
1, Https://ethereum.gitbooks.io/frontier-guide/content/web3.html#web3versionapi
2, Https://github.com/ethereum/wiki/wiki/JavaScript-API#web3ethcontract
In our development, play a certain role in helping.