degatchi / mev-template-rs Goto Github PK
View Code? Open in Web Editor NEWBootstrap your MEV bot strategies with a simple boilerplate to build on top of.
License: MIT License
Bootstrap your MEV bot strategies with a simple boilerplate to build on top of.
License: MIT License
Hello, thank you for your efforts on this project.
is this bot production ready?
and where should we put the contract address of the deployed contract? (for example there is a SANDWICH_CONTRACT on .env file of subway-rs and rusty-sando bots)
After command: cargo run
I have error:
Calling allPairsLength from 0x152eā¦1be3
~ [FAIL] Total pairs: AbiError(DecodingError(InvalidName("please ensure the contract and method you're calling exist! failed to decode empty bytes. if you're using jsonrpc this is likely due to jsonrpc returning 0x
in case contract or method don't exist")))
Node - i use QuickNode
All work but after use command "cargo run --release" the following happens:
...
Compiling ethabi v17.2.0
Compiling ethers-core v0.17.0 (https://github.com/gakonst/ethers-rs#454449b0)
Compiling ethers-contract-abigen v0.17.0 (https://github.com/gakonst/ethers-rs#454449b0)
Compiling ethers-providers v0.17.0 (https://github.com/gakonst/ethers-rs#454449b0)
Compiling ethers-signers v0.17.0 (https://github.com/gakonst/ethers-rs#454449b0)
Compiling ethers-etherscan v0.17.0 (https://github.com/gakonst/ethers-rs#454449b0)
Compiling ethers-addressbook v0.17.0 (https://github.com/gakonst/ethers-rs#454449b0)
Compiling ethers-solc v0.17.0 (https://github.com/gakonst/ethers-rs#454449b0)
Compiling ethers-contract-derive v0.17.0 (https://github.com/gakonst/ethers-rs#454449b0)
Compiling ethers-contract v0.17.0 (https://github.com/gakonst/ethers-rs#454449b0)
Compiling ethers-middleware v0.17.0 (https://github.com/gakonst/ethers-rs#454449b0)
Compiling ethers v0.17.0 (https://github.com/gakonst/ethers-rs#454449b0)
Compiling mev-template v0.1.0 (/home/test/projects/mev-template-rs)
Finished release [optimized] target(s) in 8m 30s
Running target/release/mev-template
Calling allPairsLength from 0x152eā¦1be3
~ [PASS] Total pairs: 23461
test@-virtual-machine:~/projects/mev-template-rs$
As far as I understand there should be monitoring - but there is not.
I apologize for the stupid question - thanks to your programs I started to learn Rust and still do not fully understand the logic of the program.
Do I need to specify any other parameters besides those specified in the env file?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ššš
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ā¤ļø Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.