klaytn / caver-js

Official caver-js repository
GNU Lesser General Public License v3.0
114 stars 75 forks source link

is there any plan to use forked version of ethersjs? #151

Closed benjioh5 closed 3 months ago

benjioh5 commented 5 years ago

Web3js based system is enough to make Dapp, but compatibility issues and migration issues are remaining. Is there any chance or way to use Ethers.js compatible library?

kjhman21 commented 5 years ago

Thanks for making an issue for caver-js!

  1. Could you tell me little bit more about what features of ethers-js are useful or the reason why you use ethers-js? :)

  2. We are sorry for that we do not have enough resources to port ether-js for Klaytn right now.

  3. Of course, we are always welcome to contribute Klaytn's ecosystem from anybody including you! :)

benjioh5 commented 5 years ago

First of all, my opinion is

1-1. Truffle supports Ethersjs in many way. In this case, switching cost of ethereum truffle smart contract to klaytn's will be significant lower. 1-2. Fully supoort of Typescript while web3js doesn't 1-3. Wallet and Provider is seperated that is more easy to use. 1-4. Mnemonic supports 1-5. Smartcontract call and management is more easier.

  1. OK I See. Thanks for responding

  2. Then I'll talk about this in ethers.js project issue. Adding provider is not that hard to adopt it. But I wonder that the Fee Delegation is not Ethereum's own feature. I need some support for adopdation of new transaction model. (and some new functions for it) I'll report or write some issues later. Thanks.

benjioh5 commented 5 years ago

I opend some issue on Ethersjs repo.

codemaster101 commented 2 years ago

@kjhman21 I think, from my personal experience integrating blockchains, providing compatibility with ethers.js (along with other EVM blockchains) makes it easier for organisations and companies to provide wide range of support. Since ethers.js is a much more used package, and supports a bigger blockchain (at the moment :smile: ) it can be a good "expanding the reach" of klaytn move

benjioh5 commented 2 years ago

Klaybank team made forked version of ethersjs for klaytn. Is there any chance to make this version to official ethersjs-klaytn?

Here is repo url : https://github.com/klaybank/ethers_providers_klaytn

kjhman21 commented 2 years ago

@benjioh5 Thanks for the info. We are also trying to support eth_ namespace APIs to support Ethereum development tools. This is expected to be shipped by the end of March as klaytn-v1.8.0. We will also try to look at this. Thanks. cc @jimni1222 @aidan-kwon

dextfprotocol commented 2 years ago

Any update on this and making etherjs work with Klaytn / Kaikas?

kjhman21 commented 2 years ago

@dextfprotocol Thanks for asking.

  1. Since Klaytn now supports ethereum API namespaces, ethers.js will work with klaytn nodes.
  2. Kaikas needs to provide ethereum API namespace for that, but it is not yet supported. Hope this helps. Thanks.
dextfprotocol commented 2 years ago

Thanks for the prompt reply. And do you know if there is a plan/timing for Kaikas to provide ethereum API namespace?