
Security News
Ruby's Bundler 4.0.18 Extends Cooldown to bundle lock and bundle cache
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.
A simple, scalable npm package for deploying Ethereum smart contracts, specifically designed for MedInvoiceContract and PPTToken contracts.
npm install -g arb-deploy
Or install locally in your project:
npm install --save-dev arb-deploy
arb-deploy init
This will create:
.env file template for your credentialsdeploy.config.json file for configuring your deploymentsEdit the .env file with your deployment credentials:
# Ethereum node endpoint
RPC_URL=https://sepolia-rollup.arbitrum.io/rpc
# Private key for deployment (without 0x prefix)
PRIVATE_KEY=your_private_key_here
# API key for contract verification
VERIFY_KEY=your_etherscan_api_key_here
arb-deploy deploy --contract PPTToken --network arbitrumSepolia --args 100000 --verify
Create a deploy.config.json file:
{
"network": "arbitrumSepolia",
"verify": true,
"contracts": [
{
"contract": "PPTToken",
"constructorArgs": [100000]
},
{
"contract": "MedInvoiceContract",
"constructorArgs": ["<PPTToken-address>"]
}
]
}
Then run:
arb-deploy deploy-multiple --config deploy.config.json
You can also use arb-deploy programmatically in your JavaScript code:
import { deploy, deployMultiple } from 'arb-deploy';
// Deploy a single contract
const result = await deploy({
contractName: 'PPTToken',
network: 'arbitrumSepolia',
constructorArgs: [100000],
verify: true
});
console.log(`Contract deployed to: ${result.address}`);
// Deploy multiple contracts
const results = await deployMultiple([
{
contractName: 'PPTToken',
constructorArgs: [100000]
},
{
contractName: 'MedInvoiceContract',
constructorArgs: ['<PPTToken-address>']
}
], {
network: 'arbitrumSepolia',
verify: true
});
MIT
FAQs
A simple, scalable package for deploying Ethereum smart contracts
We found that arb-deploy 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
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.