Coder Social home page Coder Social logo

openmina-transaction-generator's Introduction

Openmina Transaction Generator

NodeJS program used to generate transactions

  1. Add your settings in setup.json file
  2. Run with npm run start

Table of Contents

  1. How to run it on your machine
  2. Configuring your own setup

How to run it on your machine

  1. Install Node.js: First, you need to install Node.js on your computer. You can download the installer from the Node.js website at https://nodejs.org/en/download/. NodeJS 18 is recommended.

  2. Clone the project: Next, clone the Angular project from the Git repository or download the source code as a ZIP file and extract it to a local directory on your computer.

  3. Install project dependencies: Open a command prompt or terminal window in the project directory and run the following command to install the project dependencies: npm install. This command will install all the required dependencies for the project based on the package.json file.

  4. Run the program: Finally, run the following command to run the program: npm run start

Configuring your own setup

You need to go to setup.json where you can add your own configuration. Explaining each field:

  • domain is the domain of the server where you want to send the transactions
  • port is the port of the server where you want to send the transactions
  • network is the network name. Available options are mainnet or testnet
  • sendToAllNodes is a boolean that indicates if you want to send the transactions to all nodes 1 by 1 or. False is not implemented yet
  • transactionsToSend is the number of transactions that you want to send
  • transactionFee is the fee that you want to pay for each transaction (in micromina)
  • transactionAmount is the amount that you want to send for each transaction (in micromina)
  • allNodes is a string array of node names that you want to send the transactions. If you want to send the transactions to active node only, you can leave this array empty

openmina-transaction-generator's People

Contributors

akoptelov avatar directcuteo 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.