Veyronn Documentation
Test Collateral and First-Time Funding
Fund gas, create margin, add testnet vUSD, and prepare an account for perpetual trading.

Veyronn separates wallet assets from protocol margin:
- Testnet ETH remains in the wallet and pays gas.
- Test vUSD is the ERC-20 collateral used by the current testnet deployment.
- Available margin is vUSD credited to the wallet's Veyronn account and ready for trading or withdrawal.
- Reserved margin backs open positions until they are reduced, closed, or liquidated.
Funding sequence
The Test Collateral page guides the wallet through the required state transitions:
- create the Veyronn margin account
- add test vUSD
- deposit vUSD into available margin
- optionally authorize a bounded automation session
The testnet collateral contract can allocate vUSD and credit the beneficiary's margin account in one guided transaction, so a new wallet can move directly from network setup to its first perpetual trade.
Withdrawals
Only available collateral can be withdrawn. Collateral reserved by an open position must first be released by reducing or closing that position. Realized PnL and fees are applied to account state before the remaining amount becomes withdrawable.