-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding support for klaytn. #644
Comments
The only change required for ETC was adding backends to the list of common/known networks. Changes to the Transaction serialization is far more substantial, but you can look at the |
I'm going to close this now, but please feel free to re-open or continue discussion. I monitor closed issues. Thanks! :) |
Sorry for late comment. Klaytn supports LEGACY mode (original Ethereum Tx) and DELEGATE_FEE mode. I think Klaytn's caver-js's provider fully supports etherjs's HttpProvider method. import { ethers } from 'ethers';
const Caver = require('caver-js') // forked version of web3js
const caver = new Caver('https://api.baobab.klaytn.net:8651/')
provider = new caver.providers.HttpProvider(`https://api.baobab.klaytn.net:8651/`);
provider = new ethers.providers.Web3Provider(provider);
// It Works! Then I just want to add network information to etherjs. And I'll maintain or take care about klaytn's modified version of fee delegation transaction. It would be easy work for just adding provider for klaytn and then forks ethersjs for ethersjs-klaytn. Thanks! :) |
After send a transaction to Klaytn busing ethers.js To receive the receipt Then... ethers.js emit an error: I think that Klaytn guys need to support ethers.js urgently to extend their dApp ecosystem because many dApps running already on ethereum, binance and so on are using ethers.js not caver-js |
I found Klaybank team made some forked version for klaytn. Is there any chance to review this and make it official klaytn ethersjs version? |
I would love to check it out. I’m working on a v6 Network for Klatyn, so seeing differences will help. In v6, a simple Network object can override a lot of provide behaviour, so it makes ethers behave frictionlessly with other chains. :) |
Klaytn is one of forked version of Ethereum and it aims enterprise usage of blockchain.
I saw #351 is accepted and I wonder kalytn's mainnet (cypress) and testnet (baobab) can be added. Klaytn has some few change of transaction model (e.g. adding fee delegation) but It's usally competible with ethereum's own structure.
Could I make some test cases and add for it?
The text was updated successfully, but these errors were encountered: