{"_id":"@maticnetwork/matic-cli","_rev":"32-ec1d5f21c30c1029f5566e86dcc101f4","name":"@maticnetwork/matic-cli","dist-tags":{"latest":"0.0.9"},"versions":{"0.0.1":{"name":"@maticnetwork/matic-cli","version":"0.0.1","keywords":["cli","matic-cli"],"author":{"url":"https://matic.network","name":"Matic Tech Team","email":"info@matic.network"},"license":"MIT","_id":"@maticnetwork/matic-cli@0.0.1","maintainers":[{"name":"ptsayli","email":"ptsayli@gmail.com"},{"name":"jdkanani","email":"jdkanani@gmail.com"}],"bin":{"matic-cli":"bin/matic-cli"},"dist":{"shasum":"43b0c0f78f54c07da74971805fcf9fcb025ff5fa","tarball":"https://registry.npmjs.org/@maticnetwork/matic-cli/-/matic-cli-0.0.1.tgz","fileCount":26,"integrity":"sha512-FvYs+ObUl9a9iFwMn1ns0ab/vgKbt2jf61KmkOaGtCf9HzT8ECjEzFbotYl6oH9RZuHVmIPOFGGpnNFbnQrBtw==","signatures":[{"sig":"MEQCIHNikj66e4qpltO2pTbesQ8WfVeIRINZhXuSzelnPc6+AiA51LuVUa5e9NwRGamV3k412RPNa/wfs3s4H1xDtBwcSQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40551,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqZCcCRA9TVsSAnZWagAAi1oP/i/GhZT4b6QBSMerZ8g5\nN/sUqGXqa1PjFzgWq8xLBBRSkaqAacohiCUfzuazM7nu9NA+LrGEMF4KvTG3\nbls8yK/0ZUx4GXSFcFxoZadnkZBLHdjePQ+DSNOL5CUGuWeDQTNdb+SK5KW0\nL37Up+yDzjVg9zKeOaywX+qLK9BoIKCYsRBgd/r53tC61WTf+mhA2BlURvbY\nsnJsHxH9NthLNdaNqViI7BNmTvgdGl2VkM3N+0lwkuyfsgJYsH0vvR7xKRj0\nOpLe0DHtwCvIc4W9VflfhUsEJMZKnDrL4Vx6fvnw6PIlAnAr29oKz7tD2gS8\nporWBd8RnKHV3+jb70GO805qxb7Z4Y5K5UdPM6UfFCtkFVSDLIQ7F12MeHTg\noF806mS58iux9A6j/EHXQVqbSIuOod9RdINwc+l6seTe6W95kExdM5XSjdRL\nM8VgqioebYpHrMc1T3I28VWP+YH0y6qU+fU3pgELAbUqQE0VTV0M1dekD9d4\nABOpTAOSyc2QutAifE7UPj4eRIUpRLwLYX0/eSFAP+s4fvmHOgx8+r60ni+D\nbWAiP6p96/85z2UFv6gLGLOvTc6wuk1MLWaqp9wiHF1xmDZUgwLK7PHrvnig\nf5/94jOf6pumWqcxaCuoxzpEwkb7UjvW0xYS3hos/tzhyK2JC2Sfcek7QfwP\nwpsv\r\n=idHA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"2d0b989c565306f63c4c17e6c5508284a8b8bf1c","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"jdkanani","email":"jdkanani@gmail.com"},"_npmVersion":"6.11.3","description":"A CLI to setup and manage Matic validator nodes","directories":{},"_nodeVersion":"10.17.0","dependencies":{"esm":"^3.2.18","web3":"^1.2.6","boxen":"^4.2.0","chalk":"^2.4.2","execa":"^1.0.0","listr":"^0.14.3","covgen":"^3.1.0","fs-extra":"^9.0.0","inquirer":"^6.2.2","commander":"^5.0.0","ganache-cli":"^6.9.1","pkg-install":"^0.2.0","ethereumjs-util":"^6.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^6.8.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.20.2","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/matic-cli_0.0.1_1588170907871_0.5025672834937693","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@maticnetwork/matic-cli","version":"0.0.2","keywords":["cli","matic-cli"],"author":{"url":"https://matic.network","name":"Matic Tech Team","email":"info@matic.network"},"license":"MIT","_id":"@maticnetwork/matic-cli@0.0.2","maintainers":[{"name":"jdkanani","email":"jdkanani@gmail.com"},{"name":"ptsayli","email":"ptsayli@gmail.com"}],"bin":{"matic-cli":"bin/matic-cli"},"dist":{"shasum":"437dbe41788e54740f8189fc3867c724b771f382","tarball":"https://registry.npmjs.org/@maticnetwork/matic-cli/-/matic-cli-0.0.2.tgz","fileCount":26,"integrity":"sha512-8eSqAtWRZAiWLarzz1ZnbpIkbT2K9+/QDsHhx5n+zMt09Pa98ArNxcZ0xtSpotF0IHMwzHGs61KQsJAlJ5UjqQ==","signatures":[{"sig":"MEUCIHOg+uWlVvMBUrA0MSJr5KOBbKBzKspT2rZ4utP3ydTgAiEA6NaCv/4htToE9sdVMIubtkNyW9yDP7/hR6J/GLsE1Hg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42174,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqnTZCRA9TVsSAnZWagAAxfwP/RCDArFlVnLAFz+GxSls\n9cWpjFqCySL88B3UntpIaOlP9EWMP+UdpC44MMHVrhGh5L2T1GGbblybiSYQ\nHVoSKnuvETZ61sbLJRzlo/wFCLDcNgEGombdSHnpK8wb+8e0ikp5DqfRDJrc\nTWttykXxnBCFendz80NgkKqZFaWl6U5nlbmX1JiW+lzzs7lgv92XjWZSUuyj\nD9vNcbZznxs8k4MzimUIvnRJdQgl33zfea+/Ru/0TLHLng3qfeKk8/4uR2t4\nTWR9lAi9sBhyc5rGgl6yhkSmRLZQoZXQPWO69STaKCI7s+PblNA6RHY4TA1p\nhfazRhVZ9csrYlktN6d3cBdJhTuNk2Zg3Kyu26kbOAkVdCri6FOFDWxVAUdu\nv+vaPBWhjEJXIfkkjm40V9nHvSTalFT2N8E/vMcG/kKyD3uWJvLOf2dTwksy\neFQL+S56IVdSYX2LmUJf5+M+oqstHc5hMLfe0nBREP/4GCLcAevEHGbfJV8j\nT2oxOZN1ULAlh2b8nYh2PpgCKvN0upEly8ZvUVgl3ZegHYts8K+Ii6Coh/Qd\naL43pox+k2AnLuD+516L0Gk6fu1WR5Omtb8Ay4oxbJDumT9JkPwu+lSUtUQL\noCRreuhIDeBiW/C8Uc2lX8IOzf7LJavwBu7cuRtfyFNBj+yaByJsI9zen3Ph\nuwcu\r\n=ZKxY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"e91ac9b9da64be42b52ba9fd7db949edd9b293d4","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"jdkanani","email":"jdkanani@gmail.com"},"_npmVersion":"6.11.3","description":"A CLI to setup and manage Matic validator nodes","directories":{},"_nodeVersion":"10.17.0","dependencies":{"esm":"^3.2.18","web3":"^1.2.6","boxen":"^4.2.0","chalk":"^2.4.2","execa":"^1.0.0","listr":"^0.14.3","covgen":"^3.1.0","fs-extra":"^9.0.0","inquirer":"^6.2.2","commander":"^5.0.0","ganache-cli":"^6.9.1","pkg-install":"^0.2.0","ethereumjs-util":"^6.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^6.8.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.20.2","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/matic-cli_0.0.2_1588229336783_0.6696516500083272","host":"s3://npm-registry-packages"}},"0.0.3-beta.1":{"name":"@maticnetwork/matic-cli","version":"0.0.3-beta.1","keywords":["cli","matic-cli"],"author":{"url":"https://matic.network","name":"Matic Tech Team","email":"info@matic.network"},"license":"MIT","_id":"@maticnetwork/matic-cli@0.0.3-beta.1","maintainers":[{"name":"jdkanani","email":"jdkanani@gmail.com"},{"name":"ptsayli","email":"ptsayli@gmail.com"}],"bin":{"matic-cli":"bin/matic-cli"},"dist":{"shasum":"93127e01a45b304073dd901ac8ef15d1115dd17c","tarball":"https://registry.npmjs.org/@maticnetwork/matic-cli/-/matic-cli-0.0.3-beta.1.tgz","fileCount":42,"integrity":"sha512-YyiZPP7rrdEQEHXZi9nYyQPvhBAXmN2W+7JbbHWg+rt8/rLGQEf7tiXx1yY9Sbsx1Oa4D3URn/tiwnsYQLEa4g==","signatures":[{"sig":"MEUCIQCLIVO4+jf/BEQ1n+ovIWYDHf+242+wrM/PUMz3y+RA/gIgZ0W4vCsdUoYDsnkmp0W7jDumWgUkFiJXk06JPcwteUM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65309,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuW73CRA9TVsSAnZWagAALa8P/2miBLVrg2WS3wwSpSXq\na41pqWWuzGd3ts/FLyzOih/KDwqvndjrI3jSb4JQtYs8N1pezLlXS2aMB8UR\n1JUobljT2bcgJYw3YzMf1Lqu2InfOZw4cj5NG7E59lBNMXUWVQEscZg2oAqd\na5sq0TQiEZLHoH1idGADTTjGWSIcCq1ByocTcTCm0qxf8zPnJq+2GR7DguQK\nGhRFM7EzF71Cv+tJ+WhcCtJAhkB5NKX7ixGD//zTlQrv4y90DR6oF3KTNcmr\njei9U93XO4K+ihxGJydsf/GsNHMBe2El0OHtYOz6WN+MZSvcB43ovepEE7su\n1d6eATsrn50V+nksyNwJTIQGqfoig8nfznvXljVRx8FWfVEpTdsuARjDvtbk\n9J1o8AZ3RRR1IPHT+hm7zT6qDrpU6vj5It6JEUL933DNqGwbeyzV8yE72LYe\niROCap4dUz90mpQ59QZ5r7K1oUb/Svh+Nu8CkQqye/WDmVQQL+yGJdGiTX+W\nKNUYbDws/u2CSzQicISrdVInTor1I99gz8zSxWvG5mtXMR/mTgOO1NW5Con+\n4Pj789YcVO/uAceUa6Dm8hrHP4KlTDm/7ZNOMkLYVoRQHLsqnsxPNlmcnfDX\nAaMCUtjtDfRldSea5dLNS+4cxLPLOpozXg5FQ6jIMqd5l7aghaK85NtkdfFM\nyKZg\r\n=ek3y\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"bc5b733fd5eb37e3db22a04d6137fc81f9afb02d","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"jdkanani","email":"jdkanani@gmail.com"},"_npmVersion":"6.11.3","description":"A CLI to setup and manage Matic validator nodes","directories":{},"_nodeVersion":"10.17.0","dependencies":{"esm":"^3.2.18","web3":"^1.2.6","boxen":"^4.2.0","chalk":"^2.4.2","execa":"^1.0.0","listr":"^0.14.3","covgen":"^3.1.0","fs-extra":"^9.0.0","inquirer":"^6.2.2","nunjucks":"^3.2.1","commander":"^5.0.0","moonwalker":"github:atvanguard/moonwalker","ganache-cli":"^6.9.1","pkg-install":"^0.2.0","ethereumjs-util":"^6.2.0","truffle-privatekey-provider":"^1.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^6.8.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.20.2","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/matic-cli_0.0.3-beta.1_1589210870966_0.10662650642823279","host":"s3://npm-registry-packages"}},"0.0.3-beta.2":{"name":"@maticnetwork/matic-cli","version":"0.0.3-beta.2","keywords":["cli","matic-cli"],"author":{"url":"https://matic.network","name":"Matic Tech Team","email":"info@matic.network"},"license":"MIT","_id":"@maticnetwork/matic-cli@0.0.3-beta.2","maintainers":[{"name":"arthcp","email":"arth.c.patel@gmail.com"},{"name":"jdkanani","email":"jdkanani@gmail.com"},{"name":"ptsayli","email":"ptsayli@gmail.com"}],"bin":{"matic-cli":"bin/matic-cli"},"dist":{"shasum":"e06ef9533346937de2aca16d65f1d1a534ec2580","tarball":"https://registry.npmjs.org/@maticnetwork/matic-cli/-/matic-cli-0.0.3-beta.2.tgz","fileCount":45,"integrity":"sha512-sXGyZh01onCcMYzb4p/oQRyXu5Xm6QpqQU16ALSA54vfgLDOL3QTOSp7aLkrhiWn2zbiJwZsa/CNQs2lhHs91Q==","signatures":[{"sig":"MEYCIQD2s1+5ajGS4CIV6XJu0ODYfcjLH0f+y7xRQrMiI4AwCQIhALyuNip/VcJPMBOOFKQw70sadht2pPZRxUPRmNVzNPLm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65958,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJevjj8CRA9TVsSAnZWagAAvfwQAIBKsOA05M7j2b3fAPCZ\njCAqIp20DHg/ulrztPK1+hhc9iMWxi8YhV8vp9kHQBXundddkna7v7S1jMyS\n3cosZj/g5gavUyxLOGuPjJI7BG9iXmlxios0EJj6V1cHoReCg/qyXmM3iOT5\nHsgj5RMcPg15g/nI2vmK+EjUSrXp/EzY0Mig9fZWKtpc74xOcfxPdL4fuE2F\nxy9KAWzTxYD1+G8fQtimdexRVpuROfezxreYlEIKvs43CRvxCcWAiyjYiULu\ne/FPrynJemS8oMqa4tpT9rSvVB+IrVddL897WtceYt/4PEInj+Rvw/7v7vf2\nlPHb3bj00kqoS0aXWbBikjkaXo9PQTGZpYhcL8s6t2esB+sin+B87G3gwIcH\nspbBs7FdVlc6cDcUpQE2Vc7KJoVywDdb+yG+QodcrFc2OMjTIueSZza/iKHk\npbLwrlmqWTIIfMEpJTOjke4plWzcOFWrIYU3pbzL5JEDWldpQfnaS+uQUbrI\nZsPJ+ncOh0pIDz8fagHdmMX9ICwS63D8+LKpmKcomyLIWDVV5alaZ1ESzG7I\n9U1HBQxx6LgiHet1Lw916tXXmIaERwoZKFh8taL0ZeBffd1JJRvZdrRjVD4a\nVsygR7B6CgfGnrq/zm9C7eLkCBveTrZNlfXnRteJJMmS4usvcReWF6gNe3Oz\nscXL\r\n=FQ3m\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"9df0d49faaf498016c1e965fdcbd7142c53cf8e8","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"jdkanani","email":"jdkanani@gmail.com"},"_npmVersion":"6.11.3","description":"A CLI to setup and manage Matic validator nodes","directories":{},"_nodeVersion":"10.17.0","dependencies":{"esm":"^3.2.18","web3":"^1.2.6","boxen":"^4.2.0","chalk":"^2.4.2","execa":"^1.0.0","listr":"^0.14.3","covgen":"^3.1.0","fs-extra":"^9.0.0","inquirer":"^6.2.2","nunjucks":"^3.2.1","commander":"^5.0.0","moonwalker":"github:atvanguard/moonwalker","ganache-cli":"^6.9.1","pkg-install":"^0.2.0","ethereumjs-util":"^6.2.0","truffle-privatekey-provider":"^1.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^6.8.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.20.2","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/matic-cli_0.0.3-beta.2_1589524732084_0.5891375530744143","host":"s3://npm-registry-packages"}},"0.0.3-beta.3":{"name":"@maticnetwork/matic-cli","version":"0.0.3-beta.3","keywords":["cli","matic-cli"],"author":{"url":"https://matic.network","name":"Matic Tech Team","email":"info@matic.network"},"license":"MIT","_id":"@maticnetwork/matic-cli@0.0.3-beta.3","maintainers":[{"name":"arthcp","email":"arth.c.patel@gmail.com"},{"name":"jdkanani","email":"jdkanani@gmail.com"},{"name":"ptsayli","email":"ptsayli@gmail.com"}],"bin":{"matic-cli":"bin/matic-cli"},"dist":{"shasum":"b0483528518a129b0b9fb15c02435c960043775f","tarball":"https://registry.npmjs.org/@maticnetwork/matic-cli/-/matic-cli-0.0.3-beta.3.tgz","fileCount":45,"integrity":"sha512-kjWmLDAXIQJQmjoUNdB4oYJNEAKAj6+7oBbwwpJoJBtw8YoE3SIXa6+xC2k4rbwWSuYuy2FJmr4vugUEcYSGKg==","signatures":[{"sig":"MEUCIHEVBbOSJmaeAfSoibN79But6r5IbB7Z4AH0LCBVWAtmAiEAlebvEPblU0qk90P+KUfMkP9ghEtgfEyngeEasshFA+U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66500,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJev6EtCRA9TVsSAnZWagAAtOIP/0FkE6JVKlVzja35sY4y\n2I7XhS540zWszGAlalmbYw1mJpR6WAHdXW5AehIyHm0Ricoz7xHfbcdIsSW7\ndYv+wbZO3BYWxlilcxDg3DMZHZ3gvnZnqaCCfGXdvhujaAyQOBCwEqTbh5Fo\nHYw3GwPhovkApLP1cf4q0dXnzR5cye2ojMjj1fC/rjZG6UYPrqLad/vagLUy\nLixRvDj+OrUB5DtULSFYiA+5JdXkBUsmvyGfbz8mX2zYVV0MCB/RkJy46A/U\n85xQgRezOhuu9YgVX+ZgfcoY0Vqh5XuHe7OGtR6tnUhhqs6aJloe/Tba0fqU\nPLczHFEiADlr+TscZqN8T7lGjtDiTG03m2DEnQcxPzJfdzTB2AZixUB1RxoA\nJU0Znkukv03wvmwsCGPX8zG6NiJ3M9nUemnSGVcE+eIh7BgmMPdeH0gJMy9i\nsloKGdDIeqq4geGWpnBoQK6i1Le/wtqwd1bcrCBLfm08m1O7aJIzqdUgI1p/\n5hYbk+gK368jqxPUopdpuHUFgJJ4jPzr5hQQjOwirLVwDDGhcaINL7I+G/c0\nty7Xo8I2uIWlQF1yFDWrFL5LVLP82p0UqoNpzVJJIoiTnlpNgSvuFxtH24Jy\nfA+5jii8Npkmjwd6/uQOIpT1+oTGQLWIi2Z0o4mU3ynYDR7nenY4iFo3So40\nfoRu\r\n=m1NK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"6fc3cb528f801cc28563c5afabc4df9453dac0d4","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"jdkanani","email":"jdkanani@gmail.com"},"_npmVersion":"6.11.3","description":"A CLI to setup and manage Matic validator nodes","directories":{},"_nodeVersion":"10.17.0","dependencies":{"esm":"^3.2.18","web3":"^1.2.6","boxen":"^4.2.0","chalk":"^2.4.2","execa":"^1.0.0","listr":"^0.14.3","covgen":"^3.1.0","fs-extra":"^9.0.0","inquirer":"^6.2.2","nunjucks":"^3.2.1","commander":"^5.0.0","moonwalker":"github:atvanguard/moonwalker","ganache-cli":"^6.9.1","pkg-install":"^0.2.0","ethereumjs-util":"^6.2.0","truffle-privatekey-provider":"^1.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^6.8.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.20.2","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/matic-cli_0.0.3-beta.3_1589616940600_0.1404768963284082","host":"s3://npm-registry-packages"}},"0.0.3-beta.4":{"name":"@maticnetwork/matic-cli","version":"0.0.3-beta.4","keywords":["cli","matic-cli"],"author":{"url":"https://matic.network","name":"Matic Tech Team","email":"info@matic.network"},"license":"MIT","_id":"@maticnetwork/matic-cli@0.0.3-beta.4","maintainers":[{"name":"arthcp","email":"arth.c.patel@gmail.com"},{"name":"jdkanani","email":"jdkanani@gmail.com"},{"name":"ptsayli","email":"ptsayli@gmail.com"}],"bin":{"matic-cli":"bin/matic-cli"},"dist":{"shasum":"342b21de40fcb48041f8f1c71db3b9a217588d59","tarball":"https://registry.npmjs.org/@maticnetwork/matic-cli/-/matic-cli-0.0.3-beta.4.tgz","fileCount":45,"integrity":"sha512-j8fOOXFKsV7FOcnfYdbwijdgQqMb9cISVf0xv6WExFUGXYDLQKRenlkggWf7YP0E00Q1FPr83zm0RM+CnPmdvQ==","signatures":[{"sig":"MEYCIQDLfKK5ntn0/CLSIea6X9nhITYlimoEMjpKbmeli4k4GgIhANRK8yY0dBTvFuYuFbMKIhph4zfV7ux7Lp1D/hzrNm/6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66500,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJev6GhCRA9TVsSAnZWagAAHWUP/05z1+6uSxljE93QwEY5\nJgKrTQW3Ur6PxbU5QNbHLaUjO5L0wL/XBuhglj7WYrV9dwyZnDGb/GLKhq2E\nbLpJ+++JYaTnOeMnQZ9Fv5k2S6uZx9hN60WuAvn2KMc0a3uSyY5mVy0P8OOr\nB/XHhPmNcdbGVhulb3YLkcMCI5tFvsK3oCYvbUzG23DojpP8n/MDsUK5uFDS\n5uGPeVgii4bLK4hp4LjlEIYsQTVQz0m3ao9L538gy1GvDoN02dnjGD9LJZl5\nMRLdFMJDdiol5hFooPjmB5pEoB9mlSHy0i6CFszvaMAyYEe0+/zAGlYnQ4Az\nJcsfB/QdK9tV335+eRN951LJ6jaUXjKqRD79Xw4XubPJZEY3uKcLlNg5RgHF\nasLr7QySpIgVLznfYcUu4xBPAYat8/dMoholOLd39EuwyeEomQYxl86D6RnQ\nFi1Wr4Net355yCts0QmBy1th3YzaQPy/f896y8ZfWTPP6hfoyPFqO+do0UOG\ntA6Jv5siw9QsdqDQ+1lUpo8DpGf5iP49rZwd3Aclr38bZToe6YUFMZ049slX\nB15v56tGz8gVYwkRF8nqwpHKj6OU1V8/nhGLMNOZ25HaafLDSaydwPTBrQwE\ngpEsRvTtvhXLUSYJEaWIy8mMsvnk+vG+7b5EsYC33ocPV1ncTkWyYWf2uoE4\nvgIx\r\n=HEj5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"0d22f346cea731995e693079e715a16d83a91e0b","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"jdkanani","email":"jdkanani@gmail.com"},"_npmVersion":"6.11.3","description":"A CLI to setup and manage Matic validator nodes","directories":{},"_nodeVersion":"10.17.0","dependencies":{"esm":"^3.2.18","web3":"^1.2.6","boxen":"^4.2.0","chalk":"^2.4.2","execa":"^1.0.0","listr":"^0.14.3","covgen":"^3.1.0","fs-extra":"^9.0.0","inquirer":"^6.2.2","nunjucks":"^3.2.1","commander":"^5.0.0","moonwalker":"github:atvanguard/moonwalker","ganache-cli":"^6.9.1","pkg-install":"^0.2.0","ethereumjs-util":"^6.2.0","truffle-privatekey-provider":"^1.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^6.8.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.20.2","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/matic-cli_0.0.3-beta.4_1589617056694_0.49899102654771665","host":"s3://npm-registry-packages"}},"0.0.3-beta.5":{"name":"@maticnetwork/matic-cli","version":"0.0.3-beta.5","keywords":["cli","matic-cli"],"author":{"url":"https://matic.network","name":"Matic Tech Team","email":"info@matic.network"},"license":"MIT","_id":"@maticnetwork/matic-cli@0.0.3-beta.5","maintainers":[{"name":"arthcp","email":"arth.c.patel@gmail.com"},{"name":"jdkanani","email":"jdkanani@gmail.com"},{"name":"ptsayli","email":"ptsayli@gmail.com"}],"bin":{"matic-cli":"bin/matic-cli"},"dist":{"shasum":"f691f42a55166ae9f47db3244a4d58c8965a009e","tarball":"https://registry.npmjs.org/@maticnetwork/matic-cli/-/matic-cli-0.0.3-beta.5.tgz","fileCount":45,"integrity":"sha512-v96CuBeaDaHd13ovKcebw/nHBVoPcj1tXgIsONrFoMKWNuz7GlhwyrgK4mSPmQn3UBVzLz808hurTAIr/KwLzQ==","signatures":[{"sig":"MEUCIBJu4OSMB/OuB3XIufmZn2SmW/XZRYUW1oQEpfu3cBIPAiEA9tO2HXMi9sKMeeQ4j6W7xTIQ5PIIS7W3PUH/w0oJOnk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66461,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1P5NCRA9TVsSAnZWagAAW88QAJBZZEaZDWrUfPsjyMR2\nGvChaf27hjmqnaQR3c7OjW/JVgclDmCqciqfaBSyIpGzbDTwFSiiYEEkt876\n58wi2hl2WicqTvhCzYmIV3+7kdHTqj61z7uxSM39yw2oLw899mMf/ZE8vWgM\nl7M6QDk3RkOmTpDHn8AVrGheUNf0DLx6/IMX9xHokhBriEQHRnuhqu32MJgO\nQlplLMm0XsIfs3LpYhfwLwhskukz40UDDFkqLKMBpY9M5jp1u+yJtBRrw5BK\ntEvRnbI8TxtwSpgAgNelm5ffNBeXApl3K24CSeGVcrKUnvYzZQdb9iqimc0/\nnVAccUrIu5wkARa+97z6vG4ZNGz6JB07mTaW/BZo+/jQnKY5YJqLGJM6kcxF\ngB+U1/8fhDjcB5Oypo0UqyZGNqpR9Nhig18est3evEyTSQEJjDs1kbl2vTEb\nznFn7zAQmAa5/w9IGItmM3cCdRvQrFs7DL+G/h5bpaAVZLM0OzZAwP5isBW5\nH4wHkuIQO1UKRM4eMS1hLuasFW0tyBwq6ATZJrP3RpJeJ/R8obRlkhANiPot\nf3Ysfk8sG7rQQvyePx7F3iIjQziz4G7iHqt/HaVoOvx65YB7Xhiycr7quy1u\nFPbeNbzmC1Yqd6CspAY4IbPxw4RkLJf0QF3ommePOQvvSvlea2BE6QOtaxKz\n3YL/\r\n=hXqb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"5b0821528b11281b3b3e72f583f3fae11c4698cf","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"jdkanani","email":"jdkanani@gmail.com"},"_npmVersion":"6.11.3","description":"A CLI to setup and manage Matic validator nodes","directories":{},"_nodeVersion":"10.17.0","dependencies":{"esm":"^3.2.18","web3":"^1.2.6","boxen":"^4.2.0","chalk":"^2.4.2","execa":"^1.0.0","listr":"^0.14.3","covgen":"^3.1.0","fs-extra":"^9.0.0","inquirer":"^6.2.2","nunjucks":"^3.2.1","commander":"^5.0.0","moonwalker":"github:atvanguard/moonwalker","ganache-cli":"^6.9.1","pkg-install":"^0.2.0","ethereumjs-util":"^6.2.0","truffle-privatekey-provider":"^1.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^6.8.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.20.2","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/matic-cli_0.0.3-beta.5_1591017037518_0.6767135125714401","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@maticnetwork/matic-cli","version":"0.0.4","keywords":["cli","matic-cli"],"author":{"url":"https://matic.network","name":"Matic Tech Team","email":"info@matic.network"},"license":"MIT","_id":"@maticnetwork/matic-cli@0.0.4","maintainers":[{"name":"ujjwalgupta94","email":"ujjwal@matic.network"},{"name":"jdkanani","email":"jdkanani@gmail.com"},{"name":"itzmeanjan","email":"anjanroy@yandex.com"},{"name":"ankitboghra","email":"ankitboghra@gmail.com"}],"bin":{"matic-cli":"bin/matic-cli"},"dist":{"shasum":"1173a13e134be0bbe075c9a370e12f8b87c52e14","tarball":"https://registry.npmjs.org/@maticnetwork/matic-cli/-/matic-cli-0.0.4.tgz","fileCount":48,"integrity":"sha512-EIk+60m0KX+8X2Y5ldybVB/L3jeoKBlh8Kt6SyGZ3+r4iCsOGjLjbJVQEbzSW1OnnyFZhS0SIHfnySv4XGkL2A==","signatures":[{"sig":"MEUCIBpapPWS2uZiKaSdKJjrv+eO3jljO4TPSKoYeHiOGmHOAiEApCurmnLbku+wgWHVnzAI6rEUlu0q7fW3q4Rgm5tWElo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":74195,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2Q0mCRA9TVsSAnZWagAAZhAQAI8KL2ksFZ7dHmwTjxpy\ntp7UBe/F7Z7CIkuBb8uVdNFmvQP4ZV+IS6/fZDtBfRDyaGe+H8WDu7xfrrac\nuIJqfinWxP8Zp2pDne5CrTdgsrmsEkV6zeWiJon3VEm5HxVIEZOYa+Uj2pwr\noenz1U/Fez8z5y9k/TOdvSHDQuDLjwTrUqiVxHqrcM7By6jipgU7XOEjd3iP\nz70SpSuQkXh/2tNwQ87eg/0nXreU9BuvTFMYs/cA/bek3vAmeB9pN56b4GfU\nwpoiaA4T7fWvSej/WCfFwM8315C06TCjAvredBmtFcfE86CYfww3tu1I0k5/\nKquzm5M07Todb4gD0ohYMRdnyb/jcMlIhu0t0o+8j2jq3NVBY6SRFGDgSiU1\nSIVMKlHqdpzPzqMFeNbcI+qrmzHbwXYhgp+RKzdgRzGMY51PEGVC7C/l7Bra\nsu3HWNzzLnAwKAObCB3ly6JOp4GCwKaM5q/ysSe8DMHedIsfkBoEcDC9uTsE\nm2pxFY0vaKXorYgN885bar6coZzHRx967yMl2GuQbycdDXAgP+elC46dR8zX\nqeT16rRtMiv/OtxbbFoBVmRawi1KKQLcYFVTpUZv5dXhiGV+/cUcEQChKhG0\nQmlFZlvWFGvlfajIge4Wa0tdsXVsmBtcQ1WbpmAzgMVhTO3MK2lzjLWJaBk6\nrXj3\r\n=md91\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"b1a03bf37c056b76731d0cbcacab410e4e1b8ddc","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"jdkanani","email":"jdkanani@gmail.com"},"_npmVersion":"6.14.12","description":"A CLI to setup and manage Matic validator nodes","directories":{},"_nodeVersion":"12.22.1","dependencies":{"esm":"^3.2.18","web3":"^1.2.6","boxen":"^4.2.0","chalk":"^2.4.2","execa":"^1.0.0","listr":"^0.14.3","covgen":"^3.1.0","fs-extra":"^9.0.0","inquirer":"^6.2.2","nunjucks":"^3.2.1","commander":"^5.0.0","moonwalker":"github:atvanguard/moonwalker","ganache-cli":"^6.9.1","pkg-install":"^0.2.0","ethereumjs-util":"^6.2.0","truffle-privatekey-provider":"^1.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^6.8.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.20.2","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/matic-cli_0.0.4_1623323588454_0.9710554605609811","host":"s3://npm-registry-packages"}},"0.0.9":{"name":"@maticnetwork/matic-cli","version":"0.0.9","keywords":["cli","matic-cli","express-cli","testing-toolkit"],"author":{"name":"Polygon PoS v1"},"license":"MIT","_id":"@maticnetwork/matic-cli@0.0.9","maintainers":[{"name":"nitinmittal23","email":"nitinmittal44066@gmail.com"},{"name":"devops-polygon.technology","email":"devops@polygon.technology"},{"name":"qedk","email":"1994constant@gmail.com"},{"name":"jdkanani","email":"jdkanani@gmail.com"},{"name":"imyourm8","email":"imyourm9@gmail.com"},{"name":"ankitboghra","email":"ankitboghra@gmail.com"},{"name":"ujjwalgupta94","email":"ujjwal@matic.network"}],"dist":{"shasum":"a8585cd98f379b5b503f6a796b1430f0c4e1e2a4","tarball":"https://registry.npmjs.org/@maticnetwork/matic-cli/-/matic-cli-0.0.9.tgz","fileCount":66,"integrity":"sha512-yoYTOJIwd+U0cSbSblPVYrY2f4rtPsEC2jN6Zdlwvzc5EOgK8vAAOEzdA+8TISMowLaLLF+VmyI87cFZHPMglQ==","signatures":[{"sig":"MEUCIQDdMDKKX/d1hLGz8IVuatVx3LcaDixCgKeXhQzUw5nrEQIgaZ+lDmIXt/oSgsbcu3JPB7m4T/x3Eg/uDo2IgxCblpw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":201236,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj+JgRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpbKA/8Du5OcC1S8grCjVW2+sBWcYNzOMy8yMTXv+AkcK2lo86WsguL\r\nJqNLd1HgCDh24WoEgl3fSKhMyg/XRuIyWacg/xASJmmR7BjZpvlkxi382bVd\r\nyDKZU4LE58t5eA5qfp5vin76Z7aw1iQkFiY10QNNNjz7S6WuqG2dmv50BPN3\r\n/Pcyq39g45MV4a9e8wHHnRW0ko1eHx1S2gWLQiCbYdkyC2Tb1GG7q2ianTn/\r\nIytJmPxDe5LlMY7AFMsUaQzAYWJSCIOADbFrJz4Y2tkzIUVlx05ZBz1L+rXp\r\npdSU1YTg34akEmABphFILeQHJh8qvXEyEiWFjvbokYTLLmo3zgoRuyEGe2jc\r\npmGW5DGfA9qCBBEbCsRkTfoKKimTq/rR25M2hqek+mnWITJ3t2E8Oe1pte71\r\nVTtfIIukp37Wnyqsmp2d0IhYN68UPOGsppZ1KMzkWcEo/NyQL6/qB2KihUv/\r\nh+muHy9/wOuqF3VwbKZjSaIf31q4U2lTWZWb0+ft2i33euvirIysjIme5w2O\r\ndrRA3+KZ/ciX17EcFJlUyH9V1mWduh9oavRwi5DpIGHKLpwGLJnbeFrPK702\r\nLVvtGmXM4hw4Tnjge4ZNws8m6mrCB0z403VAYNqS9iH//71LzldK+HJvoJIE\r\nJY3SXZnTKFFN5AcmWBTI5LehoIKlpe7d61Q=\r\n=uyOc\r\n-----END PGP SIGNATURE-----\r\n"},"gitHead":"f9706c3a6cbbf674094d61a854dd659833c18eb7","scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint:fix":"npx eslint './**/**.js' --fix","lint:check":"npx eslint './**/**.js'","prettier:fix":"prettier --write './**/*.*' --ignore-unknown","prettier:check":"prettier --check './**/*.*' --ignore-unknown"},"_npmUser":{"name":"jdkanani","email":"jdkanani@gmail.com"},"_npmVersion":"8.15.0","description":"Testing toolkit to setup, manage and operate Polygon networks","directories":{},"_nodeVersion":"16.17.1","dependencies":{"esm":"^3.2.18","web3":"^1.8.2","yaml":"^1.10.2","boxen":"^7.0.0","chalk":"^2.4.2","execa":"^1.0.0","covgen":"^3.1.0","dotenv":"^16.0.3","listr2":"^4.0.5","aws-sdk":"^2.1252.0","envalid":"^7.3.1","ganache":"^7.5.0","js-yaml":"^4.1.0","shelljs":"^0.8.5","fs-extra":"^10.1.0","inquirer":"^6.2.2","nunjucks":"^3.2.1","commander":"^5.0.0","eth-crypto":"^2.4.0","node-fetch":"^2.6.7","big-integer":"^1.6.51","pkg-install":"^1.0.0","ethereumjs-util":"^7.1.5","@truffle/hdwallet-provider":"^2.1.4","truffle-privatekey-provider":"^1.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.29.0","prettier":"2.8.1","eslint-plugin-n":"^15.6.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.26.0","eslint-plugin-promise":"^6.1.1","eslint-config-standard":"^17.0.0","eslint-config-semistandard":"^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/matic-cli_0.0.9_1677236240905_0.9597713291594168","host":"s3://npm-registry-packages"}}},"time":{"created":"2020-04-29T14:35:07.807Z","modified":"2026-02-26T19:53:49.411Z","0.0.1":"2020-04-29T14:35:07.954Z","0.0.2":"2020-04-30T06:48:56.903Z","0.0.3-beta.1":"2020-05-11T15:27:51.054Z","0.0.3-beta.2":"2020-05-15T06:38:52.210Z","0.0.3-beta.3":"2020-05-16T08:15:40.749Z","0.0.3-beta.4":"2020-05-16T08:17:36.863Z","0.0.3-beta.5":"2020-06-01T13:10:37.622Z","0.0.4":"2021-06-10T11:13:08.640Z","0.0.9":"2023-02-24T10:57:21.071Z"},"author":{"name":"Polygon PoS v1"},"license":"MIT","keywords":["cli","matic-cli","express-cli","testing-toolkit"],"description":"Testing toolkit to setup, manage and operate Polygon networks","maintainers":[{"email":"devops@polygon.technology","name":"devops-polygon.technology"},{"email":"jinfante@polygon.technology","name":"jminfantepolygon"},{"email":"daryl@darylcollins.com","name":"maximushaximus"},{"email":"mtwardzicki@polygon.technology","name":"mtwardzicki"},{"email":"agupta@katana.network","name":"agupta1411"},{"email":"rajesh18495@gmail.com","name":"py-zoid"}],"readme":"# Testing Toolkit\n\n🏗 A set of CLIs, tools and tests to set up, manage and operate Polygon devnets.\n\nThe **Testing Toolkit** is built on top of `express-cli`, an extension of `matic-cli` which uses `terraform` to deploy,\ntest and monitor any devnet on AWS stacks from any local system.\n\nIt currently supports **only** devnets running `v0.3.x` stacks.\n\nThe `express-cli` interacts with `terraform` to create a fully working setup on AWS.  \nThis setup is composed by a set of `EC2 VM` instances running a specific `ubuntu 22.04 ami`, mounted with `gp3 disks` ,\nand a `public-subnet` with its `VPC`.  \nIn case the infrastructure already exists, `matic-cli` can be used as a standalone tool to deploy Polygon stacks on\npre-configured VMs.\n\nPlease, refer to the section of this file you are more interested in (`express-cli` or `matic-cli`)\n\n## `express-cli`\n\n### Requirements\n\nTo use the `express-cli` you have to execute the following steps.\n\n- [install aws cli](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html)\n- [install terraform](https://learn.hashicorp.com/tutorials/terraform/install-cli) on your local machine\n- use [nvm](https://github.com/nvm-sh/nvm#installing-and-updating) to switch to the proper `node` version, `v16.17.1`,\n  by running `nvm use` from the root folder\n- install `express-cli` and `matic-cli` locally with command `npm i`\n- generate a keypair on AWS EC2 and download its certificate locally (`.pem` file)\n- copy `secret.tfvars.example` to `secret.tfvar` with command `cp secret.tfvars.example secret.tfvars` and check the commented file for details\n- **If you are a Polygon employee**, connect to the company VPN\n- modify `secret.tfvar` with addresses of the allowed IPs (as specified in `secret.tfvars.example` file)\n- copy `.env.example` to `.env` with command `cp .env.example .env` and check the heavily commented file for details\n- make sure `PEM_FILE_PATH` points to a correct AWS key certificate, the one you downloaded in the previous steps\n- define the number of nodes (`TF_VAR_VALIDATOR_COUNT` and `TF_VAR_SENTRY_COUNT`) and adjust the `DEVNET_BOR_USERS`\n  accordingly\n- use `TF_VAR_DOCKERZIED=no` to have one VM per node, otherwise the stack will run on one VM only in a dockerized environment\n- (optional) replace `TF_VAR_VM_NAME` with your own identifier (it can be any string, default is \"polygon-user\")\n- (optional) replace `TF_VAR_DISK_SIZE_GB` with your preferred disk size in GB (default is 100 GB)\n- `VERBOSE=true` prints logs from the remote machines. If set to `false`, only `express-cli` and `matic-cli` logs will\n  be shown\n- **If you are a Polygon employee**, please refer to [this page](https://www.notion.so/polygontechnology/Testing-Toolkit-d47e098641d14c80b2e9a90b3b1b88d9) for more info\n\n### Auth Configuration\n\nAs a prerequisite, you need to configure authentication on `aws`  \nThis will create the folder `~/.aws` in your system\nTo do so, please run\n\n```bash\naws configure sso\n```\n\nThis command will interactively ask for some configs\n**If you are a Polygon employee**, please use the following\n\n- SSO session name: leave empty\n- SSO start URL: https://polygon-technology.awsapps.com/start#/\n- SSO region: us-east-1\n\nThe browser will open and authorize your request. Please allow it.\n\nIn case there are multiple accounts available to you, please select\n\n> posv1-devnet\n\nThen, the command will ask for other configs, please use\n\n- CLI default client Region: us-west-2\n- CLI default output format: json\n- CLI profile name: default\n\nNote that it's **mandatory** to use `CLI profile name: default`, as used by `terraform` in `express-cli` (for more context see [this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs))\n\nHere an output example\n\n```bash\nSSO session name (Recommended):\nWARNING: Configuring using legacy format (e.g. without an SSO session).\nConsider re-running \"configure sso\" command and providing a session name.\nSSO start URL [None]: https://polygon-technology.awsapps.com/start#/\nSSO region [None]: us-east-1\nAttempting to automatically open the SSO authorization page in your default browser.\nIf the browser does not open or you wish to use a different device to authorize this request, open the following URL:\n\nhttps://device.sso.us-east-1.amazonaws.com/\n\nThen enter the code:\n\n<CODE-HERE>\n\nThere are 2 AWS accounts available to you.\n\nUsing the account ID <ACCOUNT_ID>\nThe only role available to you is: <AWSRole> (<AWS_ROLE_ID>)\nUsing the role name \"<AWS_ROLE>\"\nCLI default client Region [None]: us-west-2\nCLI default output format [None]: json\nCLI profile name [<PROFILE_NAME_AND_ID>]: default\n\nTo use this profile, specify the profile name using --profile, as shown:\n\naws s3 ls --profile default\n```\n\nNow you can log into aws by running the following command. It needs to be executed every time the token expires.\n\n```bash\naws sso login\n```\n\nCongrats! You're all set to use `express-cli` commands.\n\n### Commands\n\nInstructions to run `express-cli`.\nFor the list of commands, please run `express-cli --help`\nFirst off, you need to `--init` terraform on your local machine, by executing the following command.\n\n- `./bin/express-cli --init`\n\n  - Initializes a new devnet folder with terraform and creates some git-ignored files locally. This step is mandatory\n    before running any other command. The new devnet folder created will be `devnet-<id>` where `id` is a monotonically\n    increasing count for the devnets. Once created, you can `cd deployments/devnet-<id>` and run the other commands.\n    This allows you to work with multiple devnets at once.\n    Then, a remote devnet can be created with the `--start` command, as follows.\n\n- `../../bin/express-cli --start`\n\n  - Creates the desired remote setup, based on the preferences defined in the `.env.devnet<id>` file\n  - `--start` command can be used also to target an existing AWS setup. If changes to `.env.devnet<id>` file are detected, the\n    previous devnet will be destroyed and a new one created, reusing the same AWS VMs  \n     To destroy the remote devnet, you can execute the `--destroy` command.\n\n- `../../bin/express-cli --destroy`\n\n  - Destroys the remote setup and delete the dedicated VMs\n\nThe `express-cli` also comes with additional utility commands, listed below. Some of them are only available for non-dockerized devnets.\n\n- `../../bin/express-cli --update-all [index]`\n\n  - Fetches `heimdall` and `bor` branches defined as `HEIMDALL_BRANCH` and `BOR_BRANCH` in `.env.devnet<id>` file,\n    pulls relative changes and restarts those services on the remote machines. If an integer `index` is used, the job will be\n    performed only on the VM corresponding to that index.\n\n- `../../bin/express-cli --update-bor [index]`\n\n  - Fetches `bor` branch defined as `BOR_BRANCH` in `.env.devnet<id>` file, pulls relative changes and restarts it on\n    the remote machines. If an integer `index` is used, the job will be performed only on the VM corresponding to that index.\n\n- `../../bin/express-cli --update-heimdall [index]`\n\n  - Fetches `heimdall` branch defined as `HEIMDALL_BRANCH` in `.env.devnet<id>` file, pulls relative changes and restarts it on\n    the remote machines. If an integer `index` is used, the job will be performed only on the VM corresponding to that\n    index.\n\n- `../../bin/express-cli --restart-all [index]`\n\n  - Restarts `bor` and `heimdall` on all the remote machines. If an integer `index` is used, the job will be performed\n    only on the VM corresponding to that index.\n\n- `../../bin/express-cli --restart-bor [index]`\n\n  - Restarts `bor` on all the remote machines. If an integer `index` is used, the job will be performed only on the VM\n    corresponding to that index.\n\n- `../../bin/express-cli --restart-heimdall [index]`\n\n  - Restarts `heimdall` on all the remote machines. If an integer `index` is used, the job will be performed only on\n    the VM corresponding to that index.\n\n- `../../bin/express-cli --cleanup`\n\n  - Cleans up `ganache`, `bor`, `heimdall` and `bridge`, redeploys all the contracts and restarts all the services\n    The `express-cli` also provides additional testing commands, listed here.\n\n- `../../bin/express-cli --send-state-sync`\n\n  - Create a `state-sync` transaction on the remote network\n\n- ` ../../bin/express-cli --monitor [exit]`\n\n  - Monitors the reception of state-syncs and checkpoints to make sure the whole network is in a healthy state.\n    If `--send-state-sync` hasn't been used before, only checkpoints will be detected. Monitor the setup.  \n    If `exit` string is passed the process terminates when at least one `stateSync` and one `checkpoint` are detected.\n\n- ` ../../bin/express-cli --instances-stop`\n\n  - Stop the AWS EC2 VM instances associated with the deployed devnet.\n\n- ` ../../bin/express-cli --instances-start`\n\n  - Start the (previously stopped) AWS EC2 VM instances associated with the deployed devnet. Also, it starts all services, such as ganache, heimdall, and bor\n\n- `../../bin/express-cli --stress [fund]`\n\n  - Runs the stress tests on remote nodes. The string `fund` is needed when stress tests are ran for the first time,\n    to fund the accounts\n\n- `../../bin/express-cli --setup-datadog`\n\n  - Sets up datadog on the nodes and gets them ready to send metrics to Datadog Dashboard. `DD_API_KEY` env var is required for this.\n\n- `../../bin/express-cli --chaos [intensity]`\n\n  - Adds dedicated chaos(de-peering) to the network. The `intensity` parameter is optional and can be set from `1` to `10`. If not set, `5` is used.\n\n- `../../bin/express-cli --rewind [numberOfBlocks]`\n\n  - Rewinds the chain by a defined number of blocks (not greater than `128`). Default `numberOfBlocks` value is `100`.\n\n- `../../bin/express-cli --eip-1559-test [index]`\n  - Executes a test to send EIP 1559 tx. In case of a non-dockerized devnet, if an integer [index] is specified, it will use\n    that VM to send the tx. Otherwise, it will target the first VM.\n\n## `matic-cli`\n\n`matic-cli` has to be installed on a `ubuntu` VM (_host_) and - through a config file - it will point to\nother VMs' IPs (_remotes_).\n\n- Host machine will run a Polygon node (`bor` and `heimdall`) and a layer 1 node (`ganache`)\n- Remote machines will only run a Polygon node each\n\n### Requirements\n\nPlease, make sure to install the following software/packages on the VMs.\n\n- Build Essentials (_host_ and _remotes_)\n\n  ```bash\n  sudo apt update\n  sudo apt install build-essential\n  ```\n\n- Go 1.18+ (_host_ and _remotes_)\n\n  ```bash\n  wget https://raw.githubusercontent.com/maticnetwork/node-ansible/master/go-install.sh\n  bash go-install.sh --remove\n  bash go-install.sh\n  ```\n\n- Rabbitmq (_host_ and _remotes_)\n\n  ```bash\n  sudo apt install rabbitmq-server\n  ```\n\n- Docker (_host_ and _remotes_, only needed in case of a docker setup)\n\n  - https://docs.docker.com/engine/install/ubuntu/\n  - https://docs.docker.com/engine/install/linux-postinstall/)\n\n- Node v16.17.1 (only _host_)\n\n  ```bash\n  curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash\n  nvm install 16.17.1\n  ```\n\n- Npm (only _host_)\n\n  ```bash\n  sudo apt update\n  sudo apt install nodejs npm\n  ```\n\n- Python 2 (only _host_)\n\n  ```bash\n  sudo apt install python2 && alias python=\"/usr/bin/python2\n  ```\n\n- Solc v0.5.16 (only _host_)\n\n  ```bash\n  sudo snap install solc\n  ```\n\n- Ganache CLI (only _host_)\n  ```bash\n  sudo npm install -g ganache\n  ```\n\n### Usage\n\nOn the _host_ machine, please run\n\n```bash\ncd ~\ngit clone https://github.com/maticnetwork/matic-cli.git\ncd matic-cli\nnpm i\nmkdir devnet\ncd devnet\n```\n\n#### Local dockerized network\n\nAdjust the [docker configs](configs/devnet/docker-setup-config.yaml) and run\n\n```bash\n../bin/matic-cli setup devnet -c ../configs/devnet/docker-setup-config.yaml\n```\n\nOnce the setup is done, follow these steps for local docker deployment\n\n- Move to devnet folder\n  ```bash\n  cd matic-cli/devnet\n  ```\n- Start ganache\n\n  ```bash\n  bash docker-ganache-start.sh\n  ```\n\n- Start `heimdall` instances (it will run all services - rabbitmq, heimdall, bridge, server)\n\n  ```bash\n  bash docker-heimdall-start-all.sh\n  ```\n\n- Setup `bor`\n\n  ```bash\n  bash docker-bor-setup.sh\n  ```\n\n- Start bor\n\n  ```bash\n  bash docker-bor-start-all.sh\n  ```\n\n- Deploy contracts on Child chain\n\n  ```bash\n  bash ganache-deployment-bor.sh\n  ```\n\n- Sync contract addresses to Main chain\n  ```bash\n  bash ganache-deployment-sync.sh\n  ```\n\nLogs will be stored under `logs/` folder\n\nNote: in case of docker setup, we have provided [some additional scripts](src/setup/devnet/templates/docker/README.md) which might be helpful.\n\n#### Remote network\n\nAdjust the [remote configs](configs/devnet/remote-setup-config.yaml) and run\n\n```bash\n../bin/matic-cli setup devnet -c ../configs/devnet/remote-setup-config.yaml\n```\n\nAlternatively, this step can be executed interactively with\n\n```bash\n../bin/matic-cli setup devnet -i\n```\n\nOnce the setup is done, follow these steps for remote deployment  \nIn this case, the stack is already running, you would just need to deploy/sync some contracts, as follows:\n\n- Move to devnet folder\n  ```bash\n  cd matic-cli/devnet\n  ```\n- Deploy contracts on Child chain\n\n  ```bash\n  bash ganache-deployment-bor.sh\n  ```\n\n- Sync contract addresses to Main chain\n  ```bash\n  bash ganache-deployment-sync.sh\n  ```\n\n#### Clean setup\n\nStop al services, remove the `matic-cli/devnet` folder, and you can start the process once again\n\n#### Notes\n\n1. The ganache URL hostname will be used for ganache `http://<host-machine-ip>:9545`\n2. Make sure that the _host_ machine has access to remote machines for transferring the data\n   To persist ssh key for remote access, please run:\n   ```bash\n   eval \"$(ssh-agent -s)\"\n   ssh-add `<.pem file>`\n   ```\n3. We have provided the default config values [here](configs/devnet) to ensure smooth functioning of the process  \n   Please check the relative [README](configs/README.md) for more accurate description of such configs\n   These files are used as templates and dynamically modified by `express-cli`, hence they should not be deleted nor any modification remotely pushed\n   Therefore, they are under `.gitignore`, and in case you do not want those changes to be reflected in your local `git`,\n   you can use the commands\n\n```bash\ngit update-index --assume-unchanged configs/devnet/remote-setup-config.yaml\ngit update-index --assume-unchanged configs/devnet/docker-setup-config.yaml\n```\n\nto undo, please use\n\n```bash\n  git update-index --no-assume-unchanged configs/devnet/remote-setup-config.yaml\n  git update-index --no-assume-unchanged configs/devnet/docker-setup-config.yaml\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}