Skip to content
Back to skills

Aztec Deploy

ASecurity

Generate TypeScript deployment scripts for Aztec contracts with fee payment configuration. Use when deploying contracts, setting up deployment pipelines, or configuring fee payment methods.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
devopstypescriptbashnodetestingapidocumentation

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill aztec-deploy --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Aztec Deploy?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Aztec Deploy
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-aztec-deploy/badge)](https://www.skillsdirectory.com/skills/david-li0406-aztec-deploy)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: aztec-deploy
description: Generate TypeScript deployment scripts for Aztec contracts with fee payment configuration. Use when deploying contracts, setting up deployment pipelines, or configuring fee payment methods.
allowed-tools: Read, Grep, Glob, Edit, Write, Bash
---

# Aztec Deployment Skill

Generate production-ready TypeScript deployment scripts for Aztec smart contracts.

## Subskills

Navigate to the appropriate section based on your task:

* [Deploy Script](./deploy-script.md) - Full deployment script template
* [Fee Payment](./fee-payment.md) - Fee payment methods and configuration
* [Environment Config](./environment-config.md) - Local network vs devnet setup

## Quick Start: Basic Deployment Script

```typescript
import { MyContract } from "../src/artifacts/MyContract.js";
import { Logger, createLogger } from "@aztec/aztec.js/log";
import { SponsoredFeePaymentMethod } from "@aztec/aztec.js/fee/testing";
import { setupWallet } from "../src/utils/setup_wallet.js";
import { getSponsoredFPCInstance } from "../src/utils/sponsored_fpc.js";
import { SponsoredFPCContract } from "@aztec/noir-contracts.js/SponsoredFPC";
import { deploySchnorrAccount } from "../src/utils/deploy_account.js";
import { getTimeouts } from "../config/config.js";

async function main() {
    const logger = createLogger('aztec:deploy');

    // 1. Setup wallet connection
    const wallet = await setupWallet();

    // 2. Setup sponsored fee payment
    const sponsoredFPC = await getSponsoredFPCInstance();
    await wallet.registerContract(sponsoredFPC, SponsoredFPCContract.artifact);
    const paymentMethod = new SponsoredFeePaymentMethod(sponsoredFPC.address);

    // 3. Deploy account (or use existing)
    const account = await deploySchnorrAccount(wallet);

    // 4. Deploy contract
    const contract = await MyContract.deploy(wallet, account.address).send({
        from: account.address,
        fee: { paymentMethod }
    }).deployed({ timeout: getTimeouts().deployTimeout });

    logger.info(`Contract deployed at: ${contract.address}`);
}

main().catch(console.error);
```

## Deployment Workflow

1. **Setup Wallet** - Connect to Aztec node via PXE
2. **Configure Fees** - Setup sponsored or other fee payment
3. **Create Account** - Deploy Schnorr account or recover existing
4. **Deploy Contract** - Send deployment transaction
5. **Verify** - Confirm deployment succeeded

## Key Imports

```typescript
// Wallet and node connection
import { createAztecNodeClient } from '@aztec/aztec.js/node';
import { TestWallet } from '@aztec/test-wallet/server';

// Account management
import { Fr, GrumpkinScalar } from "@aztec/aztec.js/fields";
import { AccountManager } from "@aztec/aztec.js/wallet";
import { AztecAddress } from "@aztec/stdlib/aztec-address";

// Fee payment
import { SponsoredFeePaymentMethod } from "@aztec/aztec.js/fee/testing";
import { SponsoredFPCContract } from "@aztec/noir-contracts.js/SponsoredFPC";

// Logging
import { Logger, createLogger } from "@aztec/aztec.js/log";
```

## Using Aztec MCP Server

For detailed API documentation and deployment patterns, use the Aztec MCP tools:

```
# Sync repos first
aztec_sync_repos()

# Search for deployment patterns
aztec_search_code({ query: "deploy", filePattern: "*.ts" })

# Search documentation
aztec_search_docs({ query: "deployment" })
```

The `aztec-starter` repo has reference implementations of deployment scripts, devnet configuration, and integration test patterns.

Files in this skill

  • SKILL.md3.4 KB
  • deploy-script.md8.3 KB
  • environment-config.md4.9 KB
  • fee-payment.md3.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…