Giter VIP home page Giter VIP logo

nillion's Introduction

Winnode Project Bot

Description

This project is a bot for the Winnode project that periodically sends $NIL tokens to generated Nillion addresses.

Setup Instructions

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/Winnode/nillion.git
  2. Navigate to the project directory:

    cd nillion
  3. Initialize a new npm project if you haven't already:

    npm init -y
  4. Install the required packages:

    npm install dotenv bip39 @cosmjs/proto-signing @cosmjs/stargate
  5. If you don't have ts-node and typescript installed, you can install them globally:

    npm install -g ts-node typescript

    Or as dev dependencies in your project:

    npm install --save-dev ts-node typescript

Configuration

  1. Create a .env file in the root directory of your project:

    touch .env
  2. Add your mnemonic phrases to the .env file. Example:

    MNEMONIC1="your mnemonic phrase 1"
    MNEMONIC2="your mnemonic phrase 2"
    MNEMONIC3="your mnemonic phrase 3"
    # Add more mnemonics as needed
    
  3. Create a recipients.txt file in the root directory of your project:

    touch recipients.txt
  4. Add recipient addresses to the recipients.txt file, one per line. Example:

    nillion1fjg703wl2hzfyp0qhums37melfdrcut4wc24ze
    nillion1xeg9pupt2qpgmyx5wn8awzul0k4p3l7wpu06zc
    

Running the Script

You can run the TypeScript script using ts-node:

ts-node src/index.ts

nillion's People

Contributors

winnode 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.