Skip to content

klaytn/web3klaytn

Repository files navigation

logo.png

Overview

web3klaytn is a set of SDKs to interact with Klaytn. It includes 4 SDKs (ethers-ext, web3js-ext, web3j-ext, web3py-ext) and allows developer to easily interact with klaytn without very few changes. Furthermore OAS 3.0 (OpenAPI Specification 3.0) is used to generate automatically the klaytn NodeAPI specification and web API provider source code named web3rpc.

web3rpc wtih OpenAPI

Klaytn has extended the RPC APIs over early Ethereum to allow developers to get various or klaytn-specific data. Considering that would increasingly be mismatch between documentation and source code, OpenAPI specification is adopted to generate automatically the documentation and source code in the same time. You can see all the API specifications for Klaytn Node in the rpc-specs directory

extension strategies for existing web3 SDKs

The extension is focused on seamless development for web3 developers. Being able to develop web3 service from other chain without feeling differences will make the developers comfortable and more productivity. It also makes developers easy to build a service among several chains with a single SDK and same pattern. Except web3j-ext SDK for java language, what you need to do is just importing the extension with the existing SDK.

  • ethers extension : ethers-ext (javascript) NPM Github
  • web3js extension : web3js-ext (javascript) NPM Github
  • web3j extension : web3j-ext (java) MVN Github
  • web3py extension : web3py-ext (python) pypi Github