All Projects → web3j → Sample Project Gradle

web3j / Sample Project Gradle

Sample web3j project using Gradle

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Sample Project Gradle

Pantheon
An enterprise-grade Java-based, Apache 2.0 licensed Ethereum client
Stars: ✭ 383 (+81.52%)
Mutual labels:  blockchain, ethereum, gradle
Ultimateicocalendar
The ICO calendar to end all ICO calendars
Stars: ✭ 183 (-13.27%)
Mutual labels:  blockchain, ethereum
Blockchainwallet Crypto
比特币、以太坊公私钥生成以及签名,长时间不维护可移步 https://github.com/QuincySx/ChainWallet
Stars: ✭ 183 (-13.27%)
Mutual labels:  blockchain, ethereum
Learning Blockchain
Tidy up Blockchain ecosystem and tutorial
Stars: ✭ 188 (-10.9%)
Mutual labels:  blockchain, ethereum
Ethermint
Ethermint is a scalable and interoperable Ethereum, built on Proof-of-Stake with fast-finality using the Cosmos SDK.
Stars: ✭ 207 (-1.9%)
Mutual labels:  blockchain, ethereum
Go Ethereum Hdwallet
Ethereum HD Wallet derivations in Go (golang)
Stars: ✭ 178 (-15.64%)
Mutual labels:  blockchain, ethereum
Blockchain Security Contacts
Directory of security contacts for blockchain companies
Stars: ✭ 186 (-11.85%)
Mutual labels:  blockchain, ethereum
Eevm
Enclave ready EVM (eEVM) is an open-source, standalone, embeddable, C++ implementation of the Ethereum Virtual Machine.
Stars: ✭ 175 (-17.06%)
Mutual labels:  blockchain, ethereum
Ethwallet
A ethereum wallet like imToken
Stars: ✭ 190 (-9.95%)
Mutual labels:  blockchain, ethereum
Loom Js
JS library for building browser apps & NodeJS services that interact with Loom DAppChains
Stars: ✭ 189 (-10.43%)
Mutual labels:  blockchain, ethereum
Arc
Arc is an operating system for DAOs.
Stars: ✭ 190 (-9.95%)
Mutual labels:  blockchain, ethereum
Cointop
A fast and lightweight interactive terminal based UI application for tracking cryptocurrencies 🚀
Stars: ✭ 2,912 (+1280.09%)
Mutual labels:  blockchain, ethereum
Ethereum Graph Debugger
Ethereum solidity graph plain debugger. To have the whole picture when debugging.
Stars: ✭ 177 (-16.11%)
Mutual labels:  blockchain, ethereum
Unstoppable Wallet Ios
A secure and decentralized Bitcoin and other cryptocurrency wallet for iPhone. Supports Bitcoin, Ethereum, EOS, Binance Chain, Bitcoin Cash, DASH, ...
Stars: ✭ 180 (-14.69%)
Mutual labels:  blockchain, ethereum
Pando
A distributed remote protocol for git based on IPFS, ethereum and aragonOS
Stars: ✭ 177 (-16.11%)
Mutual labels:  blockchain, ethereum
Armors Solidity
Armors-solidity is a framework to build secure smart contracts on Ethereum.
Stars: ✭ 184 (-12.8%)
Mutual labels:  blockchain, ethereum
Manticore
Symbolic execution tool
Stars: ✭ 2,599 (+1131.75%)
Mutual labels:  blockchain, ethereum
Eth Vue
Featured in Awesome Vue [https://github.com/vuejs/awesome-vue], a curated list maintained by vuejs of awesome things related to the Vue.js framework, and Awesome List [https://awesomelists.net/150-Vue.js/3863-Open+Source/18749-DOkwufulueze-eth-vue], this Truffle Box provides everything you need to quickly build Ethereum dApps that have authentication features with vue, including configuration for easy deployment to the Ropsten Network. It's also Gravatar-enabled. Connecting to a running Ganache blockchain network from Truffle is also possible -- for fast development and testing purposes. Built on Truffle 5 and Vue 3, eth-vue uses vuex for state management, vuex-persist for local storage of app state, and vue-router for routing. Authentication functionalities are handled by Smart Contracts running on the Ethereum blockchain.
Stars: ✭ 171 (-18.96%)
Mutual labels:  blockchain, ethereum
Angular Truffle Starter Dapp
Angular CLI + Truffle Starter Dapp; write, compile & deploy smart contracts on Ethereum blockchains
Stars: ✭ 174 (-17.54%)
Mutual labels:  blockchain, ethereum
Chainbook
📚 区块链上的纸质书交易平台,为未来而构建!
Stars: ✭ 189 (-10.43%)
Mutual labels:  blockchain, ethereum

web3j Sample Project

This project provides a very simple starter application for working with web3j and the test Ethereum network (testnet) known as Rinkeby.

The demo deploys a hello world smart contract which contains a greeting message. The current greeting message can be read and modified in the smart contract.

In order to run this demo, three pieces of information are required:

  1. Ethereum client (or node) endpoint. The simplest thing to do is request a free access token from Infura.
  2. A wallet file. This can be generated using the Epirus CLI.
  3. Some Ether. This can be requested from the Rinkeby Faucet.

Once these details have been added to the main Application class, you'll be good to go.

Functionality

This application demonstrates a number of core features of web3j and Ethereum:

  • Connecting to a node on the Ethereum network
  • Loading an Ethereum wallet file
  • Sending Ether from one address to another
  • Deploying a smart contract to the network
  • Reading a value from the deployed smart contract
  • Updating a value in the deployed smart contract
  • Viewing an event logged by the smart contract

Background

This application has purposefully been kept as simple as possible with the aim of demonstrating how to deploy and work with a smart contract on the decentralised Ethereum network.

If you require further background information about the above configuration items for the project you can refer to the below.

For a more comprehensive overview, I recommend you read the Java Magazine Article, watch the YouTube talk, and read all of the documentation.

Smart contracts

The contained smart contract is based on the Greeter contract example, with the addition that the value stored in the Greeter can be modified.

The associated Java smart contract wrapper is named Greeter.

For more background on smart contracts, refer to the smart contracts section of the docs.

Infura

If you don't want to sign up to Infura, and would like to run a node yourself, there are instructions in the getting started section of the docs.

Testnets

For more information on the different Ethereum test networks (or testnets), refer to the testnet overview in the docs.

Ether

For background on Ether, refer to the transactions overview section of the docs.

Wallets and transaction signing

For a more technical overview of working with wallet files, refer to the Offline transaction signing section of the docs.

Viewing requests

A logback configuration is included in the project dependencies allowing the logging of protocol messages if required. To enable, simply change the following line in the logback configuration to read:

<logger name="org.web3j.protocol" level="DEBUG"/>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].