Giter VIP home page Giter VIP logo

mint-forest-bot's Introduction

Mint Forest Bot

Mint Forest Bot is a tool for claiming and injecting energy into MintChain's forest ecosystem.

Installation

  1. Clone the repository:
git clone https://github.com/dante4rt/mint-forest-bot.git
  1. Install dependencies:
cd mint-forest-bot
npm install

Configuration

  1. Create a accounts.json file in the root directory of the project.
  2. Add your MintChain API tokens to the accounts.json file in the following format:
[
  "Bearer xxx",
  "Bearer xxx",
  ...
]

Note: You can obtain your MintChain API tokens by registering on the MintChain platform and retrieving them from your account settings.

Accessing Authorization Token

To access the Authorization token required for the accounts.json file, follow these steps:

  1. Open your web browser and go to the MintChain website.
  2. Log in to your account.
  3. Open the developer tools by pressing F12 or right-clicking on the page and selecting "Inspect" or "Inspect Element".
  4. Navigate to the "Network" tab.
  5. Perform a request that requires authentication, such as refreshing the page or accessing a protected resource.
  6. Look for the request in the list of network requests.
  7. Click on the request to view its details.
  8. In the request headers section, you should see an "Authorization" header with a value starting with "Bearer". Copy this value and paste it into the accounts.json file.

Ensure that you keep your API tokens secure and do not share them with anyone else.

Usage

To run the bot, execute the following command:

npm start

mint-forest-bot's People

Contributors

dante4rt avatar nmluthfi 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.