Giter VIP home page Giter VIP logo

mev-template-rs's Issues

contract deployment

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)

Error

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

Next problem

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.