
Security News
Feross on the 10 Minutes or Less Podcast: Nobody Reads the Code
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.
hardhat-manta
Advanced tools
Hardhat plugin for manta Developers.
mantaScan Contract Verification
Before the installation steps you need to have your hardhat project initialized using the command
npx hardhat init
Make sure to have dependencies installed!
Use the following command to install
npm i hardhat-manta --save-dev
Import the plugin in your hardhat.config.js:
require("hardhat-manta");
Or if you are using TypeScript, in your hardhat.config.ts:
import "hardhat-manta";
Remove / Comment the import for @nomicfoundation/hardhat-toolbox
Add the following configuration to the config object in hardhat.config.js.
networks: {
mantaGoerli: {
// can be replaced with the RPC url of your choice.
url: "https://goerli-rollup.manta.io/rpc",
accounts: [
"<YOUR_PRIVATE_KEY>"
],
},
mantaOne: {
url: "https://1rpc.io/manta",
accounts: [
"<YOUR_PRIVATE_KEY>"
],
}
},
etherscan: {
apiKey: {
mantaGoerli: "<OPTIMISMSCAN_API_KEY>",
mantaOne: "<OPTIMISMSCAN_API_KEY>"
},
},
Verify your contracts using the following command (Make sure your contracts are compiled before verification)
manta Goerli Testnet
npx hardhat verify <CONTRACT_ADDRESS> <CONSTRUCTOR_ARGS> --network mantaGoerli
manta Mainnet
npx hardhat verify <CONTRACT_ADDRESS> <CONSTRUCTOR_ARGS> --network mantaOne
FAQs
Hardhat plugin for Mantle
The npm package hardhat-manta receives a total of 10 weekly downloads. As such, hardhat-manta popularity was classified as not popular.
We found that hardhat-manta demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.