Agent skill

Create2 Deployment

by Nethereum in Nethereum/Nethereum

Deploy contracts to deterministic addresses using CREATE2 with Nethereum (.NET).

MITAuto-check passedDevOps & Cloud

Install Create2 Deployment

skills CLI
$ npx skills add Nethereum/Nethereum --skill create2-deployment -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Nethereum/Nethereum create2-deployment --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Nethereum/Nethereum.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/nethereum-skills/skills/create2-deployment .claude/skills/create2-deployment && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
create2-deployment
GitHub stars
2.3k
Token cost
~952 tokens
SKILL.md length
255 words
Files
1
Skills in repo
71
Repo updated
First seen
Licence
MIT

At a glance

Deploy contracts to deterministic addresses using CREATE2 with Nethereum (.NET).

  • The user asks about CREATE2
  • SKILL.md covers How the Address is Computed, Predict Address, Check If Already Deployed and Deploy via CREATE2 Proxy, plus 4 more sections
  • Calls dotnet
  • Deterministic deployment

What it does

Create2 Deployment is an agent skill from Nethereum/Nethereum. Deploy contracts to deterministic addresses using CREATE2 with Nethereum (.NET). Use this skill whenever the user asks about CREATE2, deterministic deployment, counterfactual addresses, predictable contract addresses, cross-chain same-address deployment, deployment proxies, or address prediction in C/.NET.

Its SKILL.md is about 950 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud, covering Deployment. It works with .NET and C#. The repository describes itself as: Ethereum .Net cross platform integration library. The licence is MIT.

When your agent uses it

  • The user asks about CREATE2
  • Deterministic deployment
  • Counterfactual addresses
  • Predictable contract addresses

Example prompts

  • “/create2-deployment”

What it can do on your machine

Read from SKILL.md and the folder at commit 229f278. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • dotnet

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • docs.nethereum.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Create2 Deployment loads about 952 tokens when it runs. Until then it costs about 82 tokens; SKILL.md has 255 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~82
When it runs · the whole SKILL.md, loaded when a task matches
~952

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Nethereum/Nethereum at commit 229f278, republished under its MIT licence (© Nethereum). 255 words, ~952 tokens.

