# Deployment \[Deployment and ownership notes for Shield implementations, factories, clones, and upstream Newton addresses.]

This page is for teams operating Shield deployments or reviewing how a VaultKit deployment is wired.

## Per-Chain Artifacts

The SDK registry, `SHIELD_DEPLOYMENTS`, maps `(chainId, env)` to a Shield implementation and `ShieldFactory` deployment so `createShield(...)` can predict, attach, or deploy curator clones. VaultKit 3.0.0 records no slot yet: the factories recorded before protocol 0.7 deploy an implementation without `setPolicies`, so every slot is `null` until a policy-set Shield factory is recorded. Pass `createShield({ deployment })` to target a factory you deployed yourself, or attach to an existing clone with `policyClientAddress`.

Runtime registry entries and deployment artifact JSON should be updated together when a new deployment lands.

## Upstream Newton Addresses

Shield contracts depend on Newton Policy Protocol addresses, especially the task manager used for attestation validation. Those upstream addresses should come from the pinned Newton contracts deployment artifacts, not from stale hand-maintained tables.

When Newton upstream contracts migrate:

1. Refresh the upstream deployment artifacts.
2. Re-resolve task manager and related policy-client addresses.
3. Update Shield deployment artifacts.
4. Update the SDK deployment registry.
5. Release an SDK version that points at the new registry values.

## Supported Chains

VaultKit currently documents support for:

| Chain | Chain ID |
| --- | --- |
| Ethereum | `1` |
| Base | `8453` |
| Sepolia | `11155111` |
| Base Sepolia | `84532` |

If a chain is unknown to the SDK registry, `createShield(...)` throws `UnsupportedChainError` before sending transactions.

## Ownership Handoff

The factory is not owned and has no admin handoff. Ownership handoff applies to per-curator Shield clones.

The Shield owner can:

* Queue, execute, and cancel bypasses.
* Bind or replace the policy set, params included, with `setPolicies`.
* Approve or revoke delegates with `setApprovedDelegate`.
* Transfer Shield ownership.

After deploying a clone with an EOA, curators commonly transfer ownership to a Safe by calling `setPolicyClientOwner(safeAddress)`.

## Post-Handoff Checks

After transferring ownership, verify:

* `getOwner()` returns the Safe address.
* Owner-gated calls can only be made by the Safe.
* Monitoring watches `BypassQueued`, `BypassExecuted`, and `BypassCancelled`.
* `getPolicySetSnapshot()` returns the expected policy set, params included.

## Local Testing

For local testing, use a local chain and local-only deployment artifacts. Local artifacts should not be treated as audit records for production deployment.

## Operational Rule

Do not hardcode upstream Newton addresses in app docs or integration code. Use the SDK registry and deployment artifacts so changes are auditable and versioned.
