Ecosystem
Primcast keeps its own code to the four systems that only the chain can provide. Market structure comes from protocols deployed on top. This page lists them with their status: built means the code exists and runs on the local and dev networks; planned means it is part of the launch plan but not yet deployed.
| Need | Component | Status | Role |
|---|---|---|---|
| Spot trading | Primcast DEX | Built | Uniswap-v2-style AMM made RWA-aware: gated RWA pairs and LP tokens, dividends folded into the pool, per-pair fees, a multi-reward farm, an indexer and a trading app |
| Explorer | Blockscout | Planned | Orbit-native block explorer with contract verification |
| Price feeds | Chainlink | Planned | One feed per traded asset; AssetHub keeps production data, not prices |
| Lending | Morpho Blue | Planned | One market per RWA token as collateral, USDC as the loan asset, conservative LLTV |
| Gas sponsorship | ERC-4337 bundler + paymaster | Planned | Sponsor claimDividends, subscribe and claimAllocation so holders do not need ETH |
| Scheduling | Chainlink Automation / Gelato / own cron | Planned | Calls processAll, checkMaturity and triggered dividends |
| Payment streams | Sablier / Superfluid | Only if needed | Streaming payouts |
| Wider stablecoin access | Circle CCTP / LayerZero OFT | After mainnet | The canonical Arbitrum bridge covers Ethereum |
Primcast DEX
- Pairs are immutable and the router is stateless. Neither can be upgraded. The factory is owned by the governance Safe, which sets the fee recipient and each pair's fee (0.30% by default, never above 1%).
- RWA pairs can only pair a token with its own settlement token, and only the token's admin (or governance) can create one. The admin then marks the pair as a venue with dividends enabled.
- LP tokens are gated. Only wallets the RWA would accept can hold liquidity in its pair.
- Dividends reach LPs. The pair claims the dividends on the RWA units it holds and adds them to its USDC reserve.
- After maturity liquidity providers can still withdraw their units and redeem them.
- Protocol fee. When a fee recipient is set, it receives one sixth of LP fees (the Uniswap v2 mechanism). Dividends harvested into the pool are excluded.
Trading happens in the DEX app; this portal links to it from each tradable asset.
Lending (planned)
Morpho Blue is a single contract, so one setVenue(Morpho, true) per token covers every market for that token. Collateral posted to Morpho does not earn dividends, because it would accrue to a contract that cannot pass it on. Borrowers should know this. A dividend-forwarding collateral wrapper is a possible later addition.
Keepers
The periodic functions are permissionless (see Architecture). Primcast runs its own keeper, and anyone else may run one too. Issuers who want automatic dividends keep a standing USDC allowance to their token, because the contract always pulls from the issuer, never from the keeper.
Where in-house code is justified
- AssetHub: bonded meter and device operators, attestation, cross-checked readings and median topics. No third party offers this for energy assets.
- Device binding on tokens: each token is tied to the physical devices producing its revenue.
- Offering: primary issuance for assets that do not exist yet, such as new solar, storage or wind.
- Compliance services: sequencer-level filtering and the delayed-inbox sentinel.