区块链-公链java合约对接以太坊(ETH)web3j

以太坊(ETH):

以太坊创始人被人称为V神(Vitalik Buterin)。曾经在知乎上有一个问题是列举当今世上一个人的能力抵得上成百上千人的大神,回复里一个说了中本聪,一个就说了Vitalik Buterin。天才V神创造的以太坊,继承了比特币时代的区块链,开启了区块链时代的2.0。

比特币可以说只适合加密货币场景,而以太坊可以解释为区块链+智能合约。具备图灵完备性,支持智能合约。开创了一种可以实现各种商业与非商业环境下的复杂逻辑,隐藏了底层技术的复杂性而让应用开发者更多地专注在应用逻辑及商业逻辑上。

以太坊虽然交易越来越拥堵,但其在平台的价格已经节节攀升,一万大关也已经突破。未来即使以太坊拥堵问题无法解决,其投资价格也不会低。

以太坊的不足之处在于其扩展性较差,和比特币一样遭受着每个交易都需要网络中的每个节点处理这一困境的折磨。2000tps的交易就可能导致以太坊链上存储快速增长而拥堵。随着应用接入更多,后期可能将更加拥堵。好在以太坊全节点只需存储状态而不是完整的区块链。

区块链公链java合约对接以太坊(ETH)web3j

Web3j是一个用于连接以太坊节点的客户端开发库(Corda和Pantheon都是完整的区块链节点实现)。

其他java开源区块链项目见:
https://mp.weixin.qq.com/s?__biz=MzI3MDAxODk0Ng==&mid=2650016729&idx=1&sn=a4f4582b35d4b1a60476219aaf1d9660&chksm=f2d7db34c5a052228f3dec5b5e3b35029faca59eea0c32813bd3a2c0909cf556239f51981bd0&mpshare=1&scene=1&srcid=0629rY5fcetVvUk1WsAIlBgh&sharer_sharetime=1593397657089&sharer_shareid=bc33ae10fe40ed04af3d3bb1b8ff5f90&key=52b61fccce975ce590b859f5c8724361b0b7658783c4ad6ec0b5a049cd73ff68c86643fcd163b11e13c0efb8dde2d2c27dcad3899618e92b3f1bad5578c74f0fcf5f3bdc2e545ab98f2cfae8a09a376f&ascene=1&uin=NzcwNjA2MDAx&devicetype=Windows+10+x64&version=6209007b&lang=zh_CN&exportkey=A%2FTxj5u3zLdF7psH28j0qhU%3D&pass_ticket=Zmfa3D0S2XmFC7kgFbSYbcI%2FfCji0iGMtBzDC6MdtgVv1qb5SBB%2B22LbBMULJsB9

java语言使用web3j连接以太坊

官方文档

https://github.com/web3j/web3j

https://github.com/ethjava/web3j-doc-zh

https://www.web3labs.com/epirus

https://ethereum.org/zh/java/

开发ide

https://remix.ethereum.org/

博客和教程

http://xc.hubwiz.com/course/5b2b6e82c02e6b6a59171de2

https://blog.csdn.net/u011181222

https://blog.csdn.net/u011181222/article/details/81263615

https://docs.web3j.io/getting_started/

https://blog.csdn.net/xxxslinyue/article/details/79134516

https://github.com/jsphLim/ViolationSystem

https://cloud.tencent.com/developer/article/1328296

https://segmentfault.com/a/1190000015313584

https://github.com/2722119447/ethereum-java-web3j

自学资料

https://testerhome.com/topics/14670

springboot+web3j开发实例

http://www.spring4all.com/article/1337

https://aijishu.com/a/1060000000013106

https://github.com/nschapeler/JavaToken

https://github.com/piomin/sample-spring-blockchain

https://dzone.com/articles/introduction-to-blockchain-with-java-using-ethereu-1

https://github.com/piomin/sample-spring-blockchain-contract

https://dzone.com/articles/intro-to-blockchain-with-ethereum-web3j-and-spring

https://www.baeldung.com/web3j

https://github.com/eugenp/tutorials/tree/master/ethereum/src/main/java/com/baeldung/web3j

https://github.com/Sgitario/blockchain-spring-boot-tutorial

https://sgitario.github.io/blockchain-using-java/

https://medium.com/@saffyA/creating-your-first-quorum-blockchain-dapp-in-java-spring-boot-5e66dd6bc7f5

参考地址

https://www.okex.com/academy/zh/%E5%A4%B8%E5%85%8B%E5%8C%BA%E5%9D%97%E9%93%BE%EF%BC%88qki%EF%BC%89%E5%92%8C%E4%BB%A5%E5%A4%AA%E5%9D%8A%EF%BC%88eth%EF%BC%89%E8%BF%99%E4%B8%A4%E6%9D%A1%E5%85%AC%E9%93%BE%EF%BC%8C%E8%BF%90%E7%94%A8

-------------本文结束-------------
0%