deploy-contract
Skill by Nethereum
Deploy Ethereum smart contracts from .NET and C# using Nethereum's typed deployment handlers. It is for developers who need to deploy a contract, pass constructor parameters, or get the contract address.
Install deploy-contract
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Nethereum/Nethereum /tmp/Nethereum && mkdir -p ~/.claude/skills && cp -r /tmp/Nethereum/plugins/nethereum-skills/skills/deploy-contract ~/.claude/skills/deploy-contractRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Nethereum/Nethereum /tmp/Nethereum && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Nethereum/plugins/nethereum-skills/skills/deploy-contract ~/.gemini/antigravity-cli/skills/deploy-contractAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill explains how to deploy smart contracts to Ethereum with Nethereum, a .NET library. The recommended method uses a deployment class that inherits from ContractDeploymentMessage. The compiled bytecode goes in the base constructor, and each constructor parameter is a property marked with a Parameter attribute. The deployment handler encodes the arguments, estimates gas, and waits for the receipt.
The skill shows how to create a Web3 instance with an account and an RPC URL, then deploy and read the contract address from the receipt. It also covers estimating gas before deploying, checking the receipt status, and deploying from raw ABI and bytecode strings. It is aimed at C# and .NET developers who work with Ethereum contracts.
Written from the project's SKILL.md and checked against it.
What it can do
- Typed deploymentDeploys a contract with a class that inherits ContractDeploymentMessage and holds the bytecode.
- Constructor parametersMaps each constructor argument to a property with a Parameter attribute.
- Gas estimationUses EstimateGasAsync to check deployment cost before sending a transaction.
- Receipt trackingWaits for the deployment receipt with SendRequestAndWaitForReceiptAsync.
- Contract addressReads the deployed contract address from the receipt.
- Deployment status checkReads the receipt status to see whether the constructor succeeded or reverted.
- Raw ABI deploymentDeploys from ABI and bytecode strings without generated classes.
What you need
- A .NET project with C#
- Nethereum.Web3 NuGet package
- An Ethereum account private key
- An Ethereum RPC URL
Try asking
- Write a C# class that deploys an ERC-20 token with a total supply.
- Estimate the gas cost of deploying my contract before sending it.
- Show me how to get the contract address after a Nethereum deployment.
Good to know
- Raw ABI deployment is less safe because constructor argument types are not checked at compile time.
- Gas is estimated automatically only if Gas is not set on the deployment message.
- A receipt status of 0 means the constructor reverted, often because of a require failure.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/nethereum-skills/skills/deploy-contract/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB
Alternatives to deploy-contract
All alternatives →Lists live launchpad token feeds and AI-detected hot topics for meme tokens on BSC, Solana and Base. Covers new, finalizing and just-migrated tokens on launchpads such as Pump.fun and Four.meme.
The okx-market skill lets an AI assistant retrieve cryptocurrency market data from the OKX V5 REST API. It is aimed at users who want spot, derivatives and index data in Python without an account.
Calculates key SaaS health metrics such as ARR, churn, LTV and CAC from raw business numbers, then gives prioritized advice. Built for founders and finance leads who share revenue or customer figures.
Fetches U.S. SEC EDGAR data for research. It resolves a ticker to its CIK, lists recent filings with primary-document URLs, and pulls XBRL financial series. Built for analysts who need free, U.S.-only filing data.
Provides free, no-auth access to Eastmoney market data for A-shares, Hong Kong stocks and US stocks. It covers fund flows, dragon-tiger lists, financial statements and stock screening.
Reads and manages a user's QuickBooks business through Intuit's official MCP server. It answers finance questions from reports, invoices, customers, products and benchmarks, and completes approved actions.
Compare with meme-rush, okx-market or saas-metrics-coach
deploy-contract: common questions
How do I deploy a smart contract from C# with Nethereum?
Create a class that inherits ContractDeploymentMessage with the bytecode, then call SendRequestAndWaitForReceiptAsync on the typed deployment handler. The source says gas estimation, nonce and EIP-1559 fees are handled automatically.
How do I get the contract address after deployment?
Read receipt.ContractAddress from the receipt returned by the deployment call. Check that receipt.Status is 1 first, since 0 means the deployment failed.
Should I use typed deployment or raw ABI deployment?
The source recommends typed deployment for all projects because it is type-safe and estimates gas automatically. Raw ABI deployment is meant for quick prototyping.
How do I install deploy-contract?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is deploy-contract free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is deploy-contract safe to use?
It scores 76 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to deploy-contract?
Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.
