Using Resource Locks
Deposits
To use resource locking, the user needs to top up their locked balance. There are two ways to lock: sweep user assets automatically or deposit manually.Auto Top-Up
If enabled as part of the intent, The Compact will be automatically topped up the first time the user does an intent. The intent will use the JIT flow to sweep all supported tokens into The Compact. After that, all intents will come through the Fill-First flow (until the locked balance is depleted). To automatically lock the user funds:Manual Deposit
You can also deposit assets manually:Unlocking The Funds
Users can unlock their funds if needed. There are two ways to unlock: using permissionless and instant withdrawals.Permissionless Withdrawals
Permissionless withdrawals are two-step: you first need to enable the withdrawal, then wait for an unlock (reset) period, and do the actual withdrawal. The current reset period used by Rhinestone is 7 days. To enable the withdrawal:Instant Withdrawals
You can also withdraw instantly by requesting a signature from Rhinestone Orchestrator service.We’re currently working on supporting this. Reach out if you need this.