Code Monkey home page Code Monkey logo

warpcast-token-tipper's Introduction

Warpcast Token Tipper

Warpcast utility script to save cast commenters and send tokens

  • Install deps
npm install
  • Add sensitive info in env vars
# .env
# Signer
PKEY=<wallet private key>
  • Add in config.json

All non-sensitive data should is added to the config.json like the token address, default output file name, api endpoints and etc.

How to use

Save Commenters details from a Cast

By default ignores the cast author.

npm run saveReplies -- --url=<url> --outputFilename=<path_to_save_replies_to.csv>

--outputFilename file defaults to the castReplies.csv if none supplied, check the config.json for the default file name.

example: npm run saveReplies -- --url=https://warpcast.com/yes2crypto.eth/0x84b3953d --outputFilename=saveCommenters.csv

Send Tokens

Send tokens to the address in the csv file, supports any ERC20 token just update the token 'address' in the config.json

npm run sendTokens <amount> -- --csv-file=<path_to_csv> ---sent-receipts=<path_to_sent_receipts_to.csv>

--csv-file defaults to castReplies.csv if none is supplied. --sent-receipts save sent txns with the recepients, defaults to sentReceipts.csv if none is supplied.

example: npm run sendTokens -- --amount=200 --csv-file=saveCommenters.csv --outputFilename=sentReceipts.csv

Ignore FIDS

In the config.json you can add FIDS to ignore

example: This ignore degentipbot

"ignoreFid":  [
	"244128" 
]

warpcast-token-tipper's People

Contributors

0xzapata 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.