210 Commits
Author SHA1 Message Date
Hanzo AI 222f6b9e32 feat: BIP44 wallet spending allocations from mnemonic
When LUX_MNEMONIC is set and -wallet-keys > 0, derive secp256k1
keys at m/44'/9000'/0'/0/{i} and add free spending allocations
(no vesting, no lock) with both luxAddr and ethAddr.

Flags:
  -wallet-keys N    Number of mnemonic-derived keys (default 0)
  -wallet-amount N  LUX per key (default 10000)

These keys can be used by the bootstrap tool to create L1 chains
without needing access to node staker TLS cert keys.
2026-04-06 22:56:20 -07:00
Hanzo AI f48fc4d29a chore: remove regenerate-genesis — genesis is permanent, use cmd/genesis for new networks only 2026-04-06 22:34:31 -07:00
Hanzo AI 6e3a22af9d feat: proper genesis for all networks via genesis tool
Generated with ~/work/lux/genesis/cmd/genesis/:
- devnet:  id=3,    5 stakers, 100 allocs, P-dev1..., LUX_MNEMONIC
- testnet: id=2,    5 stakers, 100 allocs, P-test1..., LUX_MNEMONIC
- mainnet: id=1,    5 stakers, 100 allocs, P-lux1..., LUX_MNEMONIC
- local:   id=1337, 3 stakers, 100 allocs, P-local1..., light mnemonic

Each: 500M P + 500M X per account, deployer 2T on C-Chain
2026-04-06 14:07:52 -07:00
Hanzo AI c645206ca1 fix: P-Chain addresses use custom HRP for network-id=3 (P-custom1...) 2026-04-06 13:26:36 -07:00
Hanzo AI b6c9bd7d35 fix: preserve P/X allocations with valid luxAddr, update C-Chain allocs only 2026-04-06 13:07:22 -07:00
Hanzo AI 6f982a9329 feat: 100 accounts × 500M on P + X + C chains, deployer 2T on C
Local:   light mnemonic (light...energy)
Public:  LUX_MNEMONIC (know defense...)

Per account: 500M P-Chain + 500M X-Chain + 500M C-Chain
Account[0] (deployer): 2T on C-Chain
Total per network: ~2.1T LUX
2026-04-06 12:55:09 -07:00
Hanzo AI 3d501f5fb2 feat: 100-account genesis allocations for all networks
Local:   light mnemonic (light...energy) — account[0] = 2T, accounts[1-99] = 500M each
Devnet:  LUX mnemonic — account[0] = 2T, accounts[1-99] = 500M each
Testnet: LUX mnemonic — same structure
Mainnet: LUX mnemonic — same structure

All networks have identical structure, different mnemonics.
2026-04-06 12:51:47 -07:00
Hanzo AI 3ddd4e2cb3 feat: fund light mnemonic (test...junk) in local genesis — 500M LUX for local dev 2026-04-06 12:44:40 -07:00
Hanzo AI 40df815232 fix: increase C-Chain gas limit to 100M (0x5f5e100) v1.7.1 2026-04-04 11:24:14 -07:00
Hanzo AI 1fd6379752 genesis: regenerate all network configs
- mainnet: 100 accounts x 500M LUX, 5 stakers, P-lux1 HRP, real IPs
- testnet: 100 accounts x 500M LUX, 2 stakers, P-test1 HRP, networkID=2
- devnet: 100 accounts x 500M LUX, 3 stakers, P-dev1 HRP, networkID=3
- bootstrappers: real validator IPs
- fix mnemonic env priority: MNEMONIC > LUX_MNEMONIC > LIGHT_MNEMONIC
- remove stale .bak files
v1.5.22 v1.7.0 v1.6.1
2026-04-04 11:22:32 -07:00