Deploy your own vault
yarn foundry:account:import # or foundry:account:generate, then fund it from the faucet
yarn foundry:deploy # Hedera testnet; about 25 HBAR, mostly the HTS collection feeThis deploys OrderVault with its four libraries (MarketGuard, MarketRegistry, OrderCollection, Settlement), creates the NFT collection, lists both markets, deploys and registers the three order types (limit 0, stop 1, trailing stop 2), deploys OrderVaultLens, and rewrites packages/nextjs/contracts/deployedContracts.ts. There is no local chain: Anvil has none of Hedera's system contracts, so the vault only runs on Hedera, and the tests use mocks of them instead. The scaffold's foundry:chain and --network localhost still exist from the base template but don't apply here.
From README.md at v1.1 (cee2d4e) · View source