Configure the custody gateway add-on once per network before creating client gateways. The Setup tab tracks four steps as a checklist until they are all done: an enabled coin, a profile, someone to do the keeper and screener work, and a client gateway. The coin, profile and gateway views show each setting, where its value comes from, and let a gateway manager change it. See How a custody gateway works for the architecture.
Steps
1. Open the add-on
Open Asset lifecycle → Custody gateway. Until every setup step is done, the page opens on the Setup checklist, with six tabs: Setup, Gateways, Coins, Profiles, Permissions and Approvals (covered in Approve custody gateway changes). Once all four steps are done, Setup is gone and the page opens on Gateways. A badge beside the page title says whether the add-on is “Active” or “Paused”.
A holder of the Gateway permission manager system role who holds no gateway role does not see Approvals, which needs Manager, Keeper or Screener. Write controls stay disabled until the wallet holds Manager.
Grant the manager role
The Permissions tab names the network the roles apply to and displays “One grant covers every gateway of the add-on on this network.” Its Role holders table lists each holder once with their Roles (Manager, Keeper or Screener). The keeper and screener wallets DALP signs with are rows too, named after their role, such as “Keeper service wallet”, and tagged “Service wallet” with their custody provider and balance (see Set up the keeper and screener).
The custody gateway's Permissions tab with the Role holders table and its service wallet rows.
- Select Add holder → A person's wallet above the table for a new wallet, or Change roles from a holder's row menu. For a new wallet, enter its address (a gateway role belongs to one wallet address, so the editor has no participant search).
- Select the role to grant or clear the role to revoke. The editor changes one role per submit and displays “Change one role at a time” if you change more than one.
- Select Review.
- Select Save and confirm with your PIN.
The Role holders table labels each holder the same way as the Roles tab of Admins and roles. The row of a person this organisation offboarded who still holds a gateway role shows “Offboarded, still holds this role”. To remove those roles, a Gateway permission manager selects Change roles in the row menu and clears one role per save, until the row is gone.
A change requiring a second approver keeps the editor open and lists the waiting call for another manager to approve on Approvals. On a new system, the table shows “Nobody holds a gateway role yet” while keeping Add holder available, and the first grant creates the add-on's access manager.
The first Manager comes from a two-step path. First, grant Gateway permission manager to a wallet under Organisation settings → Roles and permissions (see Admins and roles). Then open Permissions from that wallet and select Add holder to grant Manager. Owning the organisation or administering the platform grants no gateway role.
Only holders of Gateway permission manager can change gateway roles, from the wallet they act with. Holders of a gateway role see the table with Add holder and Change roles disabled with “Only holders of the custody gateway permission manager role can change gateway roles and signers.” Anyone else, including an organisation owner or platform administrator, sees “You can't open this page” in place of the table.
2. Enable a coin
- Open Coins and select Enable coin.
- Pick the Coin clients deposit and its separate Custody receipt token.
- Enter non-zero values for Freeze expiry (days) (how long a freeze lasts before expiring) and Paused exit after (days) (how long a gateway can stay paused before a client may exit).
- Select Enable coin and confirm with your PIN.
While the add-on's approvals are on, enabling a coin waits for one other Manager. Selecting Enable coin then asks for no PIN: the window changes to This change needs approval first, and nothing is written yet. Select Ask for approval and confirm with your PIN. Once another Manager approves it on Approvals, the coin is enabled with the defaults you entered.
The page shows the Add-on address under the receipt hint. To list the add-on on the receipt, open the receipt's Features tab, select Add delegate in its supply delegate section and paste that address with Can mint, Can burn and Vouches for callers on. If the receipt has the Hold feature, select Add reserver in its hold section and paste the same address, leaving Hold lifetime (days) blank.
If the add-on refuses the coin, the page stays open with “The coin could not be enabled.” and a sentence naming the prerequisite the coin or its receipt is missing, such as the supply delegate or the hold reserver. Fix it and select Enable coin again.
A coin can be enabled only once, and not while it has Booked movements attached: they refuse every movement the gateway makes. Set per-coin fees, cancel time limits and Auto-claim withdrawals on the coin's settings view.
3. Create a profile
A profile bundles shared settings for client gateways. At least one must exist before creating a gateway.
- Open Profiles and select Create profile.
- Enter a Name and Required verification topic (numeric ID of the verification topic clients must hold). A client is flagged when a claim from one of the organisation's configured compliance providers is revoked or expires, whatever topic the profile names (see When a client is flagged).
- Select Create profile.
To delete an unused profile, select Remove on its row. Profiles still assigned to any gateway cannot be removed.
4. Set up the keeper and screener
The keeper sweeps deposits and executes payouts, while the screener reviews deposits and withdrawals. The keeper runs as a custody-managed service wallet: no person does its automated work, and no Console action does it for a person. The screener can run as a service wallet, or people can hold the role in the Role holders table and do the work by hand.
The checklist marks “Keeper and screener set up” done when an active service wallet holds Keeper and an active service wallet or a person holds Screener. Without a Keeper service wallet the step stays open and reads “No service wallet holds Keeper, so new deposits are not recorded and a withdrawal that needs funding does not pay.”, with a link to Set up a Keeper service wallet. Where only people hold Screener, the step reads “Done by hand” for Screener and links to Set up a service wallet, the same place. A retired signer that still holds its role, an offboarded person, and a wallet the system's role block list blocks do not count. A blocked Keeper service wallet leaves Keeper uncovered until it is unblocked or replaced. A blocked Screener service wallet leaves Screener uncovered until it is unblocked or a person who can act holds the role.
Setting up or rotating a service wallet requires Gateway permission manager on the wallet you act with (granted under Organisation settings → Roles and permissions, see Admins and roles). Being an owner or platform administrator is not enough: without it, A service wallet and Rotate stay disabled with “Only holders of the custody gateway permission manager role can change gateway roles and signers.” When one of your other wallets holds the role, they say “One of your other wallets holds this role. Act with the wallet that holds it to continue.”
- Open Permissions and select Add holder → A service wallet.
- Pick the Role (Keeper or Screener) and the Custody provider, select Continue, then Set up and confirm with your PIN. The write grants the role automatically.
- The new wallet shows as a row named after its role and tagged “Service wallet”. It holds no role until the grant settles, so the row lists none yet. Wait for “Being set up” to move from “Pending” through “Granted” until the badge is gone and the wallet is active. If approval is enabled, approve the pending grant on Approvals.
- Monitor the balance on each service wallet row. It reads “Balance: …”, or “Balance unknown” when it could not be read, and “Low balance” warns before gas runs out, against the role's low-balance threshold. Thresholds are updated via the API by a gateway manager. When a keeper or screener call is waiting for gas, the row shows the open funding ask next to the wallet. The ask belongs to the organisation, so any member sees it under Transaction funding and a gas manager tops the wallet up.
While no active, unblocked service wallet holds Keeper, including while one is still being set up, a line under the table says “No service wallet holds Keeper, so new deposits are not recorded and a withdrawal that needs funding does not pay.” and, when a Keeper wallet can be set up, offers Set up a Keeper service wallet. For Screener, a line names who does it by hand, such as “Screener is done by hand by …, because no service wallet holds it.”, or says “Nobody does Screener, because no service wallet or person holds it.” Once a service wallet holds Keeper and Screener, A service wallet is disabled with “A service wallet already holds Keeper and Screener. Rotate one from its row instead.”
Without a configured provider, the step displays “Add a custody provider configuration before you set up a signer.” Reading the service wallets requires Gateway permission manager or the add-on Manager role. Without either, Permissions and the setup checklist show the server's refusal, and the Role holders table lists the keeper and screener wallets as plain rows because the page cannot distinguish them from people. If the wallet can still read the role holders, the checklist counts every holder who is neither offboarded nor blocked, including a retired signer that still holds its role, and does not say which work is done by hand. A wallet that can read neither cannot tell whether the step is done, so Setup stays and the step shows the refusal. A newly granted role can take a moment to be indexed.
Rotate a service wallet
Rotate a service wallet when its key is lost, exposed or retired:
- Under Permissions, open the service wallet's row menu and select Rotate.
- Select Rotate again and confirm with your PIN. The replacement wallet uses the same custody provider.
- The replacement shows as its own row with “Next signer: Pending”. Wait until it is active. Until then, Rotate stays disabled with “Wait until the next signer is active before you rotate again.” The previous wallet moves to “Retired” (or “Revoked” if its role was removed).
- While the retired wallet still holds its role, its row shows “Retired signer, still holds the role”. Open its row menu, select Revoke, then Revoke role, and confirm with your PIN to withdraw it. The row disappears once the revocation is indexed.
In-flight records keep their stage and resume automatically once the new service wallet is active.
See and change the settings
A custody gateway setting can have a coin default, a profile value and a gateway value. Three views show them:
- A coin: on Coins, select the coin's name, or View settings when the coin has no name. The coin's view shows only the coin's defaults.
- A profile: on Profiles, select the profile's name, then choose a coin in Coin. The view shows the values that gateways on the profile use for that coin when they have no gateway value of their own.
- A gateway: on Gateways, open the gateway, select Settings, then choose a coin in Coin. The view shows what the gateway applies to new requests for that coin. It doesn't show the client's own auto-claim choice: a client can turn Auto-claim withdrawals off for every coin on the gateway, whatever the view shows.
Each view groups the settings under Where coins go, Fees, Limits, Timers and Screening. A label beside each value names the source of the value that applies: “Coin default”, “Profile” or “Gateway”. A setting without a value reads “Not set”, which doesn't always mean off. When no source sets Auto-claim withdrawals, it is on unless the gateway's client has turned it off. With no Instant limit, every withdrawal waits for approval, and with no Daily maximum, there is no daily cap.
Open requests keep some terms from when they were created, so don't read these views as the terms of an open request.
Most settings take the value of the nearest source that sets them, so a gateway value replaces a profile value, which replaces the coin default. Five settings take the stricter value instead, as Profiles and settings explains. For those five, a profile or gateway value looser than a value below it doesn't show. The view shows the stricter value and names its source, “Coin default” or “Profile”. The looser value stays stored and can apply once the stricter values below it loosen.
A value under Timers never exceeds the coin default. One value of 0 still applies above it: a profile or gateway value of 0 for Time to give a payout address means no time limit, so it reads “Never”. A longer profile or gateway value shows the coin default, and so does a value of 0 for the pull-back or cancel time limit when the coin default is above 0. A longer value stays stored, so raising the coin default can lengthen the time. A timer without a coin default reads “Not set”, even when a profile or gateway sets one.
A gateway manager changes one setting at a time from any of the three views. Select Edit beside the setting, enter the new value and select Continue, then confirm. The change applies at the level of the view: the coin default, the profile or the gateway. A value set at the level of the view can be removed instead, so the value from the level above applies again. Freeze expires after and Client can exit a paused gateway after stay above zero, so the coin's view never removes them.
Each change needs another gateway manager's approval. Until it has one, the action window shows the held call and Ask for approval. Once the change is approved on Approvals, make the same change again: the view shows the new value only then. Approvals through the add-on checker explains the approval. The custody gateway API offers the same change.
Funding sources
A funding source is a wallet whose transfers of a coin into the gateway fund withdrawals instead of counting as deposits. On the gateway's Settings tab, choose the coin in Coin. Funding sources lists each wallet with who added it. A gateway manager selects Add funding source, picks the wallet and confirms, or selects Remove on a wallet's row. Adding a wallet needs another gateway manager's approval, like a setting change. One gateway manager removes a wallet alone, unless a funding report from it still waits for a screener.
Where payouts come from
Coins shows the add-on's Fee account (“Not set” when there is none) above a table with each enabled coin's Treasury address and Payout mode (“Approval wallet” or “Vault”). Every gateway of the add-on pays its fees to that account. A gateway manager selects Set fee account (Change fee account once one is set), enters the address and confirms. Like a treasury change, it needs the add-on's checker approval on Approvals. “No treasury: withdrawals wait until money arrives” means the coin has no treasury, so pooled withdrawals pause until funded. Its Payout mode cell then shows a dash. A gateway manager selects Set treasury on the coin's row (Change treasury once one is set), enters the treasury address and confirms. The change needs the add-on's checker approval on Approvals. Until then the shared action window shows its held calls and Ask for approval. Clear treasury removes it with one manager's confirmation and no checker. A wallet treasury must approve the gateway factory to spend the coin before pooled withdrawals can draw from it. The custody gateway API offers the same two writes.
Pause every gateway
A gateway manager can stop deposits and withdrawal requests on every gateway of the add-on at once. Open Actions beside the page title and select Pause all gateways. The side window says what stops, and the pause applies as soon as you confirm with your PIN, with no checker approval. The badge beside the title then reads “Paused”.
To restart them, select Resume all gateways in the same menu. Resuming needs the add-on's checker approval on Approvals. Until then the side window shows its held call and Ask for approval. A gateway that was paused on its own stays paused after the add-on resumes. The custody gateway API offers the fee account and the pause switch too.
Troubleshooting
Enabling a coin fails with an error that the gateway refused the change
The custody receipt failed contract validation, and the page names the check it failed. Receipts must be a token the system's DALP asset factory created, match the coin's decimals, list this add-on as a supply delegate that can mint, burn and vouch for callers, have no fee feature, not back another coin or be an enabled coin, and include the own-custody-gateway compliance rule bound to this add-on. A receipt with the Hold feature must also list the add-on as a reserver with no hold lifetime. Fix or replace the receipt token and retry Enable coin.
Enabling a coin fails because the coin has Booked movements attached
Booked movements refuse every movement of the coin that is not booked through a line, so each gateway deposit, funding report and withdrawal of it would revert. Detach Booked movements from the coin, then retry Enable coin, or keep the coin off the gateway.
Adding a service wallet asks for a custody provider configuration although one exists
Service wallet setup lists only provider configurations where Signing reads “Managed by DALP” and New accounts is enabled. Open Custody providers, enable New accounts on a DALP-managed provider and return to Permissions.
A service wallet stays on Pending
The provider wallet exists, and its row is waiting for the keeper or screener role grant to settle or be approved on Approvals. If the grant was rejected, copy the address of the row that shows “Being set up: Pending”, open Permissions, select Add holder → A person's wallet, enter that address, choose Keeper or Screener, and save. The row checks automatically and updates to “Active” once the platform indexes the grant.
Removing a profile fails with an error that the profile is in use
At least one gateway (including closed gateways) still references the profile. Check Profile on Gateways, reassign those gateways via the custody gateway API and retry Remove.