mirror of
https://github.com/luxfi/genesis.git
synced 2026-10-30 16:25:45 +00:00
- types.go: drop AllocationJSON.UnmarshalJSON legacy alias remapping; drop UnparsedAllocation/UnparsedStaker type aliases; drop formatBech32WithChain deprecated helper. - configs: strip ethAddr/luxAddr/avaxAddr/xAddr legacy fields from every shipped JSON shard; rename to canonical evmAddr/utxoAddr only. - configs: add top-level chainId field to every letter-chain shard (mainnet/testnet/devnet/localnet — the test expected this). - localnet/dev: rebuild allocations to canonical 50M LUX per account on X + 50M LUX per account on P (matches mainnet/testnet/devnet). - tests: TestFormatBech32WithChain → TestChainPrefixFormat_KnownVectors, TestGetGenesisLocalnet expects 50M not 10M per allocation, field references updated to evmAddr/utxoAddr. One-and-only-one-way enforced. No deprecated aliases. New code MUST use EVMAddr/UTXOAddr, ChainPrefix.Format, UTXOAssetIDFor.
17 lines
375 B
JSON
17 lines
375 B
JSON
{
|
|
"description": "Decentralized Exchange \u2014 native CLOB + AMM + perpetuals",
|
|
"feeConfig": {
|
|
"makerFeeBps": 2,
|
|
"takerFeeBps": 5
|
|
},
|
|
"liquidityPools": [],
|
|
"message": "Lux D-Chain Genesis",
|
|
"name": "D-Chain",
|
|
"networkId": 3,
|
|
"perpetualMarkets": [],
|
|
"timestamp": 1730531602,
|
|
"tradingPairs": [],
|
|
"version": 1,
|
|
"vm": "DexVM",
|
|
"chainId": 96470
|
|
} |