{"id":18304557,"url":"https://github.com/numtel/nano-mass-tx","last_synced_at":"2025-04-05T15:31:20.542Z","repository":{"id":57307790,"uuid":"120842681","full_name":"numtel/nano-mass-tx","owner":"numtel","description":"Send transactions back and forth to load the network","archived":false,"fork":false,"pushed_at":"2018-02-09T02:20:21.000Z","size":10,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-04T07:51:20.760Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/numtel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-09T01:57:33.000Z","updated_at":"2021-05-01T13:35:43.000Z","dependencies_parsed_at":"2022-08-31T04:53:26.983Z","dependency_job_id":null,"html_url":"https://github.com/numtel/nano-mass-tx","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numtel%2Fnano-mass-tx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numtel%2Fnano-mass-tx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numtel%2Fnano-mass-tx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numtel%2Fnano-mass-tx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/numtel","download_url":"https://codeload.github.com/numtel/nano-mass-tx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247358633,"owners_count":20926262,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T15:29:19.592Z","updated_at":"2025-04-05T15:31:18.132Z","avatar_url":"https://github.com/numtel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nano-mass-tx\n\nWith all the talk of Nano Currency network stress testing, there should be a simple tool to take part yourself. This is that tool.\n\nNo Node RPC is required thanks to the [nano-node NPM module](https://github.com/numtel/node-nano-node).\n\n## Installation and Usage\n\nUse [nvm](https://github.com/creationix/nvm) to install Node.js if you do not already have it installed. Install the package globally:\n\n```sh\n$ npm install -g nano-mass-tx\n```\n\nAs shown below, you will be prompted for the parameters of the process. You may exit with Ctrl+C or Ctrl+D (at prompts) at any time and resume progress by speciying the same output file.\n\nIf for some reason your balance is not returned at the end of the sequence, you may import the seed from the output file into a wallet and recover the funds.\n\nStart the process, specifying an output file that will be saved to each at update or resumed from in later instances:\n\n```sh\n$ nano-mass-tx test.json\nerror reading persistence file, starting from new\n```\n\nA wallet with 2 accounts is generated randomly at the beginning. The test will transfer the balance of one account to the other and back again until the number of transactions desired has been reached. The first prompt asks how many transactions to send.\n\n```\nHow many transactions to send? (not counting the final return transaction, will be rounded to nearest odd number greater than or equal to 3) 10\n```\n\nYou are then prompted to send an amount to the first account.\n\n```\nPlease specify 64 character hex string of a pending send block to xrb_1dnukwcqaq93ni8qaqjsrcrgmobhfozzroj8yukfkkc737tdkbsar1s68odd\nFind this hash at https://www.nanode.co/account/xrb_1dnukwcqaq93ni8qaqjsrcrgmobhfozzroj8yukfkkc737tdkbsar1s68odd\nPerform this transaction with an external wallet before continuing.\nWhat is the hash of the block? 6EC4A09C2F64911CEF91A4A271E8268D883D09663ED070E9613ACF53917781F3\n```\n\nNext, the work is calculated for each block using the [raiblocks-pow native code NPM module](https://github.com/numtel/node-raiblocks-pow).\n\n```\nFound 0 blocks pre-calculated\nGenerating work for 2e9b97154e7649a40d745e39c2b0e9d52f6d7ffc5626f6e4d949450974b92728\nWork found: 267400.137ms\nFound 1 blocks pre-calculated\n```\n\nFinally, a prompt for the return address is asked, the last work value is calculated, and then the messages are sent to the network of nodes.\n\n```\nFound 11 sequence messages ready to send\nWhat address to send balance at end? xrb_1a7yzpzt9weaks382899akk6r1cryhxh4kqn73umojks1uzgg4ipc8jii5km\nGenerating work for 1284da019c6b5b0526b322861ccf86af1f862f46e886f8aa6479ff39bd1f05d0\nWork found: 42174.145ms\nSequence and final blocks all ready! Beginning publish...\nserver listening 0.0.0.0:56704\nAcquired 200 peers in 10000 ms\nAll messages sent!\n\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumtel%2Fnano-mass-tx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnumtel%2Fnano-mass-tx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumtel%2Fnano-mass-tx/lists"}