> For the complete documentation index, see [llms.txt](https://docs.nulth.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nulth.xyz/guides/create-and-fund.md).

# Create & fund an account

This guide creates a Nulth account with your own private policy and funds it for spending. Testnet throughout.

## 1 · Connect the admin wallet

In the app, open **Create account** and **Connect Freighter** (on Testnet). This account becomes the **admin** — governance only, never a spending key. Use a wallet you control long-term; rotating the admin later is a governance action you'll want to keep.

## 2 · Choose the policy

* **Per-payment cap** — the maximum any single payment may be. Held privately; only its Poseidon commitment goes on-chain.
* **Allowlist** — the destinations this account may pay. Add as many as you need (up to 65,536). Only the Merkle root goes on-chain; the addresses stay in your browser.

Pick the allowlist deliberately — a destination that isn't in it can never receive a payment from this account, by construction.

## 3 · Deploy and save the keystore

**Create** triggers a Freighter-signed `createContractV2` that instantiates your account against the shared account wasm + verifier. When it settles you get:

* your **account address** (a `C…` contract ID), and
* an **encrypted keystore** download.

> The keystore is the **only copy** of your policy secret (cap, salt, allowlist paths). It's encrypted under your passphrase (AES-256-GCM). Store it safely and remember the passphrase — there is no recovery. See [Proving](/how-nulth-works/proving.md).

## 4 · Fund with testnet USDC

The dashboard shows your account address and live USDC balance. Send testnet USDC to it from any holder. The balance updates on-chain; you're ready to spend.

## Returning later

Reload the app and either pick your account from the switcher (it persists in local storage) or **import your keystore file** and unlock it with your passphrase. Then continue to [Send a payment](/guides/send-a-payment.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.nulth.xyz/guides/create-and-fund.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
