list_templates
List templates
List the Avalanche dapp templates available to scaffold_app.
无需输入参数。

dev.avakit由 avakit.dev 发布v0.3.0更新于 Nov 23, 2026
Scaffold a dapp, deploy contracts and send contract calls (for example mint) on the Fuji testnet.
AvaKit 的本地 MCP 服务器,让助手在 Fuji 测试网上搭建 Avalanche dapp、部署合约并发送合约调用。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
参照 仓库 中的启动说明。
The open-source, AI-native developer toolkit for Avalanche.
[create-avalanche-app] [@avakit/core] [@avakit/react] [license] [live on Fuji] [watch the demo]
Scaffold a social-login dapp, deploy-ready, with agent context baked in. One core, four surfaces. No seed phrases, no boilerplate.
avakit.dev · Documentation · Templates
Three ways in. None of them needs a wallet extension, a private key of your own or an account with AvaKit or Avalanche.
No install: open avakit.dev/new. The page deploys an NFT contract to the Fuji testnet and mints from it, in your browser.
One command: npm create avalanche-app@latest. It scaffolds a Next.js dapp from one of eight templates and installs it with the package manager you launched it with.
From a coding agent: claude mcp add avakit -- npx -y @avakit/mcp, then paste the prompt below. The agent scaffolds the app, deploys its contract and mints the first token, in three tool calls.
Create an NFT app called my-first-dapp with AvaKit, deploy its contract to Fuji and mint the first NFT. Give me the explorer links.
What pays for the first transaction: a temporary test wallet (in the browser for the first two ways, in the MCP server's memory for the third) that receives a little test AVAX from AvaKit's shared Fuji faucet. Both exist for a first run only; see Status and limits.
▶ Watch the 90-second demo — one command to a live, social-login Avalanche dapp: sign in with Google, deploy an NFT from the browser, and mint it on Fuji.
[Scaffolding an Avalanche dapp with create-avalanche-app]
Then deploy an NFT contract and mint it, straight from the browser, on Fuji:
[Connecting a wallet, deploying an NFT contract, and minting on Avalanche Fuji]
Proven live on Fuji. The mint in that clip is a real on-chain transaction; view it on Snowtrace (contract
0x7612…7786). No Foundry, no backend: the bytecode is bundled and deployed from the user's wallet.
Ava Labs maintains the official Avalanche tooling. Builder Hub has a hosted prompt-to-contract flow in its Console (Studio, behind a Builder Hub sign-in), and the official MCP server gives an agent read access to Avalanche. AvaKit is an independent, open-source project that covers the local side of the same job: the app is created in your own folder, the MCP server runs on your own machine next to your coding agent, and on the Fuji testnet it can also deploy a contract and call it. AvaKit builds on the official stack (the public RPC endpoints, the AvaCloud Data API, Avalanche CLI) and links to Builder Hub for the faucet, the explorer and the documentation.
Avalanche's C-Chain is EVM-compatible, and wallets such as Core already give end users a seedless social login. The setup work that remains is on the developer side: a new dapp needs wallet onboarding, a chain configuration, a contract to deploy and a UI before its first transaction. AvaKit ships those wired together.
localStorage — see SECURITY.md.)CLAUDE.md, llms.txt, and .cursor/rules, and @avakit/mcp lets Claude Code / Cursor scaffold an app, deploy its contract, call it and read chain state for you. On Fuji that needs no key.Every template ships with a wallet chooser (a zero-setup temporary wallet and Core/MetaMask, plus social login in the five Fuji templates), shadcn/ui (black & white, dark/light), and AI context files.
The first transaction is funded on Fuji. In minimal, nft-mint, token-gated-app, erc20-token and eerc-token, a new temporary wallet with an empty balance is sent test AVAX from AvaKit's shared faucet. The app shows what the faucet is doing; when the faucet refuses, it shows the reason, a Try again button and a link to the official Fuji faucet, which needs a free Builder Hub sign-in. Set NEXT_PUBLIC_AVAKIT_FAUCET_URL to the /fund URL of your own faucet (services/faucet), or to off to ask no faucet at all.
Testnet by default, mainnet only on purpose. The templates target the Fuji testnet (icm-messenger, l1-launch and token-bridge run on a local devnet). Only minimal can also be scaffolded for C-Chain mainnet (--chain c-chain); the scaffolder refuses that chain for every other template, and a mainnet scaffold offers neither the temporary wallet nor a faucet. Every mainnet deploy is an explicit, guarded step: deployContract() and useAvaDeploy() refuse a mainnet chain unless you pass confirmMainnet: true, and then check that the account can pay for the deployment; the MCP server's deploy_contract and write_contract need your own key, confirm: true and AVAKIT_ALLOW_MAINNET=1 in the server's environment. Details in the scaffolder README and SECURITY.md.
Add social login by installing @web3auth/modal and passing web3authAdapter({ clientId }) (from @avakit/core/web3auth).
@avakit/coreand@avakit/reactare ESM-only (useimport, notrequire; Node ≥ 22).
Add the MCP server to Claude Code with claude mcp add avakit -- npx -y @avakit/mcp, or to Cursor, Claude Desktop and other clients that read a JSON config:
Then ask, for example: "Create an NFT app called my-first-dapp with AvaKit, deploy its contract to Fuji and mint the first NFT. Give me the explorer links."
The server has eight tools: list_templates, scaffold_app, read_chain, estimate_gas, deploy_contract, write_contract, wallet_status and get_context. What to know before you rely on it:
AVAKIT_DEPLOYER_KEY is not set, deploy_contract and write_contract sign with a session test wallet: a key generated in the server's memory, never written to disk, logged or returned, that signs for Fuji only, never sends AVAX with a transaction, and is gone when the server stops. The server asks the shared faucet to fund it when it cannot pay. AVAKIT_TEST_WALLET=0 turns it off, and AVAKIT_DEPLOYER_KEY replaces it with your own key.AVAKIT_DEPLOYER_KEY, confirm: true in the tool call, and AVAKIT_ALLOW_MAINNET=1 in the server's environment, which a tool call cannot set.@avakit/mcp 0.3.0. write_contract calls only the contracts the server deployed in its session or that AVAKIT_WRITE_ALLOWLIST lists, and one call sends at most AVAKIT_MAX_VALUE AVAX (0.1 by default). Both limits hold per call, not per day.scaffold_app creates projects, and artifactPath reads contract artifacts, only inside the server's working directory or the directory named by AVAKIT_MCP_ROOT. A server started in the filesystem root (as Claude Desktop does on macOS) refuses to scaffold until AVAKIT_MCP_ROOT is set.npx fetches the server the first time a client starts it. It is published as one bundled file whose only dependency is the scaffolder, which comes to a few seconds on an empty npm cache. A client waits a fixed time for a server to connect (30 seconds in Claude Code), so on a slow network run npx -y @avakit/mcp --version once before adding it.The full reference is the @avakit/mcp README.
minimal template can be scaffolded for C-Chain.icm-messenger, l1-launch, token-bridge and @avakit/studio's Devnet, Launch on Fuji and Interchain views depend on Avalanche CLI (they run it, or work on the local L1s it set up), which Ava Labs put in maintenance mode in December 2025 and removed from the Avalanche documentation on 2026-10-06 in favour of Platform CLI. They were last proven end to end in July 2026. The scaffolder labels them experimental from create-avalanche-app 0.5.0, and Studio from 0.1.15. Moving them to the supported toolchain has not been done.services/faucet) for anything beyond a first run.nft-mint; nobody has reported using AvaKit there yet. The setup scripts of the three local-devnet templates are bash and need WSL2.token-bridge contracts from pinned icm-contracts sources included. Browser tests (apps/web/e2e) drive avakit.dev/new and a scaffolded nft-mint app in Chromium against a local chain on every pull request. scripts/e2e-fuji.mjs goes through the agent path with only Node.js and npm: it scaffolds nft-mint through the MCP server, builds it, deploys the contract on Fuji and mints. A scheduled workflow runs it against the published packages on Linux, macOS and Windows runners, with the on-chain half on one of them. A run from this repository on 2026-11-18 deployed 0xb7BC…392c and minted from it.--no-telemetry, AVAKIT_TELEMETRY_DISABLED=1 or DO_NOT_TRACK=1), and the numbers are public at avakit.dev/stats.The open engineering gaps are listed in docs/KNOWN-GAPS.md.
CONTRIBUTING.md.SECURITY.md describes what AvaKit does with keys.npm-publish deployment. Each package's Trusted Publisher on npm names that environment, so npm enforces the approval too. See RELEASING.md.>=22 (the four libraries from core and react 0.2.3, mcp 0.3.0 and studio 0.1.15; earlier versions of them declared >=20.11).Requirements: Node ≥ 22.18 (CI runs on Node 22 and 24), pnpm ≥ 10. See CONTRIBUTING.md and the design docs in docs/. Conventions: English everywhere, shadcn/ui only, Framer Motion / GSAP for animation, latest stable versions.
MIT © AvaKit contributors
Built on viem, Web3Auth, Foundry, and shadcn/ui. Testnet-first (Fuji); mainnet is opt-in.
来源:README.md,提交 2fa5e8c
List templates
List the Avalanche dapp templates available to scaffold_app.
无需输入参数。
Scaffold an Avalanche dapp
Create a new Avalanche dapp from a template (minimal, nft-mint, token-gated-app, erc20-token, icm-messenger, eerc-token, l1-launch, token-bridge). Wraps create-avalanche-app. Returns the created files, next steps, and `artifacts`: the paths of the project's compiled contracts, which deploy_contract and write_contract take as artifactPath — nothing has to be read or copied to deploy and call them. Each template supports only the chains list_templates shows for it — most are Fuji-only — and any other chain is refused. The project is created inside the server's working directory (or AVAKIT_MCP_ROOT, when the server was started with it); a directory outside it is refused.
name必填chainlocaltemplatedirectoryRead Avalanche chain data
Read a native AVAX balance, a transaction receipt, or a contract view/pure function over RPC. No key needed. For contractRead pass the contract's ABI the same way write_contract takes it: as artifactPath (one of the `artifacts` scaffold_app returned) or as abi (the JSON ABI, or just the function's signature). To change state (for example to mint) use write_contract.
abiargshashchainaction必填addressartifactPathfunctionNameEstimate gas
Estimate the gas a transaction (to / data / value) would use and report the current gas price and rough AVAX cost, over RPC. No key needed.
to必填datafromchainvalueDeploy a contract
Deploy a compiled contract to Avalanche and return its address, once the transaction has succeeded and there is code at that address. Pass the contract either as artifactPath (a file: one of the `artifacts` scaffold_app returned, or a Foundry/Hardhat JSON artifact) or as abi + bytecode — exactly one of the two; artifactPath means no bytecode has to be copied into the call. On the Fuji testnet (the default) no key is needed: when AVAKIT_DEPLOYER_KEY is not set, the server signs with a temporary session test wallet that exists only in its memory, works on Fuji only, and is funded from the AvaKit faucet when it cannot pay. Mainnet (c-chain) needs all three of: your own key in AVAKIT_DEPLOYER_KEY, confirm:true in this call AND AVAKIT_ALLOW_MAINNET=1 in the server's environment, which only the person running the server can set — without it a mainnet call is refused even with confirm:true. A deployment that reverts is returned as an error. The result says which wallet signed. To call the deployed contract — for example to mint — use write_contract, which may call a contract deployed here, on that chain, for as long as the server runs.
abiargschainconfirmbytecodeartifactPathCall a contract (state-changing)
Send a state-changing contract call — for example mint — and return once it has succeeded on chain. The call is simulated first: if it would revert, the revert reason is returned and nothing is sent. Give the ABI as artifactPath (the file deploy_contract took) or as abi, which can be just the function's signature, e.g. ["function mint() returns (uint256)"] — exactly one of the two. It calls only a contract this server deployed in this session (with deploy_contract, on the same chain) or one whose address AVAKIT_WRITE_ALLOWLIST lists in the server's environment (AVAKIT_WRITE_ALLOWLIST=* allows any), and sends at most AVAKIT_MAX_VALUE AVAX with a call (0.1 when it is not set). Any other call is refused before anything is signed, and only the person running the server can change either variable. On the Fuji testnet (the default) no key is needed: when AVAKIT_DEPLOYER_KEY is not set, the server signs with a temporary session test wallet that exists only in its memory, works on Fuji only, and is funded from the AvaKit faucet when it cannot pay. Mainnet (c-chain) needs all three of: your own key in AVAKIT_DEPLOYER_KEY, confirm:true in this call AND AVAKIT_ALLOW_MAINNET=1 in the server's environment, which only the person running the server can set — without it a mainnet call is refused even with confirm:true. The result says which wallet signed. To read state use read_chain.
abiargschainvalueaddress必填confirmartifactPathfunctionName必填Wallet status
Show the wallet deploy_contract and write_contract would sign with on a chain, where it comes from ("session": the temporary Fuji test wallet; "env": your key in AVAKIT_DEPLOYER_KEY; "none": nothing to sign with), and its balance. Read-only: it sends nothing and never asks the faucet for funds. A session wallet with a zero balance is normal before its first transaction — the signing tools fund it when it cannot pay. On mainnet (c-chain) there is a wallet only when AVAKIT_DEPLOYER_KEY is set.
chainGet AvaKit context
Return AvaKit + Avalanche context for coding: the API surface, conventions, doc links, and how deploying and minting work from this server (no key needed on Fuji; what mainnet needs).
topic已满足适用检查项的 90%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
npm create avalanche-app@latest my-app -- --template nft-mintnpm install @avakit/react @avakit/core viem"use client";import { injectedAdapter } from "@avakit/core";import { fuji } from "@avakit/core/chains";import { AvaKitProvider, ConnectAvalanche } from "@avakit/react";
export function App() { return ( <AvaKitProvider chains={[fuji]} adapters={[injectedAdapter()]}> <ConnectAvalanche /> </AvaKitProvider> );}{ "mcpServers": { "avakit": { "command": "npx", "args": ["-y", "@avakit/mcp"] } }}packages/ core/ @avakit/core react/ @avakit/react mcp/ @avakit/mcp studio/ @avakit/studio (local dashboard + MCP) create-avalanche-app/ scaffolder + 8 templatesapps/web/ the avakit.dev site (EN + TR)examples/ live demo dapps (hello-avax, web3auth-demo)services/ faucet + telemetry Cloudflare Workerscontracts-ci/ Foundry tests + artifact check for the shipped contractsscripts/ repo scripts (template smoke test, end-to-end Fuji run, template dependency check)docs/ planning, PRD, architecture, ADRs, specs, security review, known gapspnpm installpnpm build # all packages (Turborepo)pnpm test # Vitestpnpm lint # Biomepnpm typecheck # TypeScript