Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 76
  • 2.3k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-contract

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install deploy-contract in Claude Code

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

A

No 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 →

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.

deploy-contract Install

Add to stack

Loading.