alloy-rs / examples

Example code for using alloy and alloy-core
Apache License 2.0
136 stars 34 forks source link

Add example of using sol! to `remove_liquidity` #52

Open Degen-Player opened 7 months ago

Degen-Player commented 7 months ago

Add an example of using sol! to remove_liquidity, similar to existing ethers-rs examples:

https://github.com/gakonst/ethers-rs/blob/master/examples/transactions/examples/remove_liquidity.rs

Thank you for considering this request.

zerosnacks commented 7 months ago

Hi @Degen-Player, thanks for your suggestion

I'm going to split up the ticket into individual tickets so they can be picked up individually

Degen-Player commented 7 months ago

Hi @Degen-Player, thanks for your suggestion

I'm going to split up the ticket into individual tickets so they can be picked up individually

Thank you very much!

zerosnacks commented 7 months ago

@Degen-Player

Regarding your request:

Demonstrate the usage of Ethereum as well as at least one other blockchain. Instructions on how to create a signer for a blockchain other than Ethereum.

Just to be sure, when you refer to other blockchains, do you mean an other EVM-compatible networks (Optimism, Arbitrum, etc..) and how to instantiate and use multiple providers?

Alloy is currently streamlined for Ethereum-like networks though it does offer the ability for very advanced users to implement their own specification. This is currently considered out of scope for these examples and will likely be added to the documentation.

Degen-Player commented 7 months ago

Just to be sure, when you refer to other blockchains, do you mean an other EVM-compatible networks (Optimism, Arbitrum, etc..) and how to instantiate and use multiple providers?

exactly !