# partner:onboarding — Ammora SDK 0.3.8 Check the source for arguments and transaction requirements. [Read in Docs](https://docs.ammora.org/examples?command=partner%3Aonboarding) · [Detailed guide](https://docs.ammora.org/guides/src-partner-readme) · [Local setup](https://docs.ammora.org/guides/example-setup) ## Context and execution GIWA Sepolia 91342. Public SDK 0.3.8, Math 0.3.0. Source revision: `a9b3fd798fa51495e8defec99a25de59e4d70672`. Install the SDK in your app, or prepare the example project using the local setup guide for its npm commands. Review the entry source and guide for required arguments, roles and deployment selection. `AMMORA_SEND=0` does not turn send-only commands into previews. Never put CLI keys in a browser or resend an uncertain transaction. Command: `npm run partner:onboarding -- ` (`tsx src/partner/onboarding-preview.ts`). Omit `--` and arguments when the source accepts none. ## Entry file: `src/partner/onboarding-preview.ts` ```typescript import { createPartnerFixture } from "./fixture.js"; import { createReviewedCatalog } from "./catalog.js"; import { isMain, runOffline } from "./runtime.js"; export const previewManualOnboarding = async () => { const fixture = createPartnerFixture(), catalog = createReviewedCatalog([fixture.entry]); const request = { purpose: "setup" } as const; const selection = catalog.select({ ...request, chainId: "31337", genesisHash: fixture.profile.genesisHash, source: fixture.entry.manifest.source }); if (selection.status !== "selected") throw new Error("Reviewed setup entry unavailable"); const handle = catalog.open(selection.reference, request); if (handle.kind !== "pool-rights-v1") throw new Error("Expected pool rights family"); const plan = await handle.client.planOnboarding("C2"); return { scope: fixture.scope, plan, rpcReads: fixture.calls.length, note: "C2 preserves the original beneficiary's fees. For real C1/C3 onboarding call planOnboarding with a separately reviewed live profile; all returned role/dependency/timelock steps still require consent and fresh simulation." }; }; if (isMain(import.meta.url)) void runOffline(previewManualOnboarding); ``` ## Supporting files Keep relative paths intact. Local imports are listed recursively; JSON templates are choices to review, not approved inputs. Runtime-selected files and wallet/environment setup still follow the detailed guide. - [src/partner/catalog.ts](https://docs.ammora.org/examples/source/src/partner/catalog.ts.txt) - [src/partner/fixture.ts](https://docs.ammora.org/examples/source/src/partner/fixture.ts.txt) - [src/partner/runtime.ts](https://docs.ammora.org/examples/source/src/partner/runtime.ts.txt) - [src/shared/input.ts](https://docs.ammora.org/examples/source/src/shared/input.ts.txt) - [package.json](https://docs.ammora.org/examples/source/package.json.txt) - [package-lock.json](https://docs.ammora.org/examples/source/package-lock.json.txt) - [tsconfig.json](https://docs.ammora.org/examples/source/tsconfig.json.txt) - [.env.giwa.example](https://docs.ammora.org/examples/source/file.env.giwa.example.txt) - [.nvmrc](https://docs.ammora.org/examples/source/file.nvmrc.txt) ## AI implementation checklist Use the actual SDK exports and parameter types in the linked files. Start with reads and unsigned plans where supported. Use a connected wallet for browser signing. Preserve raw integer units, exact approvals, caller authority, deadlines and receipt reconciliation. Report local checks separately from live-chain verification.