Development Kit
Golang
geth
Geth ships official Go packages that can be embedded into third party desktop and server applications.
docs link: https://geth.ethereum.org/docs/developers/dapp-developer/native
Java
web3j
web3j is a highly modular, reactive, type safe Java and Android library for working with Smart Contracts and integrating with clients (nodes) on the Ethereum network. This allows you to work with Ethereum blockchains, without the additional overhead of having to write your own integration code for the platform.
docs link: https://www.web3labs.com/web3j-sdk
JavaScript
ethers.js
ethers.js is a complete and compact library for interacting with the EVM-compatible Blockchain and its ecosystem.
docs link: https://docs.ethers.org/v5/
web3.js
web3js is a highly modular, reactive, type safe Java and Android library for working with Smart Contracts and integrating with clients (nodes) on the Ethereum network. This allows you to work with Ethereum blockchains, without the additional overhead of having to write your own integration code for the platform.
Installation
To start using web3.js in your project, run:
Basic Setup
Before using web3.js, you need to import and initialize it in your project:
Connecting to HashKey Chain
To connect to HashKey Chain Mainnet, use:
Reading Blockchain Data
Once connected, you can interact with the network. Here's an example of fetching the latest block:
Account Management
Create and manage accounts securely:
Smart Contract Interaction
To interact with smart contracts on HashKey Chain:
For more detailed information and advanced features, visit the web3.js documentation.
Python
web3.py
web3.py is a Python library for interacting with Ethereum to help with sending transactions, interacting with smart contracts, reading block data, and a variety of other use cases.
Installation Requirements
Python version 3.10+
Poetry package manager
Setup Steps
Set Up Development Environment
Install web3.py
Basic Usage Example
Environment Configuration Create a
.env
file with your credentials:
docs link: web3py
Last updated