Skip to content
Back to skills

Aztec Accounts

ASecurity

Manage Aztec accounts including Schnorr account creation, deployment, and recovery from credentials. Use when creating accounts, deploying wallets, or recovering existing accounts.

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

Security analysis

A100/100

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

Scanned September 27, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Aztec Accounts?

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

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

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-accounts
description: Manage Aztec accounts including Schnorr account creation, deployment, and recovery from credentials. Use when creating accounts, deploying wallets, or recovering existing accounts.
allowed-tools: Read, Grep, Glob, Edit, Write, Bash
---

# Aztec Accounts Skill

Create, deploy, and manage Aztec accounts with proper key management.

## Subskills

* [Schnorr Accounts](./schnorr-accounts.md) - Creating and deploying Schnorr accounts
* [Account Recovery](./account-recovery.md) - Recovering accounts from saved credentials

## Quick Start: Create and Deploy Account

```typescript
import { Fr, GrumpkinScalar } from "@aztec/aztec.js/fields";
import { AztecAddress } from "@aztec/stdlib/aztec-address";
import { AccountManager } from "@aztec/aztec.js/wallet";
import { SponsoredFeePaymentMethod } from "@aztec/aztec.js/fee/testing";

// Generate new account keys
const secretKey = Fr.random();
const signingKey = GrumpkinScalar.random();
const salt = Fr.random();

// Create account manager
const account = await wallet.createSchnorrAccount(secretKey, salt, signingKey);
console.log(`Account address: ${account.address}`);

// Deploy account (required before use)
await (await account.getDeployMethod()).send({
    from: AztecAddress.ZERO,
    fee: { paymentMethod: sponsoredPaymentMethod }
}).wait({ timeout: 120000 });
```

## Account Types

Aztec supports several account types:

| Type | Description | Use Case |
|------|-------------|----------|
| Schnorr | ECDSA-compatible | Most common, recommended |
| ECDSA | Ethereum-style | Ethereum compatibility |

## Key Components

- **Secret Key (Fr)** - Private key for encryption
- **Signing Key (GrumpkinScalar)** - Private key for transaction signing
- **Salt (Fr)** - Randomness for address derivation
- **Address** - Derived deterministically from above

## Important: Save Credentials

After creating an account, **always save the credentials**:

```typescript
console.log(`SECRET=${secretKey.toString()}`);
console.log(`SIGNING_KEY=${signingKey.toString()}`);
console.log(`SALT=${salt.toString()}`);
```

Store these in your `.env` file for later recovery.

## Key Imports

```typescript
// Key types
import { Fr, GrumpkinScalar } from "@aztec/aztec.js/fields";

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

// Wallet
import { TestWallet } from "@aztec/test-wallet/server";

// Fee payment
import { SponsoredFeePaymentMethod } from "@aztec/aztec.js/fee/testing";
```

Files in this skill

  • SKILL.md2.5 KB
  • account-recovery.md5.5 KB
  • schnorr-accounts.md5.3 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…