Download SKILL.mdSave it as .claude/skills/create2-deployment/SKILL.md (or your agent's skills folder).
name
create2-deployment
description
Deploy contracts to deterministic addresses using CREATE2 with Nethereum (.NET). Use this skill whenever the user asks about CREATE2, deterministic deployment, counterfactual addresses, predictable contract addresses, cross-chain same-address deployment, deployment proxies, or address prediction in C#/.NET.
user-invocable
true

CREATE2 Deterministic Deployment

CREATE2 lets you deploy a contract to a predictable address that depends only on the deployer, a salt, and the bytecode. This is useful for counterfactual deployments (predicting addresses before deployment), deploying the same contract to the same address across multiple chains, and factory patterns like Account Abstraction.

NuGet: Nethereum.Web3

bash
dotnet add package Nethereum.Web3

The service is accessible via web3.Eth.Create2DeterministicDeploymentProxyService.

How the Address is Computed

The CREATE2 address formula is:

address = keccak256(0xff ++ deployerAddress ++ salt ++ keccak256(bytecode))[12:]

Because the address depends only on these inputs, you can compute it before deployment — and anyone with the same inputs gets the same result.

Predict Address

Calculate the address without deploying. This is a pure local computation — no transaction, no gas:

csharp
var create2Service = web3.Eth.Create2DeterministicDeploymentProxyService;
var salt = "0x0000000000000000000000000000000000000000000000000000000000000001";

var predictedAddress = create2Service
    .CalculateCreate2Address<MyContractDeployment>(
        new MyContractDeployment { /* constructor args */ },
        proxyAddress,
        salt);

Check If Already Deployed

Before deploying, verify the contract doesn't already exist at the predicted address. This avoids wasting gas on a transaction that will fail:

csharp
var alreadyDeployed = await create2Service
    .HasContractAlreadyDeployedAsync(predictedAddress);

Deploy via CREATE2 Proxy

The deployment goes through a deterministic proxy contract. The proxy forwards the bytecode + salt to the CREATE2 opcode:

csharp
var salt = "0x0000000000000000000000000000000000000000000000000000000000000001";

var result = await create2Service
    .DeployContractRequestAndWaitForReceiptAsync<MyContractDeployment>(
        new MyContractDeployment { /* constructor args */ },
        proxyAddress,
        salt);

Console.WriteLine($"Deployed to: {result.ContractAddress}");

The result's ContractAddress will match the predicted address exactly.

Deploy the Proxy

If the deterministic deployment proxy isn't deployed on your chain yet (common on private/app chains), deploy it first:

csharp
var proxyAddress = await create2Service
    .DeployProxyAndGetContractAddressAsync();

On public networks (Mainnet, Sepolia, Polygon, etc.), the standard proxy is usually already deployed.

Check Proxy Exists

csharp
var proxyDeployed = await create2Service
    .HasProxyBeenDeployedAsync(proxyAddress);

EIP-155 Chain-Specific Deployment

For deployments that include the chain ID (producing a different proxy address per chain, but deterministic on each):

csharp
var deployment = await create2Service
    .GenerateEIP155DeterministicDeploymentAsync();

Common Patterns

TaskMethod
Predict addressCalculateCreate2Address<T>(deployment, proxy, salt)
Check if deployedHasContractAlreadyDeployedAsync(address)
Deploy contractDeployContractRequestAndWaitForReceiptAsync<T>(deployment, proxy, salt)
Deploy proxyDeployProxyAndGetContractAddressAsync()
Check proxyHasProxyBeenDeployedAsync(proxyAddress)

For full documentation, see: https://docs.nethereum.com/docs/smart-contracts/guide-create2-deployment

© Nethereum, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/nethereum-skills/skills/create2-deployment of Nethereum/Nethereum.

Open the folder on GitHubat commit 229f278

Compare with similar skills

Create2 Deployment next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Create2 Deployment compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Create2 Deployment this skillNethereum/Nethereum2.3k—~952Automated safety check: PassMIT
Akka.NET Management and DiscoveryAaronontheweb/dotnet-skills1.2k1 repos~2.5kAutomated safety check: PassMIT
Aspiremicrosoft/aspire.dev1964 repos~1.1kAutomated safety check: PassMIT
Migrate Dotnet9 To Dotnet10dotnet/skills5.6k2 repos~4.8kAutomated safety check: PassMIT
Foundationdb AspireSnowBankSDK/foundationdb-dotnet-client158—~3.4kAutomated safety check: PassBSD-3-Clause
Aspire Service DefaultsAaronontheweb/dotnet-skills1.2k1 repos~2.6kAutomated safety check: PassMIT

Similar skills

  • Akka.NET Management and Discovery

    Aaronontheweb/dotnet-skills

    Sets up Akka.Management and Cluster.Bootstrap so Akka.NET clusters form through service discovery on Kubernetes, Azure or config instead of static seed nodes.

    1.2k GitHub starsUsed in 1 repo~2.5k tokens
    DevOps & CloudAuto-check passed
  • Aspire

    microsoft/aspire.dev

    Official

    Orchestrates Aspire distributed applications using the Aspire CLI for running, debugging, and managing distributed apps.

    196 GitHub starsUsed in 4 repos~1.1k tokens
    DevOps & CloudAuto-check passed
  • Official

    Migrate a .NET 9 project or solution to .NET 10 and resolve all breaking changes.

    5.6k GitHub starsUsed in 2 repos~4.8k tokens
    DevOps & CloudAuto-check passed
  • Foundationdb Aspire

    SnowBankSDK/foundationdb-dotnet-client

    How to run a FoundationDB cluster and connect to it from .NET — getting the IFdbDatabaseProvider that the keys/transactions/layers skills assume you already have.

    158 GitHub stars~3.4k tokensUpdated 6 days ago
    DevOps & CloudAuto-check passed
  • Aspire Service Defaults

    Aaronontheweb/dotnet-skills

    Sets up a shared ServiceDefaults project for .NET Aspire apps that centralizes OpenTelemetry, health checks, HTTP resilience and service discovery for every service.

    1.2k GitHub starsUsed in 1 repo~2.6k tokens
    DevOps & CloudAuto-check passed
  • Aspire

    managedcode/dotnet-skills

    Build, upgrade, and operate Aspire 13.5.x C or TypeScript application hosts with the current CLI, AppHost, ServiceDefaults, integrations, dashboard, testing, MCP, and deployment patterns for…

    486 GitHub stars~3.6k tokensUpdated today
    DevOps & CloudAuto-check passed

More from Nethereum/Nethereum

All 71 skills in this repo
  • Aa Batching Paymasters

    Nethereum/Nethereum

    Help users batch multiple calls into a single UserOperation and sponsor gas with paymasters using Nethereum Account Abstraction.

    2.3k GitHub stars~1.5k tokensUpdated 2 days ago
    Auto-check passed
  • Aa Bundler

    Nethereum/Nethereum

    Help users run an ERC-4337 bundler using Nethereum — set up in-process or standalone bundlers with mempool, validation, reputation, and JSON-RPC server.

    2.3k GitHub stars~1.2k tokensUpdated 2 days ago
    Auto-check passed
  • Abi Encoding

    Nethereum/Nethereum

    Encode and decode Ethereum ABI data with Nethereum. An agent skill from Nethereum/Nethereum.

    2.3k GitHub stars~1.3k tokensUpdated 2 days ago
    Auto-check passed
  • Abi Retrieval

    Nethereum/Nethereum

    Fetch contract ABIs from Sourcify, Etherscan, and 4Byte Directory using the composite ABIInfoStorage pattern (.NET/C).

    2.3k GitHub stars~1.5k tokensUpdated 2 days ago
    Auto-check passed
  • Account Abstraction

    Nethereum/Nethereum

    Help users implement ERC-4337 Account Abstraction with Nethereum — send UserOperations, use smart accounts, route contract calls through a bundler, enable gasless transactions, or work with AA in…

    2.3k GitHub stars~1.7k tokensUpdated 2 days ago
    Auto-check passed
  • Address Utils

    Nethereum/Nethereum

    Validate and format Ethereum addresses with Nethereum. An agent skill from Nethereum/Nethereum.

    2.3k GitHub stars~1.2k tokensUpdated 2 days ago
    Auto-check passed

Works with

Categories

Questions about Create2 Deployment

What does Create2 Deployment do?

Deploy contracts to deterministic addresses using CREATE2 with Nethereum (.NET). Create2 Deployment is an agent skill from Nethereum/Nethereum.NET).

