{"_id":"@carbon-title/hardhat-celo","_rev":"2-f072d62a2ed624d89baf5eec4697b56b","name":"@carbon-title/hardhat-celo","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.2":{"name":"@carbon-title/hardhat-celo","version":"0.0.2","description":"Hardhat plugin for Celo","repository":{"type":"git","url":"git+https://github.com/Carbon-Title/hardhat-celo.git"},"author":{"name":"Anil Singh"},"license":"MIT","main":"dist/src/index.js","types":"dist/src/index.d.ts","keywords":["ethereum","smart-contracts","hardhat","hardhat-plugin"],"scripts":{"lint:fix":"prettier --write 'src/**/*.{js,ts}' 'test/**/*.{js,ts}' && tslint --fix --config tslint.json --project tsconfig.json","lint":"tslint --config tslint.json --project tsconfig.json","test":"mocha --exit --recursive 'test/**/*.test.ts'","build":"tsc","watch":"tsc -w","prepublishOnly":"npm run build"},"peerDependencies":{"hardhat":"^2.0.0"},"dependencies":{"@nomicfoundation/hardhat-toolbox":"^1.0.2","@nomiclabs/hardhat-etherscan":"^3.0.0","@types/mocha":"^9.0.0","hardhat":"^2.0.0"},"gitHead":"5a30d8e89d4af78a1aca7980e04fae35a8260190","bugs":{"url":"https://github.com/Carbon-Title/hardhat-celo/issues"},"homepage":"https://github.com/Carbon-Title/hardhat-celo#readme","_id":"@carbon-title/hardhat-celo@0.0.2","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-j7ODXAjq3Ot+0Cd9YgfO6wGYtt7CUmU9erAW0G+SBrFKmgfdBk5i3+nr1ZQYG4W4czUB74K8PBkfoaQcgfHBYw==","shasum":"42e936d7e3abcc8dacd4ae4b8fd017757575790a","tarball":"https://registry.npmjs.org/@carbon-title/hardhat-celo/-/hardhat-celo-0.0.2.tgz","fileCount":8,"unpackedSize":5862,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHwkAbCUGNekbtgD8pgbL4OHlobkhlPa7OfuT9Grl1+sAiEA1xfcTBuLnyrv2HizfEI/99RHQGE0XjKrC+xfWK2XRu0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/i/GACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr/+w/+KYDrmIAAPNq6TrzP/Y+3FkVtJiEfcU3zhajL4F6TxMmXIk5H\r\n/tJNmpjHLH1bUK4dA024qUbKVuneTeM2MY5e1I4UgExrcGW6d1wZWx6WtqLw\r\n5yvHaxxSF+sxlVMTDx64er7cPMZ03QHV/v3Zt7VCtTs24/MxD4yoIny0sZ+g\r\n275yL/jMCFnKSsxIUleK2Xp90Be0zX4V/7HcxaXwWZ+HyxraPmXjLN/jE9ky\r\nznKkcl4Xn4/B2DhYHlumgYINPTWn1sXrk/uB+IzRLRde7mWVnWzIFoUr3nqB\r\nGJ3avvsgM9uB5XgNqczqMZMEwkPU8gbJ5rI0CEGf12OXb+eCW0XGRN+6Q9gd\r\nXpc2XEoCMXJgYRXd514wLtpxfHjxmvCNwoMQB8ju5ZXg18LK5bNlaUnwe4t9\r\nZ2x6EMsRFOud+6YghF/hCvdtCPflaUK/5VVPUdryrYG6XpZF7UYxqpyu4j/N\r\nrxYu1s78exw3frs5AH+yQ/wZRqHPZ/F41wPGxoshp8Bmy+6ilDqG3dXPMx+W\r\nnIrK5gl9tzWCCVY7L3Ky26jyLlmkuaX0lH3MVHH8MhSE28hZWwMl+z+jkGuR\r\nPvd4g/HDrYSzq+WZMgcqm9RaUps0Bmgw/nQDtIG0Suh8PbgsFzItmh3bqPpE\r\no5lkz3xgmlzGsYrzI6ns2EG+RqebP8n9kjA=\r\n=Vd12\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"riyad-ct","email":"riyad@universalmachine.io"},"directories":{},"maintainers":[{"name":"alexcarbon","email":"alex@carbontitle.com"},{"name":"riyad-ct","email":"riyad@universalmachine.io"},{"name":"carbontech","email":"technology@carbontitle.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hardhat-celo_0.0.2_1677602758251_0.24945953315128588"},"_hasShrinkwrap":false},"0.0.3":{"name":"@carbon-title/hardhat-celo","version":"0.0.3","description":"Hardhat plugin for Celo","repository":{"type":"git","url":"git+https://github.com/Carbon-Title/hardhat-celo.git"},"author":{"name":"Anil Singh"},"license":"MIT","main":"dist/src/index.js","types":"dist/src/index.d.ts","keywords":["ethereum","smart-contracts","hardhat","hardhat-plugin"],"scripts":{"lint:fix":"prettier --write 'src/**/*.{js,ts}' 'test/**/*.{js,ts}' && tslint --fix --config tslint.json --project tsconfig.json","lint":"tslint --config tslint.json --project tsconfig.json","test":"mocha --exit --recursive 'test/**/*.test.ts'","build":"tsc","watch":"tsc -w","prepublishOnly":"npm run build"},"peerDependencies":{"hardhat":"^2.0.0"},"dependencies":{"@nomicfoundation/hardhat-toolbox":"^1.0.2","@nomiclabs/hardhat-etherscan":"^3.0.0","@types/mocha":"^9.0.0","hardhat":"^2.0.0"},"gitHead":"5a30d8e89d4af78a1aca7980e04fae35a8260190","bugs":{"url":"https://github.com/Carbon-Title/hardhat-celo/issues"},"homepage":"https://github.com/Carbon-Title/hardhat-celo#readme","_id":"@carbon-title/hardhat-celo@0.0.3","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-3D8u9z+rKzdKEdNXhfXTC5KisBxcsAenzsiOb56rkQyTQzjkLfqwkuOTOXy6bWpckzIVMMLD9b6J4BPLNbptQw==","shasum":"ba8bd32702b01304ab2d4b41ca9049fa28d90167","tarball":"https://registry.npmjs.org/@carbon-title/hardhat-celo/-/hardhat-celo-0.0.3.tgz","fileCount":8,"unpackedSize":5862,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCn+YOn+z1zaqOS8kicUPWLMxiUpUEmLPUz+vNgeijGXAIhAMHvJX/7huK36WkzAOOy7Af89otLHDMG1BT+fdOXlLmO"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/jZkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoRAhAAm/vEfVyYkn6kY6zTo93wBgc0AqLcOd8qUQ9tki9JOkN4Wftr\r\nnCwMlsbE8OwnsDVzdLzTBi4fsfAu0SaZTFEQiDpfDfEglyvtcDRDoJ14zCaT\r\nKBVs+/YD4EqqMqJpJqKIzucKzGMZwe4qky26SYDWFmWJZKFaIgfndPExOlX0\r\n0chTaBNco1/qW47rguCnPR66Z7LBkS1Oj1Pdb6tC15Lhfv+8whro+HDqFFY7\r\nOm4x9YyF6kFSj0rf6CRFpTYMLxDESMR28/YkRMko7EK1srJ1pb4bRYz728jE\r\n2N9GV9pdPulJA2IjobQpw4thNXZdBa8lfngfwm7+HOYSYozlGlkSXGgxAUso\r\nk1ZFti6HmCYbPBx0zzgS9nj3HIpSDFvZK2rm2aANLP+CKSeu8UnP0TQ1Qvp/\r\nDS2sYQC879x3m2aykjXeKKypW9axYKx2/ic0ZbXjmIQmjHUIY5Mp8qMqgAj6\r\nrndryMtqoynGYBWkhQlR5LDIxzixLSLktOKGBOy9JRxG2RsXfiWL4Aj6230e\r\n+l7K/dPoaw57yBGDFoBaEC9ARKgNKmIZu6Sc0EVOnTXxnrPJSZqn4ruvYFFK\r\nhu85SgRZStcXbzCiXEqMe/nWbvIoICqlp6iBNlIkUjsY3coX0qtlJ6W+0f3S\r\npqpqsoSHmD+j3TuWDLQk64bx/00NahhffUg=\r\n=tpUa\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"riyad-ct","email":"riyad@universalmachine.io"},"directories":{},"maintainers":[{"name":"anilgsingh","email":"anil@carbontitle.com"},{"name":"alexcarbon","email":"alex@carbontitle.com"},{"name":"riyad-ct","email":"riyad@universalmachine.io"},{"name":"carbontech","email":"technology@carbontitle.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hardhat-celo_0.0.3_1677604452273_0.8164000140240661"},"_hasShrinkwrap":false}},"time":{"created":"2023-02-28T16:45:58.153Z","0.0.2":"2023-02-28T16:45:58.394Z","modified":"2023-02-28T17:14:12.582Z","0.0.3":"2023-02-28T17:14:12.423Z"},"maintainers":[{"name":"anilgsingh","email":"anil@carbontitle.com"},{"name":"alexcarbon","email":"alex@carbontitle.com"},{"name":"riyad-ct","email":"riyad@universalmachine.io"},{"name":"carbontech","email":"technology@carbontitle.com"}],"description":"Hardhat plugin for Celo","homepage":"https://github.com/Carbon-Title/hardhat-celo#readme","keywords":["ethereum","smart-contracts","hardhat","hardhat-plugin"],"repository":{"type":"git","url":"git+https://github.com/Carbon-Title/hardhat-celo.git"},"author":{"name":"Anil Singh"},"bugs":{"url":"https://github.com/Carbon-Title/hardhat-celo/issues"},"license":"MIT","readme":"# hardhat-celo\n\nHardhat plugin for Celo Developers.\n\n## Features\n\nCeloScan Contract Verification\n\n## Prerequisites\n\nBefore the installation steps you need to have your hardhat project initialized using the command\n\n```bash\nnpx hardhat init\n```\n\nMake sure to have dependencies installed!\n\n## Installation\n\nUse the following command to install\n\n```bash\nnpm i hardhat-celo --save-dev\n```\n\nImport the plugin in your `hardhat.config.js`:\n\n```js\nrequire(\"hardhat-celo\");\n```\n\nOr if you are using TypeScript, in your `hardhat.config.ts`:\n\n```ts\nimport \"hardhat-celo\";\n```\n\nRemove / Comment the import for `@nomicfoundation/hardhat-toolbox`\n\nAdd the following configuration to the `config` object in `hardhat.config.js`.\n\n```js\nnetworks: {\n        alfajores: {\n            // can be replaced with the RPC url of your choice.\n            url: \"https://alfajores-forno.celo-testnet.org\",\n            accounts: [\n                \"<YOUR_PRIVATE_KEY>\"\n            ],\n        },\n        celo: {\n            url: \"https://forno.celo.org\",\n            accounts: [\n                \"<YOUR_PRIVATE_KEY>\"\n            ],\n        }\n    },\n    etherscan: {\n        apiKey: {\n            alfajores: \"<CELOSCAN_API_KEY>\",\n            celo: \"<CELOSCAN_API_KEY>\"\n        },\n    },\n```\n\nVerify your contracts using the following command (Make sure your contracts are compiled before verification)\n\nAlfajores Testnet\n\n```bash\nnpx hardhat verify <CONTRACT_ADDRESS> <CONSTRUCTOR_ARGS> --network alfajores\n```\n\nCelo Mainnet\n\n```bash\nnpx hardhat verify <CONTRACT_ADDRESS> <CONSTRUCTOR_ARGS> --network celo\n```\n","readmeFilename":"README.md"}