q9f / eth.rb

a straightforward library to build, sign, and broadcast ethereum transactions anywhere you can run ruby.
https://q9f.github.io/eth.rb
Apache License 2.0
200 stars 86 forks source link

Does this gem support Binance Smart Chain transactions (BEP20) ? #142

Closed urkishan closed 1 year ago

urkishan commented 2 years ago

As I am trying to do a transaction and getting transaction type not found.

So if anyone knows about any reference repository that I can work with to support BSC please let me know.

a-moreira commented 2 years ago

BSC is EVM compatible AFAIK so this gem should be enough for you. Can you give more information about what kind of transaction you are trying to send and the error you are getting?

urkishan commented 2 years ago

@a-moreira figured that out it was giving the error because of we were adding these two parameters priority_fee and max_gas_fee for the BSC and BSC doesn't support this now. With gas_price BSC worked fine for me.

urkishan commented 2 years ago

We can close this issue.