Boilertalk / Web3.swift

A pure swift Ethereum Web3 library
MIT License
636 stars 187 forks source link

"The method eth_sendTransaction does not exist/ is not available" #126

Closed victorylau closed 1 year ago

koraykoska commented 1 year ago

@victorylau We do not officially support methods that encourage behaviour that is deprecated due to obvious security concerns. You can add any methods using extension functions. Simply look at the Web3 class and copy the eth.sendRawTransaction, modify it to match whatever request you want to support and rename it. That way you can support any method you want with a few lines of code.

A good read about

koraykoska commented 1 year ago

See #116

victorylau commented 1 year ago

@victorylau We do not officially support methods that encourage behaviour that is deprecated due to obvious security concerns. You can add any methods using extension functions. Simply look at the Web3 class and copy the eth.sendRawTransaction, modify it to match whatever request you want to support and rename it. That way you can support any method you want with a few lines of code.

A good read about

Thanks a lot. I resolve my problem.