File tree Expand file tree Collapse file tree
apps/zerodev-signer-demo/src/app Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -159,6 +159,9 @@ jobs:
159159 env :
160160 NEXT_PUBLIC_ZERODEV_PROJECT_ID : ${{ secrets.ZD_PROJECT_ID }}
161161 NEXT_PUBLIC_KMS_PROXY_BASE_URL : https://kms.staging.zerodev.app/api/v1
162+ # Pin the bundler/paymaster to staging so the AA stack matches the
163+ # staging KMS above (the SDK default host is prod).
164+ NEXT_PUBLIC_ZERODEV_AA_HOST : https://staging-meta-aa-provider.onrender.com
162165
163166 - name : Wait for demo app
164167 run : |
Original file line number Diff line number Diff line change @@ -33,6 +33,11 @@ export const config = createConfig({
3333 projectId : process . env . NEXT_PUBLIC_ZERODEV_PROJECT_ID ! ,
3434 proxyBaseUrl : process . env . NEXT_PUBLIC_KMS_PROXY_BASE_URL ! ,
3535 chains : [ arbitrumSepolia , sepolia ] ,
36+ // Bundler/paymaster host override (defaults to the SDK's prod host).
37+ // CI/e2e sets this to staging to match NEXT_PUBLIC_KMS_PROXY_BASE_URL.
38+ ...( process . env . NEXT_PUBLIC_ZERODEV_AA_HOST && {
39+ aaHost : process . env . NEXT_PUBLIC_ZERODEV_AA_HOST ,
40+ } ) ,
3641 // Local testing override: our docker backend's Turnkey base org differs
3742 // from the SDK's hardcoded prod default, so point the connector at it.
3843 ...( process . env . NEXT_PUBLIC_ORG_ID && {
Original file line number Diff line number Diff line change 11export const DEFAULT_SESSION_EXPIRATION_IN_SECONDS = '900' // default to 15 minutes
22export const DEFAULT_IFRAME_CONTAINER_ID = 'turnkey-auth-iframe-container-id'
33export const DEFAULT_IFRAME_ELEMENT_ID = 'turnkey-default-iframe-element-id'
4- export const DEFAULT_ORGANIZATION_ID = '0d98e826-dd8f-44ca-a585-3afcd27d4002'
5- export const KMS_SERVER_URL = 'https://kms.staging.zerodev.app'
4+ // Prod parent organization id. Only a fallback — the SDK resolves the parent
5+ // org at runtime from the KMS `server-info/parent-org-id` endpoint.
6+ export const DEFAULT_ORGANIZATION_ID = '65028f18-01c6-4ed4-beff-2ed1be5d6bad'
7+ export const KMS_SERVER_URL = 'https://kms.zerodev.app'
68
79// Pinned ECDSA P-256 public key (uncompressed, 65 bytes hex) of Turnkey's
810// TLS Fetcher Sign enclave. Used to verify the signature on the OTP encryption
Original file line number Diff line number Diff line change 1- // Origin of the ZeroDev AA bundler + paymaster. Staging for now; the prod
2- // release flips this to `https://rpc.zerodev.app`. Consumers override the host
3- // (not the version/path) via the connector's `aaHost` option.
4- export const ZERODEV_AA_HOST = 'https://staging-meta-aa-provider.onrender.com'
1+ // Origin of the ZeroDev AA bundler + paymaster (prod). Consumers override the
2+ // host (not the version/path) via the connector's `aaHost` option.
3+ export const ZERODEV_AA_HOST = 'https://rpc.zerodev.app'
54
65// ZeroDev AA API version the SDK targets. Owned by the SDK (bumped alongside a
76// release that supports a new version) — never set by consumers.
You can’t perform that action at this time.
0 commit comments