Git Product home page Git Product logo

Comments (8)

caesarchad avatar caesarchad commented on June 12, 2024

Test Case 1

  1. Set up MPV in Lab environment

  2. Run nodejs script for a 100+ airdrop (transactions)

Test Case 2

  1. Set up MPV in Lab environment

  2. Run script of loop transactions .

from bitconch-core.

luhuimao avatar luhuimao commented on June 12, 2024

@caesarchad Bro If failed at Parity installation and got an error likes : ..\src\addon.cpp(59): error C2661: “v8::Function::NewInstance”: 没有重载函数接受 2 个参数 [E:\polymath-token-15-1-18_airdrop_script\node_modules\sha3\build\sha3.vcxproj] ,then probably a breaking change in node10 , I uninstall node 10 then install node 8 problem solved.

from bitconch-core.

luhuimao avatar luhuimao commented on June 12, 2024

There are two ways to install npm packages: locally or globally. Choose which kind of installation to use based on how you want to use the package.

  • If you want to depend on the package from your own module, using something like Node.js' require, then you want to install locally. This is npm install's default behavior.
  • If you want to use a package as a command line tool, then install it globally. This way, it works no matter which directory is current. This is the choice you would use if you were installing grunt, for example.

To download packages globally, use the command npm install -g , e.g.:
npm install -g jshint

from bitconch-core.

luhuimao avatar luhuimao commented on June 12, 2024

Deploy smart contract locally by Ganache CLI, I followed this article and works good to me, smart contract can deployed and executed manually .
Next step I gonna to test 100+ transactions automatically .

from bitconch-core.

caesarchad avatar caesarchad commented on June 12, 2024

Several pre-requisites to run this on Windows 10:

1 - Python 2.7.15

2 - Windows Build Tools ( VScode, .net SDK, etc )

  • npm install -g --production windows-build-tools

3 - Nodejs 8.11.4

from bitconch-core.

caesarchad avatar caesarchad commented on June 12, 2024
  1. Create a folder with
  2. Truffle init
  3. npm init
  4. npm install several pkg ( web3, etc...)

from bitconch-core.

caesarchad avatar caesarchad commented on June 12, 2024

Update the tracker with more details.
Test env set.

from bitconch-core.

caesarchad avatar caesarchad commented on June 12, 2024

@luhuimao
https://hackernoon.com/how-to-script-an-automatic-token-airdrop-for-40k-subscribers-e40c8b1a02c6
https://medium.com/@weka/how-to-send-ether-to-11-440-people-187e332566b7

Source Code
https://github.com/PolymathNetwork/polymath-token/tree/15-1-18_airdrop_script

To Do
Modify the script for 160K transaction

from bitconch-core.

Related Issues (20)

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.