Every variable Ward’s CLI, self-hosted facilitator, and hosted verification server read.
.env.example is the source of truth — copy it before doing anything else:
cp .env.example .env
Every variable below is grouped by which part of Ward actually reads it.
Ward CLI — the host-side test harness
Variable
Required
Default
Purpose
FACILITATOR_URL
No
http://localhost:4022
The facilitator ward test runs the full guarantee suite against.
WARD_NETWORK
No
testnet
testnet or mainnet.
ALGOD_TESTNET_URL
No
https://testnet-api.algonode.cloud
Public algod endpoint Ward reads chain state from.
ALGOD_TOKEN
No
""
Only needed for a private/authenticated algod endpoint.
USDC_ASSET_ID
No
10458941
TestNet USDC’s ASA id — the asset Ward’s happy-path payments use.
WARD_CLIENT_PRIVATE_KEY
Yes
—
Base64 algosdk secret key for the account Ward signs test payments from.
WARD_PAYTO_ADDRESS
Yes
—
The seller/resource-owner stand-in Ward pays.
WARD_PAYTO_PRIVATE_KEY
No
—
Only needed if you want ward init to opt this address into the test ASA for you.
WARD_FUNDER_PRIVATE_KEY
No
—
Funds WARD_CLIENT and A3’s disposable throwaway accounts via ward init. Omit to fund those addresses by hand instead.
Self-hosted facilitator (docker-compose.yml)
Variable
Required
Default
Purpose
AVM_PRIVATE_KEY
Yes
—
The facilitator’s own fee-payer signing key. Needs its own TestNet ALGO balance to co-sign settlement fee-payer transactions.
ALGOD_SERVER
No
https://testnet-api.algonode.cloud
The algod endpoint the containerized facilitator itself talks to.
EVM_PRIVATE_KEY
Yes
—
Any well-formed throwaway hex key. Required by the upstream multi-chain facilitator example to start, but never exercised — Ward only tests the Algorand scheme.
SVM_PRIVATE_KEY
Yes
—
Any well-formed throwaway base58 key. Same as above, for the Solana scheme.
docker-compose.yml uses Compose’s ${VAR:?message} syntax for AVM_PRIVATE_KEY,
EVM_PRIVATE_KEY, and SVM_PRIVATE_KEY — Compose refuses to start with a clear error if any is
unset, rather than starting the facilitator in a broken state.
Hosted verification server (src/server)
Variable
Required
Default
Purpose
SERVER_PAY_TO_ADDRESS
Yes
—
Receives this service’s own x402 payments for POST /verify-facilitator. Deliberately separate from the WARD_* test-harness accounts above — this is service revenue, not a test fixture.
SERVER_PORT
No
4030
Local-dev only. Deployed instances bind to PORT, assigned by the host platform.
PAYMENT_FACILITATOR_URL
No
https://facilitator.goplausible.xyz
The facilitator that processes payment to this service — never the facilitator being tested. See Deployment.
Generating everything at once
npx tsx scripts/fund-accounts.ts
Prints a fresh keypair (address + base64 secret key) for WARD_FUNDER, WARD_CLIENT,
WARD_PAYTO, and AVM_PRIVATE_KEY, plus throwaway well-formed EVM_PRIVATE_KEY /
SVM_PRIVATE_KEY values — paste all of it straight into .env. See the
Quickstart for the full walkthrough, including the one manual
funding step this script can’t automate.
Fund the accounts this script generates
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Ward","description":"Adversarial assurance for x402 payment facilitators on Algorand.","colors":{"primary":"#00BF63","light":"#2ED47E","dark":"#00954D"},"logo":{"light":"https://mintcdn.com/nymor-bc6ced18/sMeQO8iuBFp-mY5P/logo/light.png?fit=max\u0026auto=format\u0026n=sMeQO8iuBFp-mY5P\u0026q=85\u0026s=fec6804e7f8a031d73dbfd772467691c","dark":"https://mintcdn.com/nymor-bc6ced18/sMeQO8iuBFp-mY5P/logo/dark.png?fit=max\u0026auto=format\u0026n=sMeQO8iuBFp-mY5P\u0026q=85\u0026s=8dcf473107bad30f8bfef1081edb4c13","href":"/"},"favicon":"https://mintcdn.com/nymor-bc6ced18/sMeQO8iuBFp-mY5P/favicon.png?fit=max\u0026auto=format\u0026n=sMeQO8iuBFp-mY5P\u0026q=85\u0026s=4b79a4b163b884adb1a31bdfa3384997","navbar":{"links":[{"href":"mailto:support@example.com","label":"Support"}],"primary":{"type":"button","label":"Get Started","href":"/quickstart"}},"footer":{"socials":{"github":"https://github.com/debojyoti10CC/alg402","x":"https://x.com/algorandward"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/debojyoti10CC/alg402"},{"anchor":"X","icon":"x-twitter","href":"https://x.com/algorandward"},{"anchor":"x402 Protocol","icon":"book","href":"https://x402.gitbook.io/x402"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"nymor-bc6ced18","hasAudioNarration":false,"actualSubdomain":"nymor-bc6ced18","customDomains":["docs.algoward.xyz"],"gitSource":{"type":"github","owner":"debojyoti10cc","repo":"algowarddocs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aea2259a161a83b8f8f9ff9:success","clientVersion":"0.0.4160","searchFilterCounts":[{"language":"default","tag":"Operate It","count":12},{"language":"default","tag":"Correctness Guarantees","count":9},{"language":"default","tag":"Command Line","count":5},{"language":"default","tag":"Universal Guarantees","count":5},{"language":"default","tag":"Start Here","count":4},{"language":"default","tag":"Guides","count":4},{"language":"default","tag":"Algorand-Specific Guarantees","count":3},{"language":"default","tag":"Reference","count":3},{"language":"default","tag":"Project Reference","count":3},{"language":"default","tag":"Hosted Verification API","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"guides/environment-variables","slug":"/guides/environment-variables","pageMetadata":{"title":"Environment Variables","description":"Every variable Ward's CLI, self-hosted facilitator, and hosted verification server read.","href":"/guides/environment-variables"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Every variable Ward’s CLI, self-hosted facilitator, and hosted verification server read.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Card,CodeBlock,Heading,Table,Warning}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`.env.example`}),` is the source of truth — copy it before doing anything else:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` .env.example`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` .env`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Every variable below is grouped by which part of Ward actually reads it.`}),`\n`,_jsx(Heading,{level:`2`,id:`ward-cli-—-the-host-side-test-harness`,children:`Ward CLI — the host-side test harness`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Variable`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Purpose`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`FACILITATOR_URL`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`http://localhost:4022`})}),_jsxs(_components.td,{children:[`The facilitator `,_jsx(_components.code,{children:`ward test`}),` runs the full guarantee suite against.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`WARD_NETWORK`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`testnet`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`testnet`}),` or `,_jsx(_components.code,{children:`mainnet`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ALGOD_TESTNET_URL`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://testnet-api.algonode.cloud`})}),_jsx(_components.td,{children:`Public algod endpoint Ward reads chain state from.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ALGOD_TOKEN`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`\"\"`})}),_jsx(_components.td,{children:`Only needed for a private/authenticated algod endpoint.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`USDC_ASSET_ID`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`10458941`})}),_jsx(_components.td,{children:`TestNet USDC’s ASA id — the asset Ward’s happy-path payments use.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`WARD_CLIENT_PRIVATE_KEY`})}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`Yes`})}),_jsx(_components.td,{children:`—`}),_jsx(_components.td,{children:`Base64 algosdk secret key for the account Ward signs test payments from.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`WARD_PAYTO_ADDRESS`})}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`Yes`})}),_jsx(_components.td,{children:`—`}),_jsx(_components.td,{children:`The seller/resource-owner stand-in Ward pays.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`WARD_PAYTO_PRIVATE_KEY`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`—`}),_jsxs(_components.td,{children:[`Only needed if you want `,_jsx(_components.code,{children:`ward init`}),` to opt this address into the test ASA for you.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`WARD_FUNDER_PRIVATE_KEY`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`—`}),_jsxs(_components.td,{children:[`Funds `,_jsx(_components.code,{children:`WARD_CLIENT`}),` and A3’s disposable throwaway accounts via `,_jsx(_components.code,{children:`ward init`}),`. Omit to fund those addresses by hand instead.`]})]})]})]}),`\n`,_jsxs(Heading,{level:`2`,id:`self-hosted-facilitator-docker-compose-yml`,children:[`Self-hosted facilitator (`,_jsx(_components.code,{children:`docker-compose.yml`}),`)`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Variable`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Purpose`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`AVM_PRIVATE_KEY`})}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`Yes`})}),_jsx(_components.td,{children:`—`}),_jsx(_components.td,{children:`The facilitator’s own fee-payer signing key. Needs its own TestNet ALGO balance to co-sign settlement fee-payer transactions.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ALGOD_SERVER`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://testnet-api.algonode.cloud`})}),_jsx(_components.td,{children:`The algod endpoint the containerized facilitator itself talks to.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`EVM_PRIVATE_KEY`})}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`Yes`})}),_jsx(_components.td,{children:`—`}),_jsx(_components.td,{children:`Any well-formed throwaway hex key. Required by the upstream multi-chain facilitator example to start, but never exercised — Ward only tests the Algorand scheme.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`SVM_PRIVATE_KEY`})}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`Yes`})}),_jsx(_components.td,{children:`—`}),_jsx(_components.td,{children:`Any well-formed throwaway base58 key. Same as above, for the Solana scheme.`})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`docker-compose.yml`}),` uses Compose’s `,_jsx(_components.code,{children:\"${VAR:?message}\"}),` syntax for `,_jsx(_components.code,{children:`AVM_PRIVATE_KEY`}),`,\n`,_jsx(_components.code,{children:`EVM_PRIVATE_KEY`}),`, and `,_jsx(_components.code,{children:`SVM_PRIVATE_KEY`}),` — Compose refuses to start with a clear error if any is\nunset, rather than starting the facilitator in a broken state.`]})}),`\n`,_jsxs(Heading,{level:`2`,id:`hosted-verification-server-src/server`,children:[`Hosted verification server (`,_jsx(_components.code,{children:`src/server`}),`)`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Variable`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Purpose`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`SERVER_PAY_TO_ADDRESS`})}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`Yes`})}),_jsx(_components.td,{children:`—`}),_jsxs(_components.td,{children:[`Receives this service’s own x402 payments for `,_jsx(_components.code,{children:`POST /verify-facilitator`}),`. Deliberately separate from the `,_jsx(_components.code,{children:`WARD_*`}),` test-harness accounts above — this is service revenue, not a test fixture.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`SERVER_PORT`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`4030`})}),_jsxs(_components.td,{children:[`Local-dev only. Deployed instances bind to `,_jsx(_components.code,{children:`PORT`}),`, assigned by the host platform.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`PAYMENT_FACILITATOR_URL`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://facilitator.goplausible.xyz`})}),_jsxs(_components.td,{children:[`The facilitator that processes payment `,_jsx(_components.strong,{children:`to`}),` this service — never the facilitator being tested. See `,_jsx(_components.a,{href:`/server/deployment#why-payment_facilitator_url-defaults-to-the-public-facilitator`,children:`Deployment`}),`.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`generating-everything-at-once`,children:`Generating everything at once`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npx`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tsx`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` scripts/fund-accounts.ts`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Prints a fresh keypair (address + base64 secret key) for `,_jsx(_components.code,{children:`WARD_FUNDER`}),`, `,_jsx(_components.code,{children:`WARD_CLIENT`}),`,\n`,_jsx(_components.code,{children:`WARD_PAYTO`}),`, and `,_jsx(_components.code,{children:`AVM_PRIVATE_KEY`}),`, plus throwaway well-formed `,_jsx(_components.code,{children:`EVM_PRIVATE_KEY`}),` /\n`,_jsx(_components.code,{children:`SVM_PRIVATE_KEY`}),` values — paste all of it straight into `,_jsx(_components.code,{children:`.env`}),`. See the\n`,_jsx(_components.a,{href:`/quickstart#3-generate-accounts`,children:`Quickstart`}),` for the full walkthrough, including the one manual\nfunding step this script can’t automate.`]}),`\n`,_jsx(Card,{title:`Fund the accounts this script generates`,icon:`key`,href:`/quickstart#4-fund-the-two-bootstrap-accounts`,horizontal:true})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Environment Variables","description":"Every variable Ward's CLI, self-hosted facilitator, and hosted verification server read.","href":"/guides/environment-variables"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Ward CLI — the host-side test harness","slug":"ward-cli-—-the-host-side-test-harness","depth":2,"children":[]},{"title":"Self-hosted facilitator (docker-compose.yml)","slug":"self-hosted-facilitator-docker-compose-yml","depth":2,"children":[]},{"title":"Hosted verification server (src/server)","slug":"hosted-verification-server-src/server","depth":2,"children":[]},{"title":"Generating everything at once","slug":"generating-everything-at-once","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"nymor-bc6ced18","siteName":"Ward","title":"Environment Variables - Ward","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-17T04:44:55.840Z","originalFileLocation":"guides/environment-variables.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Every variable Ward\u0026#x27;s CLI, self-hosted facilitator, and hosted verification server read.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Ward\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nymor-bc6ced18/Y0LMuoX_Fjg-wieV/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/nymor-bc6ced18/Y0LMuoX_Fjg-wieV/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nymor-bc6ced18/Y0LMuoX_Fjg-wieV/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/nymor-bc6ced18/Y0LMuoX_Fjg-wieV/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/nymor-bc6ced18/Y0LMuoX_Fjg-wieV/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nymor-bc6ced18/Y0LMuoX_Fjg-wieV/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nymor-bc6ced18/Y0LMuoX_Fjg-wieV/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/nymor-bc6ced18/Y0LMuoX_Fjg-wieV/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/nymor-bc6ced18/Y0LMuoX_Fjg-wieV/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Environment Variables - Ward\">\u003cmeta data-mint-head property=\"og:description\" content=\"Every variable Ward\u0026#x27;s CLI, self-hosted facilitator, and hosted verification server read.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Ward\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.algoward.xyz/guides/environment-variables\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://nymor-bc6ced18.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=Environment+Variables\u0026amp;description=Every+variable+Ward%27s+CLI%2C+self-hosted+facilitator%2C+and+hosted+verification+server+read.\u0026amp;theme=ad2ca508167e1cc0e40f7c0a\u0026amp;signature=f4c1c7829a18a256b2c2bf969ab5e63abcdbab35433a48042a1e2e37995fa11c\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Environment Variables - Ward\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Every variable Ward\u0026#x27;s CLI, self-hosted facilitator, and hosted verification server read.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nymor-bc6ced18.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=Environment+Variables\u0026amp;description=Every+variable+Ward%27s+CLI%2C+self-hosted+facilitator%2C+and+hosted+verification+server+read.\u0026amp;theme=ad2ca508167e1cc0e40f7c0a\u0026amp;signature=f4c1c7829a18a256b2c2bf969ab5e63abcdbab35433a48042a1e2e37995fa11c\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/nymor-bc6ced18/Y0LMuoX_Fjg-wieV/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Ward\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#00BF63\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.algoward.xyz/guides/environment-variables\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/environment-variables.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.algoward.xyz/#organization\",\"name\":\"Ward\",\"url\":\"https://docs.algoward.xyz\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/nymor-bc6ced18/sMeQO8iuBFp-mY5P/logo/light.png?fit=max\u0026auto=format\u0026n=sMeQO8iuBFp-mY5P\u0026q=85\u0026s=fec6804e7f8a031d73dbfd772467691c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.algoward.xyz#website\",\"name\":\"Ward\",\"url\":\"https://docs.algoward.xyz\",\"publisher\":{\"@id\":\"https://docs.algoward.xyz/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.algoward.xyz/guides/environment-variables#webpage\",\"url\":\"https://docs.algoward.xyz/guides/environment-variables\",\"name\":\"Environment Variables\",\"description\":\"Every variable Ward's CLI, self-hosted facilitator, and hosted verification server read.\",\"dateModified\":\"2026-08-17T04:44:55.840Z\",\"isPartOf\":{\"@id\":\"https://docs.algoward.xyz#website\"},\"breadcrumb\":{\"@id\":\"https://docs.algoward.xyz/guides/environment-variables#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.algoward.xyz/guides/environment-variables#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Ward\",\"item\":\"https://docs.algoward.xyz\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Environment Variables\",\"item\":\"https://docs.algoward.xyz/guides/environment-variables\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.algoward.xyz/guides/environment-variables#article\",\"headline\":\"Environment Variables\",\"name\":\"Environment Variables\",\"description\":\"Every variable Ward's CLI, self-hosted facilitator, and hosted verification server read.\",\"url\":\"https://docs.algoward.xyz/guides/environment-variables\",\"mainEntityOfPage\":{\"@id\":\"https://docs.algoward.xyz/guides/environment-variables#webpage\"},\"dateModified\":\"2026-08-17T04:44:55.840Z\",\"publisher\":{\"@id\":\"https://docs.algoward.xyz/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.algoward.xyz#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Ward\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Ward\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/guides/environment-variables.md","siteName":"Ward","nav":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/debojyoti10CC/alg402"},{"anchor":"X","icon":"x-twitter","href":"https://x.com/algorandward"},{"anchor":"x402 Protocol","icon":"book","href":"https://x402.gitbook.io/x402"}]},"tabs":[{"tab":"Start Here","pages":[{"title":"Start Here","href":""}]},{"tab":"Correctness Guarantees","pages":[{"title":"Correctness Guarantees","href":"/invariants/overview"}]},{"tab":"Operate It","groups":[{"group":"Command Line","pages":[{"title":"CLI Overview","href":"/cli/overview"},{"title":"ward init","href":"/cli/init"},{"title":"ward test","href":"/cli/test"},{"title":"ward fuzz \u003cid>","href":"/cli/fuzz"},{"title":"ward report","href":"/cli/report"}]},{"group":"Hosted Verification API","pages":[{"title":"Verification API Overview","href":"/server/overview"},{"title":"API Reference","href":"/server/api-reference"},{"title":"Deployment","description":"Deploying your own instance of the hosted verification service to Render.","href":"/server/deployment"}]},{"group":"Guides","pages":[{"title":"Environment Variables","href":"/guides/environment-variables"},{"title":"Self-Hosting the Facilitator","description":"How docker-compose.yml builds and runs a real, unmodified x402-avm facilitator.","href":"/guides/self-hosting-facilitator"},{"title":"Adding a Chain Adapter","href":"/guides/adding-a-chain-adapter"},{"title":"Troubleshooting","href":"/guides/troubleshooting"}]}]},{"tab":"Reference","pages":[{"title":"Reference","href":"/reference/project-structure"}]}]},"basePath":"","title":"Environment Variables - Ward","buildId":"dpl_GRSyrvXT6FFTpZZTGz5iZPp3D2zE","deploymentId":"dpl_GRSyrvXT6FFTpZZTGz5iZPp3D2zE","dynamics":[],"chunks":[]}