GithubHelp home page GithubHelp logo

haydenshively / cafe-chi Goto Github PK

View Code? Open in Web Editor NEW
17.0 17.0 5.0 161 KB

Slow paced ETH-CHI arbitrage on Uniswap

Solidity 10.10% JavaScript 89.90%
1inch arbitrage bot gas-token uniswap web3js

cafe-chi's People

Contributors

haydenshively avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cafe-chi's Issues

Making it work?

Hi Hayden, please can you help get it operating on my machine?

yarn test issues - does not connect to uniswap - gettingtimeouts

I am having an issue when I run yarn test. It looks like it is not connecting and receives a timeout:

yarn test
yarn run v1.22.5
$ mocha --file './tests/setup.js' 'tests/**/*.test.js' --recursive

logging || Winston Test
[winston] Attempt to write logs with no transports {"level":"info","message":"๐Ÿšจ This is a test"}
โœ“ should send Slack message

network/webthree/uniswap || Pair Test
1) should retrieve name
2) should retrieve decimals
3) should retrieve token0
4) should retrieve token1
5) should retrieve reserves
6) should compute amount received

1 passing (12s)
6 failing

  1. network/webthree/uniswap || Pair Test
    should retrieve name:
    Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/opt/Cafe-Chi/tests/network/webthree/uniswap/pair.test.js)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7)

  2. network/webthree/uniswap || Pair Test
    should retrieve decimals:
    Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/opt/Cafe-Chi/tests/network/webthree/uniswap/pair.test.js)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7)

  3. network/webthree/uniswap || Pair Test
    should retrieve token0:
    Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/opt/Cafe-Chi/tests/network/webthree/uniswap/pair.test.js)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7)

  4. network/webthree/uniswap || Pair Test
    should retrieve token1:
    Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/opt/Cafe-Chi/tests/network/webthree/uniswap/pair.test.js)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7)

  5. network/webthree/uniswap || Pair Test
    should retrieve reserves:
    Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/opt/Cafe-Chi/tests/network/webthree/uniswap/pair.test.js)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7)

  6. network/webthree/uniswap || Pair Test
    should compute amount received:
    Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/opt/Cafe-Chi/tests/network/webthree/uniswap/pair.test.js)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7)

^C

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.