diff --git a/lib/examples b/lib/examples index a8fbd2e..85f3dd1 160000 --- a/lib/examples +++ b/lib/examples @@ -1 +1 @@ -Subproject commit a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef +Subproject commit 85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910 diff --git a/src/SUMMARY.md b/src/SUMMARY.md index fa19dc0..8587093 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -44,6 +44,7 @@ + - [Big numbers](./examples/big-numbers/README.md) - [Comparison and equivalence](./examples/big-numbers/comparison_equivalence.md) - [Conversion](./examples/big-numbers/conversion.md) @@ -87,6 +88,7 @@ - [WS](./examples/providers/ws.md) - [WS with authentication](./examples/providers/ws_with_auth.md) - [IPC](./examples/providers/ipc.md) + - [Batch RPC](./examples/providers/batch_rpc.md) - [Queries](./examples/queries/README.md) - [Query contract storage](./examples/queries/query_contract_storage.md) - [Query contract deployed bytecode](./examples/queries/query_deployed_bytecode.md) @@ -141,8 +143,9 @@ - [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 -- [Help us improve Alloy](./appendix/contributing.md) \ No newline at end of file +- [Help us improve Alloy](./appendix/contributing.md) diff --git a/src/examples/advanced/any_network.md b/src/examples/advanced/any_network.md index df962d9..63425b1 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/advanced/examples/any_network.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 b286b26..dbd7023 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/advanced/examples/decoding_json_abi.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 27141dd..a79808e 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/advanced/examples/encoding_dyn_abi.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 bbc2dda..73cbc4a 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/advanced/examples/encoding_sol_static.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 da07209..70cadfa 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/advanced/examples/foundry_fork_db.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 index 92af3ce..f77aeb3 100644 --- a/src/examples/advanced/reth_db_layer.md +++ b/src/examples/advanced/reth_db_layer.md @@ -1,7 +1,7 @@ - + ## Example: `reth_db_layer` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/advanced/examples/reth_db_layer.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/advanced/examples/reth_db_layer.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 index 174ca4f..6256d64 100644 --- a/src/examples/advanced/reth_db_provider.md +++ b/src/examples/advanced/reth_db_provider.md @@ -1,7 +1,7 @@ - + ## Example: `reth_db_provider` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/advanced/examples/reth_db_provider.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/advanced/examples/reth_db_provider.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 b7846f8..407d1f7 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/big-numbers/examples/comparison_equivalence.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/big-numbers/examples/comparison_equivalence.rs). diff --git a/src/examples/big-numbers/conversion.md b/src/examples/big-numbers/conversion.md index bea9bfc..2bdba76 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/big-numbers/examples/conversion.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 487ba86..79d4dc0 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/big-numbers/examples/create_instances.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 8ff4016..4e4e592 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/big-numbers/examples/math_operations.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 5f99df3..01b4f28 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/big-numbers/examples/math_utilities.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/big-numbers/examples/math_utilities.rs). diff --git a/src/examples/comparison/compare_new_heads.md b/src/examples/comparison/compare_new_heads.md index 4162378..bc6c186 100644 --- a/src/examples/comparison/compare_new_heads.md +++ b/src/examples/comparison/compare_new_heads.md @@ -1,7 +1,7 @@ - + ## Example: `compare_new_heads` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/comparison/examples/compare_new_heads.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/comparison/examples/compare_new_heads.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 index 4ea1a1d..3fc856e 100644 --- a/src/examples/comparison/compare_pending_txs.md +++ b/src/examples/comparison/compare_pending_txs.md @@ -1,7 +1,7 @@ - + ## Example: `compare_pending_txs` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/comparison/examples/compare_pending_txs.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/comparison/examples/compare_pending_txs.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 a30d455..81a9bc4 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/contracts/examples/deploy_from_artifact.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 8dbb511..0f97b34 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/contracts/examples/deploy_from_bytecode.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 85f1ff9..2436777 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/contracts/examples/deploy_from_contract.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 c1d1bc4..4b56f66 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/contracts/examples/interact_with_abi.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 a90f46d..2102775 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/contracts/examples/interact_with_contract_instance.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 6233e92..c4d8e86 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/contracts/examples/jsonrpc_error_decoding.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 376648a..485357c 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/contracts/examples/unknown_return_types.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/contracts/examples/unknown_return_types.rs). diff --git a/src/examples/fillers/gas_filler.md b/src/examples/fillers/gas_filler.md index befe609..4e2480e 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/fillers/examples/gas_filler.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/fillers/examples/gas_filler.rs). diff --git a/src/examples/fillers/nonce_filler.md b/src/examples/fillers/nonce_filler.md index 0d662f4..e90b3e8 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/fillers/examples/nonce_filler.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/fillers/examples/nonce_filler.rs). diff --git a/src/examples/fillers/recommended_fillers.md b/src/examples/fillers/recommended_fillers.md index f408d10..0b2d3b6 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/fillers/examples/recommended_fillers.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/fillers/examples/recommended_fillers.rs). diff --git a/src/examples/fillers/wallet_filler.md b/src/examples/fillers/wallet_filler.md index 6bb8517..301a302 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/fillers/examples/wallet_filler.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/fillers/examples/wallet_filler.rs). diff --git a/src/examples/layers/hyper_http_layer.md b/src/examples/layers/hyper_http_layer.md index 59e6f31..319ce68 100644 --- a/src/examples/layers/hyper_http_layer.md +++ b/src/examples/layers/hyper_http_layer.md @@ -1,7 +1,7 @@ - + ## Example: `hyper_http_layer` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/layers/examples/hyper_http_layer.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/layers/examples/hyper_http_layer.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/layers/examples/hyper_http_layer.rs). diff --git a/src/examples/layers/logging_layer.md b/src/examples/layers/logging_layer.md index 2f910d2..79165cb 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/layers/examples/logging_layer.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/layers/examples/logging_layer.rs). diff --git a/src/examples/layers/retry_layer.md b/src/examples/layers/retry_layer.md index 0232c68..3550742 100644 --- a/src/examples/layers/retry_layer.md +++ b/src/examples/layers/retry_layer.md @@ -1,7 +1,7 @@ - + ## Example: `retry_layer` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/layers/examples/retry_layer.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/layers/examples/retry_layer.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/layers/examples/retry_layer.rs). diff --git a/src/examples/node-bindings/anvil_deploy_contract.md b/src/examples/node-bindings/anvil_deploy_contract.md index 16f5383..ce394ac 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/node-bindings/examples/anvil_deploy_contract.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 316cc8c..2c78af6 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/node-bindings/examples/anvil_fork_instance.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 a145eeb..191643a 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/node-bindings/examples/anvil_fork_provider.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 0b61a41..76627d1 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/node-bindings/examples/anvil_local_instance.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 73b1584..1802457 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/node-bindings/examples/anvil_local_provider.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 b5700c5..ef5485d 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/node-bindings/examples/anvil_set_storage_at.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 d98c16a..ca41deb 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/node-bindings/examples/geth_local_instance.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 2da0215..49a7411 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/node-bindings/examples/reth_local_instance.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 7d186b8..07cfbdd 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/primitives/examples/bytes_and_address_types.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 5e3c272..5fbf8ec 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/primitives/examples/hashing_functions.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/primitives/examples/hashing_functions.rs). diff --git a/src/examples/providers/README.md b/src/examples/providers/README.md index 6d10dae..c6519f8 100644 --- a/src/examples/providers/README.md +++ b/src/examples/providers/README.md @@ -6,4 +6,5 @@ - [HTTP with authentication](http_with_auth.md) - [WS](ws.md) - [WS with authentication](ws_with_auth.md) -- [IPC](ipc.md) \ No newline at end of file +- [IPC](ipc.md) +- [Batch RPC](batch_rpc.md) diff --git a/src/examples/providers/batch_rpc.md b/src/examples/providers/batch_rpc.md new file mode 100644 index 0000000..e1bfbeb --- /dev/null +++ b/src/examples/providers/batch_rpc.md @@ -0,0 +1,19 @@ + + + + + +## Example: `batch_rpc` + +### 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 batch_rpc` + +```rust,ignore +{{#include ../../../lib/examples/examples/providers/examples/batch_rpc.rs}} +``` + +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/providers/examples/batch_rpc.rs). diff --git a/src/examples/providers/builder.md b/src/examples/providers/builder.md index 3a01fe6..c1cfffe 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/providers/examples/builder.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/providers/examples/builder.rs). diff --git a/src/examples/providers/builtin.md b/src/examples/providers/builtin.md index dd91dcc..ad41725 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/providers/examples/builtin.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/providers/examples/builtin.rs). diff --git a/src/examples/providers/http.md b/src/examples/providers/http.md index bd1246c..5e75fd8 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/providers/examples/http.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/providers/examples/http.rs). diff --git a/src/examples/providers/http_with_auth.md b/src/examples/providers/http_with_auth.md index 5fea0bf..a1cec89 100644 --- a/src/examples/providers/http_with_auth.md +++ b/src/examples/providers/http_with_auth.md @@ -1,7 +1,7 @@ - + ## Example: `http_with_auth` @@ -16,4 +16,4 @@ To run this example: {{#include ../../../lib/examples/examples/providers/examples/http_with_auth.rs}} ``` -Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/providers/examples/http_with_auth.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/providers/examples/http_with_auth.rs). diff --git a/src/examples/providers/ipc.md b/src/examples/providers/ipc.md index d9223f4..418d3ce 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/providers/examples/ipc.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/providers/examples/ipc.rs). diff --git a/src/examples/providers/ws.md b/src/examples/providers/ws.md index 85d7165..f5abd44 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/providers/examples/ws.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/providers/examples/ws.rs). diff --git a/src/examples/providers/ws_with_auth.md b/src/examples/providers/ws_with_auth.md index 14d2cf7..34c30d8 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/providers/examples/ws_with_auth.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 388cd36..b1ac382 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/queries/examples/query_contract_storage.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 ce5f150..5349024 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/queries/examples/query_deployed_bytecode.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/queries/examples/query_deployed_bytecode.rs). diff --git a/src/examples/queries/query_logs.md b/src/examples/queries/query_logs.md index fb2f29a..403f5c3 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/queries/examples/query_logs.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/queries/examples/query_logs.rs). diff --git a/src/examples/sol-macro/contract.md b/src/examples/sol-macro/contract.md index 85f1ff9..2436777 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/contracts/examples/deploy_from_contract.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 26aedd0..6c15070 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/sol-macro/examples/decode_returns.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 ff9c7c7..dd9cc01 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/sol-macro/examples/events_errors.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 146c569..2000d06 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/sol-macro/examples/structs_enums.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 0131f78..9501b6e 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/sol-macro/examples/user_defined_types.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 771b0df..3f8ec51 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/subscriptions/examples/event_multiplexer.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/subscriptions/examples/event_multiplexer.rs). diff --git a/src/examples/subscriptions/poll_logs.md b/src/examples/subscriptions/poll_logs.md index a1c3f69..77efc8a 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/subscriptions/examples/poll_logs.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 ad6d347..e66a64a 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/subscriptions/examples/subscribe_all_logs.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/subscriptions/examples/subscribe_all_logs.rs). diff --git a/src/examples/subscriptions/subscribe_blocks.md b/src/examples/subscriptions/subscribe_blocks.md index fd4ed24..6c17591 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/subscriptions/examples/subscribe_blocks.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/subscriptions/examples/subscribe_blocks.rs). diff --git a/src/examples/subscriptions/subscribe_logs.md b/src/examples/subscriptions/subscribe_logs.md index 119f698..53c59f4 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/subscriptions/examples/subscribe_logs.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 23bfdc4..0958f60 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/subscriptions/examples/subscribe_pending_transactions.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/subscriptions/examples/subscribe_pending_transactions.rs). diff --git a/src/examples/transactions/decode_input.md b/src/examples/transactions/decode_input.md index f48fad6..ae4868a 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/transactions/examples/decode_input.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 3c5f467..39d214a 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/transactions/examples/encode_decode_eip1559.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 00cd9cc..08e17c5 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/transactions/examples/gas_price_usd.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 79da64b..2df2a2f 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/transactions/examples/send_eip1559_transaction.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 008a7bb..f3c41e1 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/transactions/examples/send_eip4844_transaction.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 510ba3e..8a2d8b0 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/transactions/examples/send_eip7702_transaction.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 770b993..975709c 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/transactions/examples/send_legacy_transaction.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 28a2dad..42a16e0 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/transactions/examples/send_private_transaction.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 bfcfaed..b2af81a 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/transactions/examples/send_raw_transaction.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/transactions/examples/send_raw_transaction.rs). diff --git a/src/examples/transactions/trace_call.md b/src/examples/transactions/trace_call.md index 87d1979..dcb6378 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/transactions/examples/trace_call.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/transactions/examples/trace_call.rs). diff --git a/src/examples/transactions/trace_transaction.md b/src/examples/transactions/trace_transaction.md index 98ab294..ef62c52 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/transactions/examples/trace_transaction.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/transactions/examples/trace_transaction.rs). diff --git a/src/examples/transactions/transfer_erc20.md b/src/examples/transactions/transfer_erc20.md index 9dc0162..ac48fc7 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/transactions/examples/transfer_erc20.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/transactions/examples/transfer_erc20.rs). diff --git a/src/examples/transactions/transfer_eth.md b/src/examples/transactions/transfer_eth.md index 7216f38..7d439fc 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/transactions/examples/transfer_eth.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 9f7439b..6e56a49 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/transactions/examples/with_access_list.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/transactions/examples/with_access_list.rs). diff --git a/src/examples/wallets/aws_signer.md b/src/examples/wallets/aws_signer.md index 63b4d11..2fb51ad 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/wallets/examples/aws_signer.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/wallets/examples/aws_signer.rs). diff --git a/src/examples/wallets/create_keystore.md b/src/examples/wallets/create_keystore.md index 7f6e0ce..c057247 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/wallets/examples/create_keystore.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/wallets/examples/create_keystore.rs). diff --git a/src/examples/wallets/keystore_signer.md b/src/examples/wallets/keystore_signer.md index 04e10be..d19b83e 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/wallets/examples/keystore_signer.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/wallets/examples/keystore_signer.rs). diff --git a/src/examples/wallets/ledger_signer.md b/src/examples/wallets/ledger_signer.md index 43e71d2..763fa29 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/wallets/examples/ledger_signer.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/wallets/examples/ledger_signer.rs). diff --git a/src/examples/wallets/mnemonic_signer.md b/src/examples/wallets/mnemonic_signer.md index 75410a2..fff31b8 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/wallets/examples/mnemonic_signer.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 0144892..38a0bfe 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/wallets/examples/private_key_signer.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/wallets/examples/private_key_signer.rs). diff --git a/src/examples/wallets/sign_message.md b/src/examples/wallets/sign_message.md index 5484d50..20f9981 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/wallets/examples/sign_message.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/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 62573c4..9d6e99c 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/wallets/examples/sign_permit_hash.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/wallets/examples/sign_permit_hash.rs). diff --git a/src/examples/wallets/trezor_signer.md b/src/examples/wallets/trezor_signer.md index a27ae5a..42767f8 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/wallets/examples/trezor_signer.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/wallets/examples/trezor_signer.rs). diff --git a/src/examples/wallets/verify_message.md b/src/examples/wallets/verify_message.md index 65bf6da..533a526 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/wallets/examples/verify_message.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/wallets/examples/verify_message.rs). diff --git a/src/examples/wallets/yubi_signer.md b/src/examples/wallets/yubi_signer.md index 1f6d534..5a3c065 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/a8fbd2ed6037f6ca5c7980a9690fe0c0ef8e2fef/examples/wallets/examples/yubi_signer.rs). +Find the source code on Github [here](https://github.com/alloy-rs/examples/tree/85f3dd12c38b7f3f9389f9bea3b604ee7c3f1910/examples/wallets/examples/yubi_signer.rs). diff --git a/src/getting-started/installation.md b/src/getting-started/installation.md index 7232a25..7edb4e5 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.6", features = ["full"] } +alloy = { version = "0.7", 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. @@ -37,12 +37,25 @@ Default - `std` - `reqwest` +- `alloy-core/default` Full, a set of the most commonly used flags to get started with `alloy`. -- `full` +- `full`: + - `consensus` + - `contract` + - `eips` + - `k256` + - `kzg` + - `network` + - `provider-http` + - `provider-ws` + - `provider-ipc` + - `rpc-types` + - `signer-local` General + - `consensus` - `contract` - `eips` @@ -51,12 +64,14 @@ General - `node-bindings` Providers + - `providers` - `provider-http` - `provider-ipc` - `provider-ws` RPC + - `rpc` - `json-rpc` - `rpc-client` @@ -75,6 +90,7 @@ RPC - `rpc-types-txpool` Signers + - `signers` - `signer-aws` - `signer-gcp` @@ -90,7 +106,7 @@ Signers By default `alloy` uses [`reqwest`](https://crates.io/crates/reqwest) as HTTP client. Alternatively one can switch to [`hyper`](https://crates.io/crates/hyper). The `reqwest` and `hyper` feature flags are mutually exclusive. - + A complete list of available features can be found on [docs.rs](https://docs.rs/crate/alloy/latest/features) or in the [`alloy` crate's `Cargo.toml`](https://github.com/alloy-rs/alloy/blob/main/crates/alloy/Cargo.toml). The feature flags largely correspond with and enable features from the following individual crates. @@ -115,6 +131,7 @@ The feature flags largely correspond with and enable features from the following - [alloy-rpc-types-admin](https://github.com/alloy-rs/alloy/tree/main/crates/rpc-types-admin) - Types for the `admin` Ethereum JSON-RPC namespace - [alloy-rpc-types-anvil](https://github.com/alloy-rs/alloy/tree/main/crates/rpc-types-anvil) - Types for the [Anvil](https://github.com/foundry-rs/foundry) development node's Ethereum JSON-RPC namespace - [alloy-rpc-types-beacon](https://github.com/alloy-rs/alloy/tree/main/crates/rpc-types-beacon) - Types for the [Ethereum Beacon Node API](https://ethereum.github.io/beacon-APIs) + - [alloy-rpc-types-debug](https://github.com/alloy-rs/alloy/tree/main/crates/rpc-types-debug) - Types for the `debug` Ethereum JSON-RPC namespace - [alloy-rpc-types-engine](https://github.com/alloy-rs/alloy/tree/main/crates/rpc-types-engine) - Types for the `engine` Ethereum JSON-RPC namespace - [alloy-rpc-types-eth](https://github.com/alloy-rs/alloy/tree/main/crates/rpc-types-eth) - Types for the `eth` Ethereum JSON-RPC namespace - [alloy-rpc-types-mev](https://github.com/alloy-rs/alloy/tree/main/crates/rpc-types-mev) - Types for the MEV bundle JSON-RPC namespace. @@ -143,4 +160,4 @@ The feature flags largely correspond with and enable features from the following - [alloy-sol-macro](https://github.com/alloy-rs/core/tree/main/crates/sol-macro) - The [`sol!`](https://docs.rs/alloy-sol-macro/latest/alloy_sol_macro/macro.sol.html) procedural macro - [alloy-sol-type-parser](https://github.com/alloy-rs/core/tree/main/crates/sol-type-parser) - A simple parser for Solidity type strings - [alloy-sol-types](https://github.com/alloy-rs/core/tree/main/crates/sol-types) - Compile-time [ABI](https://docs.soliditylang.org/en/latest/abi-spec.html) and [EIP-712](https://eips.ethereum.org/EIPS/eip-712) implementations -- [syn-solidity](https://github.com/alloy-rs/core/tree/main/crates/syn-solidity) - [`syn`](https://github.com/dtolnay/syn)-powered Solidity parser \ No newline at end of file +- [syn-solidity](https://github.com/alloy-rs/core/tree/main/crates/syn-solidity) - [`syn`](https://github.com/dtolnay/syn)-powered Solidity parser diff --git a/src/templates/providers/README.md b/src/templates/providers/README.md index 6d10dae..c6519f8 100644 --- a/src/templates/providers/README.md +++ b/src/templates/providers/README.md @@ -6,4 +6,5 @@ - [HTTP with authentication](http_with_auth.md) - [WS](ws.md) - [WS with authentication](ws_with_auth.md) -- [IPC](ipc.md) \ No newline at end of file +- [IPC](ipc.md) +- [Batch RPC](batch_rpc.md)