0% found this document useful (0 votes)
595 views4 pages

Ethereum App

The document discusses setting up Rinkeby accounts and interacting with the Ethereum blockchain using Java libraries and tools. It provides steps for creating a Rinkeby account using Geth, links to tutorials on building smart contracts with Java tools like Web3j and Solidity, and discusses using services like Infura to connect to Ethereum nodes without running a local node.

Uploaded by

Jorascu Vlad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
595 views4 pages

Ethereum App

The document discusses setting up Rinkeby accounts and interacting with the Ethereum blockchain using Java libraries and tools. It provides steps for creating a Rinkeby account using Geth, links to tutorials on building smart contracts with Java tools like Web3j and Solidity, and discusses using services like Infura to connect to Ethereum nodes without running a local node.

Uploaded by

Jorascu Vlad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Experiments with candidate technologies

 Ether
 web3j libraries to generate java wrapper classes from a smart contract’s methods

The Architecture of the app (proiectarea aplicatiei)

Prelminary Prototype (demonstrand solutia conceptuala si tehnica, cu elemente originale specifice)

https://www.youtube.com/watch?v=pXRk0VnNx7o

Create a Rinkeby Account

###) Steps to create a Rinkeby Account

https://samsclass.info/141/proj/pRink.htm
geth --rinkeby

Open a new Terminal window, and execute these commands:


geth --rinkeby attach
eth.syncing

eth.accounts
personal.newAccount("P@ssw0rd")
eth.coinbase
eth.getBalance(eth.coinbase)

https://www.youtube.com/watch?v=pXRk0VnNx7o

-"0x07195e12be085a8511bc1f2f4e17a6ecbae4b9b8" | notmyrealpassword

var Web3 = require('web3');

web3 = new Web3('https://rinkeby.infura.io/v3/cefcd3fca5a04cb28b77d9f800ef9e58')

web3.eth.getBalance(address, (error, wei) => { console.log(web3.utils.fromWei(wei, 'ether')) });

web3.eth.accounts.create()

address: '0x71A69dED326819132ab6721bc639420Fc244B397',

privateKey: '0x745115b24fbaff08a50ec9ac1ca74f217fb9d7b7d4a293f832a3208876de3460',

https://twitter.com/VJorascu/status/1406240648005619720
address: '0x689a6c5b2Cc07829815AD8c38585490160441641',

privateKey: '0xbaedf31c53ed7f7c519e8b58caf389c202017c64864e5ad2f33e4c90b7e3c02e'

###)https://www.baeldung.com/smart-contracts-ethereum-solidity

Web3j can auto-generate smart contract wrapper code to deploy and interact with
smart contracts without leaving the JVM
https://trimplement.com/blog/2019/08/coding-smart-contracts-tutorial-part-ii/
We are going to use Parity as Ethereum client and Web3j java library for interaction with
Parity. 

###) Blockchain and cryptocurrencies are not the easy topics to start.
Ethereum simplifies the development of applications that use blockchain,
by providing a complete, scripting language.
https://dzone.com/articles/introduction-to-blockchain-with-java-using-ethereu-1

Introducing Infura: Connecting DApps With Ethereum Without Setting up Ethereum Nodes
https://dzone.com/articles/introducing-infura-connecting-dapps-with-ethereum

###) Ethereum Blockchain “Hello World” Smart Contract with JAVA


https://medium.com/coinmonks/ethereum-blockchain-hello-world-smart-contract-with-java-
9b6ae2961ad1
Web3j tutorial: how java and android use e-squares to develop Ethereum smart contracts
and trade
https://www.programmersought.com/article/1380222847/

###) Web3j tutorial: how java and android use e-squares to develop Ethereum smart
contracts and trade

https://www.programmersought.com/article/1380222847/

https://walkingtree.tech/deploying-a-smart-contract-in-rinkeby-using-infura/

Used Ganache for learning to program with smart contracts

---

https://medium.com/interfacing-with-a-blockchain/communicating-with-an-ethereum-smart-
contract-via-android-24ee0dd2c115

https://www.works-hub.com/learn/communicating-with-an-ethereum-smart-contract-via-android-
fab04

https://www.oreilly.com/library/view/building-games-with/9781484234921/html/
457653_1_En_11_Chapter.xhtml

Casino games aren’t a perfect fit for blockchains. The problem lies
in random-number generation. Secure RNG requires two
transactions spaced at least a minute or so apart, making anything
more than single-play games nearly impossible on-chain. 

App

You’re also able to import addresses as long as you can provide the
private key, too. 
https://hackernoon.com/crypto-wallet-vs-address-54f7fb980bd3

Resources

Infura oferă dezvoltatorilor și întreprinderilor acces simplu și fiabil la instrumentele și infrastructura


Web3. Suita API Ethereum și IPFS servește și acceptă mii de aplicații descentralizate în fiecare zi.

Vom prezenta cum să începeți cu Infura, astfel încât să vă puteți conecta la blockchain-ul Ethereum și
să începeți să construiți software minunat.

Web3j este o bibliotecă lightweight, extrem de modulară, reactivă, sigură de tip Java și Android,
pentru lucrul cu contracte inteligente și integrarea cu blockchain-urile Ethereum.

Aceasta permite dezvoltatorilor sa lucreze cu blockchain-urile Ethereum, fără cheltuielile


suplimentare de a fi nevoiti să scrie propriul cod de integrare pentru platformă. Funcționand și cu
contracte inteligente.

You might also like