Configuration
The defaults work out of the box. To override the frontend's, copy packages/nextjs/.env.example to packages/nextjs/.env.local; packages/foundry/.env is created from its .env.example when you install.
| Variable | File | Default | Used for |
|---|---|---|---|
NEXT_PUBLIC_HEDERA_TESTNET_RPC_URL | packages/nextjs/.env.local | https://testnet.hashio.io/api | Wallet reads and transactions |
NEXT_PUBLIC_MIRROR_NODE_URL | packages/nextjs/.env.local | https://testnet.mirrornode.hedera.com | Order history, NFTs, associations, lag |
NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID | packages/nextjs/.env.local | scaffold's shared id | WalletConnect; get your own for production |
HEDERA_RPC_URL | packages/foundry/.env | https://testnet.hashio.io/api | The hedera_testnet endpoint in foundry.toml: fork tests and yarn foundry:pool-gap |
FORK_TESTS | shell | unset | true runs the guard fork tests against live testnet |
Deploys sign with a Foundry keystore, so no private key goes in any file.
From README.md at v1.1 (6ddd9a3) · View source
Deploy your own vault
This deploys OrderVault and its two libraries, creates the NFT collection, lists both markets and rewrites packages/nextjs/contracts/deployedContracts.ts.
How an order works
How OrderVault works, what each Hedera service does in it, what an order costs, and how it can fail. The README covers setup and the live proofs.