When should I use Create2 Deployment?

Create2 Deployment fits situations like: the user asks about CREATE2; deterministic deployment; counterfactual addresses; predictable contract addresses.

How do I install Create2 Deployment in Claude Code?

Run `npx skills add Nethereum/Nethereum --skill create2-deployment -a claude-code`. Or copy the skill folder (plugins/nethereum-skills/skills/create2-deployment in Nethereum/Nethereum) into .claude/skills/create2-deployment in your project. Claude Code loads it when a task matches its description.

How do I install Create2 Deployment in Codex?

Run `npx skills add Nethereum/Nethereum --skill create2-deployment -a codex`. Or copy the skill folder (plugins/nethereum-skills/skills/create2-deployment in Nethereum/Nethereum) into .agents/skills/create2-deployment in your project. Codex loads it when a task matches its description.

Can I use Create2 Deployment in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Nethereum/Nethereum --skill create2-deployment -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/create2-deployment, .gemini/skills/create2-deployment, .github/skills/create2-deployment and .opencode/skills/create2-deployment in your project.

What does Create2 Deployment need to run?

Going by SKILL.md and its folder, Create2 Deployment needs the command-line tools its instructions call (dotnet).

Does Create2 Deployment access the network?

SKILL.md names 1 domain. As links in the text: docs.nethereum.com. This is read from the text; nothing was executed.

Is Create2 Deployment safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Create2 Deployment use?

Create2 Deployment is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Create2 Deployment use?

About 952 tokens (SKILL.md is roughly 3.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Create2 Deployment?

Skills that share tags, products or a category with Create2 Deployment: Akka.NET Management and Discovery (Aaronontheweb/dotnet-skills, 1.2k stars), Aspire (microsoft/aspire.dev, 196 stars), Migrate Dotnet9 To Dotnet10 (dotnet/skills, 5.6k stars) and Foundationdb Aspire (SnowBankSDK/foundationdb-dotnet-client, 158 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Create2 Deployment?

Nethereum (a GitHub organization) maintains it in Nethereum/Nethereum, which has 2,260 GitHub stars. The repository holds 71 skills in this directory. The repository was last updated on October 5, 2026.

Source: Nethereum/Nethereum on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.