Documentation

Command line

From deploy-kit/, with NODE_URL set to a testnet node:

node vault.mjs keygen                          # create / show your key
node vault.mjs deploy                          # install UserVault (you own it)
node vault.mjs set-policy <cap> <max> <assets> # your limits, on-chain
node vault.mjs register-operator <hash>        # grant the agent its key
node vault.mjs deposit-native <amount>         # fund the vault
node vault.mjs revoke-operator <hash>          # KILL SWITCH
node vault.mjs withdraw-native <to> <amount>   # take everything back

Token management for x402:

node token.mjs deploy                # deploy the CEP-18 payment token
node token.mjs set-domain <hash>     # required: sets the EIP-712 domain
node token.mjs mint <account> <amt>  # fund the x402 payer