diff --git a/lib/examples b/lib/examples index 4773fb9..6512656 160000 --- a/lib/examples +++ b/lib/examples @@ -1 +1 @@ -Subproject commit 4773fb93e2bfe7762c0c883920293ff9af1f283c +Subproject commit 65126561b942e642bd6c34d4df7676f39779b283 diff --git a/src/SUMMARY.md b/src/SUMMARY.md index 5d539bf..c9a8911 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -134,6 +134,10 @@ - [Encoding with `dyn_abi`](./examples/advanced/encoding_dyn_abi.md) - [Static encoding with `sol!`](./examples/advanced/encoding_sol_static.md) - [Using `foundry-fork-db`](./examples/advanced/foundry_fork_db.md) + - [Wrapping `Provider` trait over `reth-db`](./examples/advanced/reth_db_provider.md) +- [Comparison](./examples/comparison/README.md) + - [Compare block headers between providers](./examples/comparison/compare_new_heads.md) + - [Compare pending transactions between providers](./examples/comparison/compare_pending_txs.md) # Appendix diff --git a/src/examples/advanced/README.md b/src/examples/advanced/README.md index 916bc3c..29d240b 100644 --- a/src/examples/advanced/README.md +++ b/src/examples/advanced/README.md @@ -4,4 +4,5 @@ - [Decoding with `json_abi`](decoding_json_abi.md) - [Encoding with `dyn_abi`](encoding_dyn_abi.md) - [Static encoding with `sol!`](encoding_sol_static.md) -- [Using `foundry-fork-db`](foundry_fork_db.md) \ No newline at end of file +- [Using `foundry-fork-db`](foundry_fork_db.md) +- [Wrapping `Provider` trait over `reth-db`](reth_db_provider.md) \ No newline at end of file diff --git a/src/examples/advanced/any_network.md b/src/examples/advanced/any_network.md index 93070b1..ce2fb9e 100644 --- a/src/examples/advanced/any_network.md +++ b/src/examples/advanced/any_network.md @@ -1,7 +1,7 @@ - + ## Example: `any_network` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/advanced/examples/any_network.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/advanced/examples/any_network.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/advanced/examples/any_network.rs). diff --git a/src/examples/advanced/decoding_json_abi.md b/src/examples/advanced/decoding_json_abi.md index 742a2e5..8010e57 100644 --- a/src/examples/advanced/decoding_json_abi.md +++ b/src/examples/advanced/decoding_json_abi.md @@ -1,7 +1,7 @@ - + ## Example: `decoding_json_abi` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/advanced/examples/decoding_json_abi.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/advanced/examples/decoding_json_abi.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/advanced/examples/decoding_json_abi.rs). diff --git a/src/examples/advanced/encoding_dyn_abi.md b/src/examples/advanced/encoding_dyn_abi.md index 0967712..ce5d901 100644 --- a/src/examples/advanced/encoding_dyn_abi.md +++ b/src/examples/advanced/encoding_dyn_abi.md @@ -1,7 +1,7 @@ - + ## Example: `encoding_dyn_abi` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/advanced/examples/encoding_dyn_abi.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/advanced/examples/encoding_dyn_abi.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/advanced/examples/encoding_dyn_abi.rs). diff --git a/src/examples/advanced/encoding_sol_static.md b/src/examples/advanced/encoding_sol_static.md index 1e928b2..1dbc0f8 100644 --- a/src/examples/advanced/encoding_sol_static.md +++ b/src/examples/advanced/encoding_sol_static.md @@ -1,7 +1,7 @@ - + ## Example: `encoding_sol_static` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/advanced/examples/encoding_sol_static.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/advanced/examples/encoding_sol_static.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/advanced/examples/encoding_sol_static.rs). diff --git a/src/examples/advanced/foundry_fork_db.md b/src/examples/advanced/foundry_fork_db.md index e45f932..719a180 100644 --- a/src/examples/advanced/foundry_fork_db.md +++ b/src/examples/advanced/foundry_fork_db.md @@ -1,7 +1,7 @@ - + ## Example: `foundry_fork_db` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/advanced/examples/foundry_fork_db.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/advanced/examples/foundry_fork_db.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/advanced/examples/foundry_fork_db.rs). diff --git a/src/examples/advanced/reth_db_layer.md b/src/examples/advanced/reth_db_layer.md new file mode 100644 index 0000000..702ab37 --- /dev/null +++ b/src/examples/advanced/reth_db_layer.md @@ -0,0 +1,19 @@ + + + + + +## Example: `reth_db_layer` + +### Example + +To run this example: + +- Clone the [examples](https://github.com/alloy-rs/examples) repository: `git clone git@github.com:alloy-rs/examples.git` +- Run: `cargo run --example reth_db_layer` + +```rust,ignore +{{#include ../../../lib/examples/examples/advanced/examples/reth_db_layer.rs}} +``` + +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/advanced/examples/reth_db_layer.rs). diff --git a/src/examples/advanced/reth_db_provider.md b/src/examples/advanced/reth_db_provider.md new file mode 100644 index 0000000..715220c --- /dev/null +++ b/src/examples/advanced/reth_db_provider.md @@ -0,0 +1,19 @@ + + + + + +## Example: `reth_db_provider` + +### Example + +To run this example: + +- Clone the [examples](https://github.com/alloy-rs/examples) repository: `git clone git@github.com:alloy-rs/examples.git` +- Run: `cargo run --example reth_db_provider` + +```rust,ignore +{{#include ../../../lib/examples/examples/advanced/examples/reth_db_provider.rs}} +``` + +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/advanced/examples/reth_db_provider.rs). diff --git a/src/examples/big-numbers/comparison_equivalence.md b/src/examples/big-numbers/comparison_equivalence.md index 41d881a..dd6b9b0 100644 --- a/src/examples/big-numbers/comparison_equivalence.md +++ b/src/examples/big-numbers/comparison_equivalence.md @@ -1,7 +1,7 @@ - + ## Example: `comparison_equivalence` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/big-numbers/examples/comparison_equivalence.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/big-numbers/examples/comparison_equivalence.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/big-numbers/examples/comparison_equivalence.rs). diff --git a/src/examples/big-numbers/conversion.md b/src/examples/big-numbers/conversion.md index 216e1b8..f35b52f 100644 --- a/src/examples/big-numbers/conversion.md +++ b/src/examples/big-numbers/conversion.md @@ -1,7 +1,7 @@ - + ## Example: `conversion` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/big-numbers/examples/conversion.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/big-numbers/examples/conversion.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/big-numbers/examples/conversion.rs). diff --git a/src/examples/big-numbers/create_instances.md b/src/examples/big-numbers/create_instances.md index e3cc962..9486281 100644 --- a/src/examples/big-numbers/create_instances.md +++ b/src/examples/big-numbers/create_instances.md @@ -1,7 +1,7 @@ - + ## Example: `create_instances` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/big-numbers/examples/create_instances.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/big-numbers/examples/create_instances.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/big-numbers/examples/create_instances.rs). diff --git a/src/examples/big-numbers/math_operations.md b/src/examples/big-numbers/math_operations.md index 6a0f119..cdf339d 100644 --- a/src/examples/big-numbers/math_operations.md +++ b/src/examples/big-numbers/math_operations.md @@ -1,7 +1,7 @@ - + ## Example: `math_operations` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/big-numbers/examples/math_operations.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/big-numbers/examples/math_operations.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/big-numbers/examples/math_operations.rs). diff --git a/src/examples/big-numbers/math_utilities.md b/src/examples/big-numbers/math_utilities.md index 2cefe47..e36fcc1 100644 --- a/src/examples/big-numbers/math_utilities.md +++ b/src/examples/big-numbers/math_utilities.md @@ -1,7 +1,7 @@ - + ## Example: `math_utilities` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/big-numbers/examples/math_utilities.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/big-numbers/examples/math_utilities.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/big-numbers/examples/math_utilities.rs). diff --git a/src/examples/comparison/README.md b/src/examples/comparison/README.md new file mode 100644 index 0000000..cc124ac --- /dev/null +++ b/src/examples/comparison/README.md @@ -0,0 +1,4 @@ +## Comparison + +- [Compare block headers between providers](compare_new_heads.md) +- [Compare pending transactions between providers](compare_pending_txs.md) \ No newline at end of file diff --git a/src/examples/comparison/compare_new_heads.md b/src/examples/comparison/compare_new_heads.md new file mode 100644 index 0000000..71d1eee --- /dev/null +++ b/src/examples/comparison/compare_new_heads.md @@ -0,0 +1,19 @@ + + + + + +## Example: `compare_new_heads` + +### Example + +To run this example: + +- Clone the [examples](https://github.com/alloy-rs/examples) repository: `git clone git@github.com:alloy-rs/examples.git` +- Run: `cargo run --example compare_new_heads` + +```rust,ignore +{{#include ../../../lib/examples/examples/comparison/examples/compare_new_heads.rs}} +``` + +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/comparison/examples/compare_new_heads.rs). diff --git a/src/examples/comparison/compare_pending_txs.md b/src/examples/comparison/compare_pending_txs.md new file mode 100644 index 0000000..aea7a47 --- /dev/null +++ b/src/examples/comparison/compare_pending_txs.md @@ -0,0 +1,19 @@ + + + + + +## Example: `compare_pending_txs` + +### Example + +To run this example: + +- Clone the [examples](https://github.com/alloy-rs/examples) repository: `git clone git@github.com:alloy-rs/examples.git` +- Run: `cargo run --example compare_pending_txs` + +```rust,ignore +{{#include ../../../lib/examples/examples/comparison/examples/compare_pending_txs.rs}} +``` + +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/comparison/examples/compare_pending_txs.rs). diff --git a/src/examples/contracts/deploy_from_artifact.md b/src/examples/contracts/deploy_from_artifact.md index 1d3c6bf..f335e99 100644 --- a/src/examples/contracts/deploy_from_artifact.md +++ b/src/examples/contracts/deploy_from_artifact.md @@ -1,7 +1,7 @@ - + ## Example: `deploy_from_artifact` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/contracts/examples/deploy_from_artifact.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/contracts/examples/deploy_from_artifact.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/contracts/examples/deploy_from_artifact.rs). diff --git a/src/examples/contracts/deploy_from_bytecode.md b/src/examples/contracts/deploy_from_bytecode.md index e26c54e..d5caa5c 100644 --- a/src/examples/contracts/deploy_from_bytecode.md +++ b/src/examples/contracts/deploy_from_bytecode.md @@ -1,7 +1,7 @@ - + ## Example: `deploy_from_bytecode` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/contracts/examples/deploy_from_bytecode.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/contracts/examples/deploy_from_bytecode.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/contracts/examples/deploy_from_bytecode.rs). diff --git a/src/examples/contracts/deploy_from_contract.md b/src/examples/contracts/deploy_from_contract.md index 6768ae2..9e5ebe5 100644 --- a/src/examples/contracts/deploy_from_contract.md +++ b/src/examples/contracts/deploy_from_contract.md @@ -1,7 +1,7 @@ - + ## Example: `deploy_from_contract` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/contracts/examples/deploy_from_contract.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/contracts/examples/deploy_from_contract.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/contracts/examples/deploy_from_contract.rs). diff --git a/src/examples/contracts/interact_with_abi.md b/src/examples/contracts/interact_with_abi.md index 7febd46..60816cb 100644 --- a/src/examples/contracts/interact_with_abi.md +++ b/src/examples/contracts/interact_with_abi.md @@ -1,7 +1,7 @@ - + ## Example: `interact_with_abi` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/contracts/examples/interact_with_abi.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/contracts/examples/interact_with_abi.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/contracts/examples/interact_with_abi.rs). diff --git a/src/examples/contracts/interact_with_contract_instance.md b/src/examples/contracts/interact_with_contract_instance.md index ecb551d..4840502 100644 --- a/src/examples/contracts/interact_with_contract_instance.md +++ b/src/examples/contracts/interact_with_contract_instance.md @@ -1,7 +1,7 @@ - + ## Example: `interact_with_contract_instance` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/contracts/examples/interact_with_contract_instance.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/contracts/examples/interact_with_contract_instance.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/contracts/examples/interact_with_contract_instance.rs). diff --git a/src/examples/contracts/jsonrpc_error_decoding.md b/src/examples/contracts/jsonrpc_error_decoding.md index 8876b59..7eee482 100644 --- a/src/examples/contracts/jsonrpc_error_decoding.md +++ b/src/examples/contracts/jsonrpc_error_decoding.md @@ -1,7 +1,7 @@ - + ## Example: `jsonrpc_error_decoding` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/contracts/examples/jsonrpc_error_decoding.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/contracts/examples/jsonrpc_error_decoding.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/contracts/examples/jsonrpc_error_decoding.rs). diff --git a/src/examples/contracts/unknown_return_types.md b/src/examples/contracts/unknown_return_types.md index ec5327a..bd84323 100644 --- a/src/examples/contracts/unknown_return_types.md +++ b/src/examples/contracts/unknown_return_types.md @@ -1,7 +1,7 @@ - + ## Example: `unknown_return_types` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/contracts/examples/unknown_return_types.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/contracts/examples/unknown_return_types.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/contracts/examples/unknown_return_types.rs). diff --git a/src/examples/fillers/gas_filler.md b/src/examples/fillers/gas_filler.md index 2893e23..ab001bb 100644 --- a/src/examples/fillers/gas_filler.md +++ b/src/examples/fillers/gas_filler.md @@ -1,7 +1,7 @@ - + ## Example: `gas_filler` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/fillers/examples/gas_filler.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/fillers/examples/gas_filler.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/fillers/examples/gas_filler.rs). diff --git a/src/examples/fillers/nonce_filler.md b/src/examples/fillers/nonce_filler.md index a72e215..a43b5b2 100644 --- a/src/examples/fillers/nonce_filler.md +++ b/src/examples/fillers/nonce_filler.md @@ -1,7 +1,7 @@ - + ## Example: `nonce_filler` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/fillers/examples/nonce_filler.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/fillers/examples/nonce_filler.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/fillers/examples/nonce_filler.rs). diff --git a/src/examples/fillers/recommended_fillers.md b/src/examples/fillers/recommended_fillers.md index 4d62cb5..f4ed791 100644 --- a/src/examples/fillers/recommended_fillers.md +++ b/src/examples/fillers/recommended_fillers.md @@ -1,7 +1,7 @@ - + ## Example: `recommended_fillers` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/fillers/examples/recommended_fillers.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/fillers/examples/recommended_fillers.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/fillers/examples/recommended_fillers.rs). diff --git a/src/examples/fillers/wallet_filler.md b/src/examples/fillers/wallet_filler.md index 1fcccf3..d709fc4 100644 --- a/src/examples/fillers/wallet_filler.md +++ b/src/examples/fillers/wallet_filler.md @@ -1,7 +1,7 @@ - + ## Example: `wallet_filler` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/fillers/examples/wallet_filler.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/fillers/examples/wallet_filler.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/fillers/examples/wallet_filler.rs). diff --git a/src/examples/layers/logging_layer.md b/src/examples/layers/logging_layer.md index 7a320f4..21e9416 100644 --- a/src/examples/layers/logging_layer.md +++ b/src/examples/layers/logging_layer.md @@ -1,7 +1,7 @@ - + ## Example: `logging_layer` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/layers/examples/logging_layer.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/layers/examples/logging_layer.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/layers/examples/logging_layer.rs). diff --git a/src/examples/node-bindings/anvil_deploy_contract.md b/src/examples/node-bindings/anvil_deploy_contract.md index a3d1e07..657651e 100644 --- a/src/examples/node-bindings/anvil_deploy_contract.md +++ b/src/examples/node-bindings/anvil_deploy_contract.md @@ -1,7 +1,7 @@ - + ## Example: `anvil_deploy_contract` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/node-bindings/examples/anvil_deploy_contract.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/node-bindings/examples/anvil_deploy_contract.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/node-bindings/examples/anvil_deploy_contract.rs). diff --git a/src/examples/node-bindings/anvil_fork_instance.md b/src/examples/node-bindings/anvil_fork_instance.md index 32ab55a..a7f2d04 100644 --- a/src/examples/node-bindings/anvil_fork_instance.md +++ b/src/examples/node-bindings/anvil_fork_instance.md @@ -1,7 +1,7 @@ - + ## Example: `anvil_fork_instance` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/node-bindings/examples/anvil_fork_instance.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/node-bindings/examples/anvil_fork_instance.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/node-bindings/examples/anvil_fork_instance.rs). diff --git a/src/examples/node-bindings/anvil_fork_provider.md b/src/examples/node-bindings/anvil_fork_provider.md index 04c9874..458a14e 100644 --- a/src/examples/node-bindings/anvil_fork_provider.md +++ b/src/examples/node-bindings/anvil_fork_provider.md @@ -1,7 +1,7 @@ - + ## Example: `anvil_fork_provider` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/node-bindings/examples/anvil_fork_provider.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/node-bindings/examples/anvil_fork_provider.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/node-bindings/examples/anvil_fork_provider.rs). diff --git a/src/examples/node-bindings/anvil_local_instance.md b/src/examples/node-bindings/anvil_local_instance.md index 6980499..a7736ff 100644 --- a/src/examples/node-bindings/anvil_local_instance.md +++ b/src/examples/node-bindings/anvil_local_instance.md @@ -1,7 +1,7 @@ - + ## Example: `anvil_local_instance` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/node-bindings/examples/anvil_local_instance.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/node-bindings/examples/anvil_local_instance.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/node-bindings/examples/anvil_local_instance.rs). diff --git a/src/examples/node-bindings/anvil_local_provider.md b/src/examples/node-bindings/anvil_local_provider.md index 3c23b1a..804c08a 100644 --- a/src/examples/node-bindings/anvil_local_provider.md +++ b/src/examples/node-bindings/anvil_local_provider.md @@ -1,7 +1,7 @@ - + ## Example: `anvil_local_provider` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/node-bindings/examples/anvil_local_provider.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/node-bindings/examples/anvil_local_provider.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/node-bindings/examples/anvil_local_provider.rs). diff --git a/src/examples/node-bindings/anvil_set_storage_at.md b/src/examples/node-bindings/anvil_set_storage_at.md index 27dfc0f..82ed1b3 100644 --- a/src/examples/node-bindings/anvil_set_storage_at.md +++ b/src/examples/node-bindings/anvil_set_storage_at.md @@ -1,7 +1,7 @@ - + ## Example: `anvil_set_storage_at` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/node-bindings/examples/anvil_set_storage_at.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/node-bindings/examples/anvil_set_storage_at.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/node-bindings/examples/anvil_set_storage_at.rs). diff --git a/src/examples/node-bindings/geth_local_instance.md b/src/examples/node-bindings/geth_local_instance.md index 1eb0f4a..f4ead95 100644 --- a/src/examples/node-bindings/geth_local_instance.md +++ b/src/examples/node-bindings/geth_local_instance.md @@ -1,7 +1,7 @@ - + ## Example: `geth_local_instance` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/node-bindings/examples/geth_local_instance.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/node-bindings/examples/geth_local_instance.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/node-bindings/examples/geth_local_instance.rs). diff --git a/src/examples/node-bindings/reth_local_instance.md b/src/examples/node-bindings/reth_local_instance.md index afc0b6c..030e76f 100644 --- a/src/examples/node-bindings/reth_local_instance.md +++ b/src/examples/node-bindings/reth_local_instance.md @@ -1,7 +1,7 @@ - + ## Example: `reth_local_instance` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/node-bindings/examples/reth_local_instance.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/node-bindings/examples/reth_local_instance.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/node-bindings/examples/reth_local_instance.rs). diff --git a/src/examples/primitives/bytes_and_address_types.md b/src/examples/primitives/bytes_and_address_types.md index 4a084f5..83c2f05 100644 --- a/src/examples/primitives/bytes_and_address_types.md +++ b/src/examples/primitives/bytes_and_address_types.md @@ -1,7 +1,7 @@ - + ## Example: `bytes_and_address_types` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/primitives/examples/bytes_and_address_types.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/primitives/examples/bytes_and_address_types.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/primitives/examples/bytes_and_address_types.rs). diff --git a/src/examples/primitives/hashing_functions.md b/src/examples/primitives/hashing_functions.md index baa8c8e..16c93c3 100644 --- a/src/examples/primitives/hashing_functions.md +++ b/src/examples/primitives/hashing_functions.md @@ -1,7 +1,7 @@ - + ## Example: `hashing_functions` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/primitives/examples/hashing_functions.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/primitives/examples/hashing_functions.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/primitives/examples/hashing_functions.rs). diff --git a/src/examples/providers/builder.md b/src/examples/providers/builder.md index c8e94ad..9eff400 100644 --- a/src/examples/providers/builder.md +++ b/src/examples/providers/builder.md @@ -1,7 +1,7 @@ - + ## Example: `builder` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/providers/examples/builder.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/providers/examples/builder.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/providers/examples/builder.rs). diff --git a/src/examples/providers/builtin.md b/src/examples/providers/builtin.md index ae56b6f..998f14d 100644 --- a/src/examples/providers/builtin.md +++ b/src/examples/providers/builtin.md @@ -1,7 +1,7 @@ - + ## Example: `builtin` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/providers/examples/builtin.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/providers/examples/builtin.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/providers/examples/builtin.rs). diff --git a/src/examples/providers/http.md b/src/examples/providers/http.md index 5e03829..6f60841 100644 --- a/src/examples/providers/http.md +++ b/src/examples/providers/http.md @@ -1,7 +1,7 @@ - + ## Example: `http` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/providers/examples/http.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/providers/examples/http.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/providers/examples/http.rs). diff --git a/src/examples/providers/ipc.md b/src/examples/providers/ipc.md index be80c9c..b06a4d5 100644 --- a/src/examples/providers/ipc.md +++ b/src/examples/providers/ipc.md @@ -1,7 +1,7 @@ - + ## Example: `ipc` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/providers/examples/ipc.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/providers/examples/ipc.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/providers/examples/ipc.rs). diff --git a/src/examples/providers/ws.md b/src/examples/providers/ws.md index 44ec596..dd9f2d7 100644 --- a/src/examples/providers/ws.md +++ b/src/examples/providers/ws.md @@ -1,7 +1,7 @@ - + ## Example: `ws` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/providers/examples/ws.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/providers/examples/ws.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/providers/examples/ws.rs). diff --git a/src/examples/providers/ws_with_auth.md b/src/examples/providers/ws_with_auth.md index 2593e8a..b66acce 100644 --- a/src/examples/providers/ws_with_auth.md +++ b/src/examples/providers/ws_with_auth.md @@ -1,7 +1,7 @@ - + ## Example: `ws_with_auth` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/providers/examples/ws_with_auth.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/providers/examples/ws_with_auth.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/providers/examples/ws_with_auth.rs). diff --git a/src/examples/queries/query_contract_storage.md b/src/examples/queries/query_contract_storage.md index 41cb3e3..51288e9 100644 --- a/src/examples/queries/query_contract_storage.md +++ b/src/examples/queries/query_contract_storage.md @@ -1,7 +1,7 @@ - + ## Example: `query_contract_storage` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/queries/examples/query_contract_storage.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/queries/examples/query_contract_storage.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/queries/examples/query_contract_storage.rs). diff --git a/src/examples/queries/query_deployed_bytecode.md b/src/examples/queries/query_deployed_bytecode.md index f68e903..6beaae4 100644 --- a/src/examples/queries/query_deployed_bytecode.md +++ b/src/examples/queries/query_deployed_bytecode.md @@ -1,7 +1,7 @@ - + ## Example: `query_deployed_bytecode` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/queries/examples/query_deployed_bytecode.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/queries/examples/query_deployed_bytecode.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/queries/examples/query_deployed_bytecode.rs). diff --git a/src/examples/queries/query_logs.md b/src/examples/queries/query_logs.md index 742f912..98db47d 100644 --- a/src/examples/queries/query_logs.md +++ b/src/examples/queries/query_logs.md @@ -1,7 +1,7 @@ - + ## Example: `query_logs` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/queries/examples/query_logs.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/queries/examples/query_logs.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/queries/examples/query_logs.rs). diff --git a/src/examples/sol-macro/contract.md b/src/examples/sol-macro/contract.md index 6768ae2..9e5ebe5 100644 --- a/src/examples/sol-macro/contract.md +++ b/src/examples/sol-macro/contract.md @@ -1,7 +1,7 @@ - + ## Example: `deploy_from_contract` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/contracts/examples/deploy_from_contract.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/contracts/examples/deploy_from_contract.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/contracts/examples/deploy_from_contract.rs). diff --git a/src/examples/sol-macro/decode_returns.md b/src/examples/sol-macro/decode_returns.md index d605862..7c47b12 100644 --- a/src/examples/sol-macro/decode_returns.md +++ b/src/examples/sol-macro/decode_returns.md @@ -1,7 +1,7 @@ - + ## Example: `decode_returns` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/sol-macro/examples/decode_returns.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/sol-macro/examples/decode_returns.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/sol-macro/examples/decode_returns.rs). diff --git a/src/examples/sol-macro/events_errors.md b/src/examples/sol-macro/events_errors.md index 1602ab1..1383829 100644 --- a/src/examples/sol-macro/events_errors.md +++ b/src/examples/sol-macro/events_errors.md @@ -1,7 +1,7 @@ - + ## Example: `events_errors` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/sol-macro/examples/events_errors.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/sol-macro/examples/events_errors.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/sol-macro/examples/events_errors.rs). diff --git a/src/examples/sol-macro/structs_enums.md b/src/examples/sol-macro/structs_enums.md index d1940f0..6832cf6 100644 --- a/src/examples/sol-macro/structs_enums.md +++ b/src/examples/sol-macro/structs_enums.md @@ -1,7 +1,7 @@ - + ## Example: `structs_enums` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/sol-macro/examples/structs_enums.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/sol-macro/examples/structs_enums.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/sol-macro/examples/structs_enums.rs). diff --git a/src/examples/sol-macro/user_defined_types.md b/src/examples/sol-macro/user_defined_types.md index 52a4125..d48ad5e 100644 --- a/src/examples/sol-macro/user_defined_types.md +++ b/src/examples/sol-macro/user_defined_types.md @@ -1,7 +1,7 @@ - + ## Example: `user_defined_types` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/sol-macro/examples/user_defined_types.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/sol-macro/examples/user_defined_types.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/sol-macro/examples/user_defined_types.rs). diff --git a/src/examples/subscriptions/event_multiplexer.md b/src/examples/subscriptions/event_multiplexer.md index 715b6dd..3642d39 100644 --- a/src/examples/subscriptions/event_multiplexer.md +++ b/src/examples/subscriptions/event_multiplexer.md @@ -1,7 +1,7 @@ - + ## Example: `event_multiplexer` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/subscriptions/examples/event_multiplexer.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/subscriptions/examples/event_multiplexer.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/subscriptions/examples/event_multiplexer.rs). diff --git a/src/examples/subscriptions/poll_logs.md b/src/examples/subscriptions/poll_logs.md index b64626f..19c9223 100644 --- a/src/examples/subscriptions/poll_logs.md +++ b/src/examples/subscriptions/poll_logs.md @@ -1,7 +1,7 @@ - + ## Example: `poll_logs` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/subscriptions/examples/poll_logs.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/subscriptions/examples/poll_logs.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/subscriptions/examples/poll_logs.rs). diff --git a/src/examples/subscriptions/subscribe_all_logs.md b/src/examples/subscriptions/subscribe_all_logs.md index f42d90a..28dcb54 100644 --- a/src/examples/subscriptions/subscribe_all_logs.md +++ b/src/examples/subscriptions/subscribe_all_logs.md @@ -1,7 +1,7 @@ - + ## Example: `subscribe_all_logs` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/subscriptions/examples/subscribe_all_logs.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/subscriptions/examples/subscribe_all_logs.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/subscriptions/examples/subscribe_all_logs.rs). diff --git a/src/examples/subscriptions/subscribe_blocks.md b/src/examples/subscriptions/subscribe_blocks.md index 38a59df..bdb2cd4 100644 --- a/src/examples/subscriptions/subscribe_blocks.md +++ b/src/examples/subscriptions/subscribe_blocks.md @@ -1,7 +1,7 @@ - + ## Example: `subscribe_blocks` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/subscriptions/examples/subscribe_blocks.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/subscriptions/examples/subscribe_blocks.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/subscriptions/examples/subscribe_blocks.rs). diff --git a/src/examples/subscriptions/subscribe_logs.md b/src/examples/subscriptions/subscribe_logs.md index e628ba6..3399c08 100644 --- a/src/examples/subscriptions/subscribe_logs.md +++ b/src/examples/subscriptions/subscribe_logs.md @@ -1,7 +1,7 @@ - + ## Example: `subscribe_logs` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/subscriptions/examples/subscribe_logs.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/subscriptions/examples/subscribe_logs.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/subscriptions/examples/subscribe_logs.rs). diff --git a/src/examples/subscriptions/subscribe_pending_transactions.md b/src/examples/subscriptions/subscribe_pending_transactions.md index 96f321e..9126548 100644 --- a/src/examples/subscriptions/subscribe_pending_transactions.md +++ b/src/examples/subscriptions/subscribe_pending_transactions.md @@ -1,7 +1,7 @@ - + ## Example: `subscribe_pending_transactions` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/subscriptions/examples/subscribe_pending_transactions.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/subscriptions/examples/subscribe_pending_transactions.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/subscriptions/examples/subscribe_pending_transactions.rs). diff --git a/src/examples/transactions/decode_input.md b/src/examples/transactions/decode_input.md index 8aa301c..03058ce 100644 --- a/src/examples/transactions/decode_input.md +++ b/src/examples/transactions/decode_input.md @@ -1,7 +1,7 @@ - + ## Example: `decode_input` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/transactions/examples/decode_input.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/transactions/examples/decode_input.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/transactions/examples/decode_input.rs). diff --git a/src/examples/transactions/encode_decode_eip1559.md b/src/examples/transactions/encode_decode_eip1559.md index 6414dc4..3083c47 100644 --- a/src/examples/transactions/encode_decode_eip1559.md +++ b/src/examples/transactions/encode_decode_eip1559.md @@ -1,7 +1,7 @@ - + ## Example: `encode_decode_eip1559` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/transactions/examples/encode_decode_eip1559.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/transactions/examples/encode_decode_eip1559.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/transactions/examples/encode_decode_eip1559.rs). diff --git a/src/examples/transactions/gas_price_usd.md b/src/examples/transactions/gas_price_usd.md index f9dd588..f6b74e5 100644 --- a/src/examples/transactions/gas_price_usd.md +++ b/src/examples/transactions/gas_price_usd.md @@ -1,7 +1,7 @@ - + ## Example: `gas_price_usd` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/transactions/examples/gas_price_usd.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/transactions/examples/gas_price_usd.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/transactions/examples/gas_price_usd.rs). diff --git a/src/examples/transactions/send_eip1559_transaction.md b/src/examples/transactions/send_eip1559_transaction.md index 0d813a2..3bc5777 100644 --- a/src/examples/transactions/send_eip1559_transaction.md +++ b/src/examples/transactions/send_eip1559_transaction.md @@ -1,7 +1,7 @@ - + ## Example: `send_eip1559_transaction` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/transactions/examples/send_eip1559_transaction.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/transactions/examples/send_eip1559_transaction.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/transactions/examples/send_eip1559_transaction.rs). diff --git a/src/examples/transactions/send_eip4844_transaction.md b/src/examples/transactions/send_eip4844_transaction.md index 0b1d8ea..25ab635 100644 --- a/src/examples/transactions/send_eip4844_transaction.md +++ b/src/examples/transactions/send_eip4844_transaction.md @@ -1,7 +1,7 @@ - + ## Example: `send_eip4844_transaction` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/transactions/examples/send_eip4844_transaction.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/transactions/examples/send_eip4844_transaction.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/transactions/examples/send_eip4844_transaction.rs). diff --git a/src/examples/transactions/send_eip7702_transaction.md b/src/examples/transactions/send_eip7702_transaction.md index 29966db..6bc7562 100644 --- a/src/examples/transactions/send_eip7702_transaction.md +++ b/src/examples/transactions/send_eip7702_transaction.md @@ -1,7 +1,7 @@ - + ## Example: `send_eip7702_transaction` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/transactions/examples/send_eip7702_transaction.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/transactions/examples/send_eip7702_transaction.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/transactions/examples/send_eip7702_transaction.rs). diff --git a/src/examples/transactions/send_legacy_transaction.md b/src/examples/transactions/send_legacy_transaction.md index cecd00b..9cd56f0 100644 --- a/src/examples/transactions/send_legacy_transaction.md +++ b/src/examples/transactions/send_legacy_transaction.md @@ -1,7 +1,7 @@ - + ## Example: `send_legacy_transaction` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/transactions/examples/send_legacy_transaction.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/transactions/examples/send_legacy_transaction.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/transactions/examples/send_legacy_transaction.rs). diff --git a/src/examples/transactions/send_private_transaction.md b/src/examples/transactions/send_private_transaction.md index 18eb6d9..8c64e90 100644 --- a/src/examples/transactions/send_private_transaction.md +++ b/src/examples/transactions/send_private_transaction.md @@ -1,7 +1,7 @@ - + ## Example: `send_private_transaction` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/transactions/examples/send_private_transaction.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/transactions/examples/send_private_transaction.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/transactions/examples/send_private_transaction.rs). diff --git a/src/examples/transactions/send_raw_transaction.md b/src/examples/transactions/send_raw_transaction.md index 94625ed..53daab0 100644 --- a/src/examples/transactions/send_raw_transaction.md +++ b/src/examples/transactions/send_raw_transaction.md @@ -1,7 +1,7 @@ - + ## Example: `send_raw_transaction` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/transactions/examples/send_raw_transaction.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/transactions/examples/send_raw_transaction.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/transactions/examples/send_raw_transaction.rs). diff --git a/src/examples/transactions/trace_call.md b/src/examples/transactions/trace_call.md index f2b5194..c441ab8 100644 --- a/src/examples/transactions/trace_call.md +++ b/src/examples/transactions/trace_call.md @@ -1,7 +1,7 @@ - + ## Example: `trace_call` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/transactions/examples/trace_call.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/transactions/examples/trace_call.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/transactions/examples/trace_call.rs). diff --git a/src/examples/transactions/trace_transaction.md b/src/examples/transactions/trace_transaction.md index 64e88f8..786552c 100644 --- a/src/examples/transactions/trace_transaction.md +++ b/src/examples/transactions/trace_transaction.md @@ -1,7 +1,7 @@ - + ## Example: `trace_transaction` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/transactions/examples/trace_transaction.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/transactions/examples/trace_transaction.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/transactions/examples/trace_transaction.rs). diff --git a/src/examples/transactions/transfer_erc20.md b/src/examples/transactions/transfer_erc20.md index 26fc70e..9fe58fa 100644 --- a/src/examples/transactions/transfer_erc20.md +++ b/src/examples/transactions/transfer_erc20.md @@ -1,7 +1,7 @@ - + ## Example: `transfer_erc20` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/transactions/examples/transfer_erc20.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/transactions/examples/transfer_erc20.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/transactions/examples/transfer_erc20.rs). diff --git a/src/examples/transactions/transfer_eth.md b/src/examples/transactions/transfer_eth.md index 542bacd..72f76dc 100644 --- a/src/examples/transactions/transfer_eth.md +++ b/src/examples/transactions/transfer_eth.md @@ -1,7 +1,7 @@ - + ## Example: `transfer_eth` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/transactions/examples/transfer_eth.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/transactions/examples/transfer_eth.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/transactions/examples/transfer_eth.rs). diff --git a/src/examples/transactions/with_access_list.md b/src/examples/transactions/with_access_list.md index bde9861..9762bca 100644 --- a/src/examples/transactions/with_access_list.md +++ b/src/examples/transactions/with_access_list.md @@ -1,7 +1,7 @@ - + ## Example: `with_access_list` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/transactions/examples/with_access_list.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/transactions/examples/with_access_list.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/transactions/examples/with_access_list.rs). diff --git a/src/examples/wallets/aws_signer.md b/src/examples/wallets/aws_signer.md index 5d18786..bba3abf 100644 --- a/src/examples/wallets/aws_signer.md +++ b/src/examples/wallets/aws_signer.md @@ -1,7 +1,7 @@ - + ## Example: `aws_signer` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/wallets/examples/aws_signer.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/wallets/examples/aws_signer.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/wallets/examples/aws_signer.rs). diff --git a/src/examples/wallets/create_keystore.md b/src/examples/wallets/create_keystore.md index c9e6802..a09a6c3 100644 --- a/src/examples/wallets/create_keystore.md +++ b/src/examples/wallets/create_keystore.md @@ -1,7 +1,7 @@ - + ## Example: `create_keystore` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/wallets/examples/create_keystore.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/wallets/examples/create_keystore.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/wallets/examples/create_keystore.rs). diff --git a/src/examples/wallets/keystore_signer.md b/src/examples/wallets/keystore_signer.md index 88465f2..e48ccdf 100644 --- a/src/examples/wallets/keystore_signer.md +++ b/src/examples/wallets/keystore_signer.md @@ -1,7 +1,7 @@ - + ## Example: `keystore_signer` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/wallets/examples/keystore_signer.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/wallets/examples/keystore_signer.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/wallets/examples/keystore_signer.rs). diff --git a/src/examples/wallets/ledger_signer.md b/src/examples/wallets/ledger_signer.md index 4e58704..cc779a6 100644 --- a/src/examples/wallets/ledger_signer.md +++ b/src/examples/wallets/ledger_signer.md @@ -1,7 +1,7 @@ - + ## Example: `ledger_signer` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/wallets/examples/ledger_signer.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/wallets/examples/ledger_signer.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/wallets/examples/ledger_signer.rs). diff --git a/src/examples/wallets/mnemonic_signer.md b/src/examples/wallets/mnemonic_signer.md index 0c1e329..ef317fe 100644 --- a/src/examples/wallets/mnemonic_signer.md +++ b/src/examples/wallets/mnemonic_signer.md @@ -1,7 +1,7 @@ - + ## Example: `mnemonic_signer` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/wallets/examples/mnemonic_signer.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/wallets/examples/mnemonic_signer.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/wallets/examples/mnemonic_signer.rs). diff --git a/src/examples/wallets/private_key_signer.md b/src/examples/wallets/private_key_signer.md index 8934614..6942eb7 100644 --- a/src/examples/wallets/private_key_signer.md +++ b/src/examples/wallets/private_key_signer.md @@ -1,7 +1,7 @@ - + ## Example: `private_key_signer` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/wallets/examples/private_key_signer.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/wallets/examples/private_key_signer.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/wallets/examples/private_key_signer.rs). diff --git a/src/examples/wallets/sign_message.md b/src/examples/wallets/sign_message.md index 11e1930..f37d17d 100644 --- a/src/examples/wallets/sign_message.md +++ b/src/examples/wallets/sign_message.md @@ -1,7 +1,7 @@ - + ## Example: `sign_message` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/wallets/examples/sign_message.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/wallets/examples/sign_message.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/wallets/examples/sign_message.rs). diff --git a/src/examples/wallets/sign_permit_hash.md b/src/examples/wallets/sign_permit_hash.md index eea81b4..217dbd5 100644 --- a/src/examples/wallets/sign_permit_hash.md +++ b/src/examples/wallets/sign_permit_hash.md @@ -1,7 +1,7 @@ - + ## Example: `sign_permit_hash` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/wallets/examples/sign_permit_hash.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/wallets/examples/sign_permit_hash.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/wallets/examples/sign_permit_hash.rs). diff --git a/src/examples/wallets/trezor_signer.md b/src/examples/wallets/trezor_signer.md index caef21c..fa16013 100644 --- a/src/examples/wallets/trezor_signer.md +++ b/src/examples/wallets/trezor_signer.md @@ -1,7 +1,7 @@ - + ## Example: `trezor_signer` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/wallets/examples/trezor_signer.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/wallets/examples/trezor_signer.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/wallets/examples/trezor_signer.rs). diff --git a/src/examples/wallets/verify_message.md b/src/examples/wallets/verify_message.md index 7bdf717..2cdd421 100644 --- a/src/examples/wallets/verify_message.md +++ b/src/examples/wallets/verify_message.md @@ -1,7 +1,7 @@ - + ## Example: `verify_message` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/wallets/examples/verify_message.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/wallets/examples/verify_message.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/wallets/examples/verify_message.rs). diff --git a/src/examples/wallets/yubi_signer.md b/src/examples/wallets/yubi_signer.md index 846ed12..23e181f 100644 --- a/src/examples/wallets/yubi_signer.md +++ b/src/examples/wallets/yubi_signer.md @@ -1,7 +1,7 @@ - + ## Example: `yubi_signer` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/wallets/examples/yubi_signer.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/4773fb93e2bfe7762c0c883920293ff9af1f283c/examples/wallets/examples/yubi_signer.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/65126561b942e642bd6c34d4df7676f39779b283/examples/wallets/examples/yubi_signer.rs). diff --git a/src/getting-started/installation.md b/src/getting-started/installation.md index 2baf65e..de37af5 100644 --- a/src/getting-started/installation.md +++ b/src/getting-started/installation.md @@ -11,7 +11,7 @@ cargo add alloy --features full Alternatively, you can add the following to your `Cargo.toml` file: ```toml -alloy = { version = "0.4", features = ["full"] } +alloy = { version = "0.5", features = ["full"] } ``` For a more fine-grained control over the features you wish to include, you can add the individual crates to your `Cargo.toml` file, or use the `alloy` crate with the features you need. diff --git a/src/templates/advanced/README.md b/src/templates/advanced/README.md index 916bc3c..29d240b 100644 --- a/src/templates/advanced/README.md +++ b/src/templates/advanced/README.md @@ -4,4 +4,5 @@ - [Decoding with `json_abi`](decoding_json_abi.md) - [Encoding with `dyn_abi`](encoding_dyn_abi.md) - [Static encoding with `sol!`](encoding_sol_static.md) -- [Using `foundry-fork-db`](foundry_fork_db.md) \ No newline at end of file +- [Using `foundry-fork-db`](foundry_fork_db.md) +- [Wrapping `Provider` trait over `reth-db`](reth_db_provider.md) \ No newline at end of file diff --git a/src/templates/comparison/README.md b/src/templates/comparison/README.md new file mode 100644 index 0000000..cc124ac --- /dev/null +++ b/src/templates/comparison/README.md @@ -0,0 +1,4 @@ +## Comparison + +- [Compare block headers between providers](compare_new_heads.md) +- [Compare pending transactions between providers](compare_pending_txs.md) \ No newline at end of file