GithubHelp home page GithubHelp logo

solana-bot-worker-63b7's Introduction

  • npm install
  • wrangler login
  • npm run watch
  • npm run deploy
  • wrangler secret put

Add local secrets to .dev.vars, put secrets to cloudflare

When using node modules such as Buffer, import as node:buffer.

This project works (somewhat) but was abandoned for two reasons:

  • Cloudflare support for Node is very limited and requires going through a bunch of hoops to get it to work. Like webpack, etc.
  • Cloudflare has a hard limit of 30 seconds for workers

Azure was first explored as an alternative due to the long run times allowed, seemingly simple setup and seemingly simple UI dashboard, but AWS was selected as the final lambda provider due to the comprehensive documentation available and specific error messages.

The newer version of this copy trader still uses Cloudflare, but only as the front-end for authenticating and capturing Helius events which are then forwarded to an AWS lambda for final processing, see aws-sam-solana-bot and solana-bot-webhook-handler-dd07.

solana-bot-worker-63b7's People

Contributors

thomas-sodon avatar

Stargazers

Slerf CTO $SLERF avatar

Watchers

 avatar

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.