{"id":22699905,"url":"https://github.com/dvisacker/tx-executor","last_synced_at":"2025-10-11T10:06:12.694Z","repository":{"id":267077128,"uuid":"900199858","full_name":"Dvisacker/tx-executor","owner":"Dvisacker","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-08T06:22:05.000Z","size":13322,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-03T21:42:29.263Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dvisacker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-08T06:05:20.000Z","updated_at":"2024-12-23T11:28:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"848b95ec-79c9-41c3-bfd4-0b843974057b","html_url":"https://github.com/Dvisacker/tx-executor","commit_stats":null,"previous_names":["dvisacker/tx-executor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Dvisacker/tx-executor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dvisacker%2Ftx-executor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dvisacker%2Ftx-executor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dvisacker%2Ftx-executor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dvisacker%2Ftx-executor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dvisacker","download_url":"https://codeload.github.com/Dvisacker/tx-executor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dvisacker%2Ftx-executor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006831,"owners_count":26084203,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-10T06:09:13.484Z","updated_at":"2025-10-11T10:06:12.670Z","avatar_url":"https://github.com/Dvisacker.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tx-executor\n\nThe tx-executor crate provides a flexible and extensible way to encode and execute atomic blockchain transactions through a single BatchExecutor contract. It allows chaining multiple transactions together without needing to redeploy any contracts.\n\nThis is a modified rust version of https://github.com/Rubilmax/executooor\n\n## Features\n\n- Atomic execution of multiple transactions through a single contract call\n- Flexible encoding of arbitrary contract calls\n- Easily integrate new defi protocols by extending encoder.rs\n- Support for common DeFi operations like:\n  - Token swaps\n  - Lending/borrowing \n  - Flash loans\n  - And more\n\n\n### Examples\n\n```rust\nlet mut encoder = BatchExecutorClient::new(executor_address, CHAIN, provider.clone()).await;\n\nlet (success, receipt) = encoder\n    .add_wrap_eth(weth, input_amount)\n    .add_transfer_erc20(weth, executor_address, input_amount)\n    .add_odos_swap(input_amount, weth, usdc, slippage)\n    .await\n    .exec()\n    .await?;\n\n\nlet (success, receipt) = encoder\n    .add_wrap_eth(weth, amount)\n    .add_transfer_erc20(weth, executor_address, amount)\n    .add_approve_erc20(weth, pool_address, amount)\n    .add_aave_v3_supply(weth, amount)\n    .exec()\n    .await?;\n```\n\nSee tests for more examples\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvisacker%2Ftx-executor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdvisacker%2Ftx-executor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvisacker%2Ftx-executor/lists"}