mirror of
https://github.com/luxfi/bridge.git
synced 2026-09-24 00:26:46 +00:00
docs: chain routes are /v1/chain
luxd serves chain APIs under one segment from constants.ChainAliasPrefix (constants v1.6.4, node v1.36.181): /v1/bc/<alias>/... -> /v1/chain/<alias>/... /ext/bc/<alias>/... -> /v1/chain/<alias>/... Observations keep their original addresses: a dated note or a recorded status code is a fact about when it was written, not an instruction to follow.
This commit is contained in:
@@ -37,7 +37,7 @@ These are pre-conditions the SDK + tenant satisfy as of the current branch:
|
||||
| EIP-6963 wallet (MetaMask, Rabby, Brave) | Browser extension |
|
||||
| Sepolia ETH (≥ 0.05 recommended) | https://www.alchemy.com/faucets/ethereum-sepolia or https://sepoliafaucet.com (any modern faucet — usually requires GitHub or Alchemy login) |
|
||||
| Recipient address on Lux Testnet | Lux Testnet is EVM chain 96368; reuse your MetaMask address — same hex string works as the destination |
|
||||
| (Optional) Lux Testnet RPC added to MetaMask | RPC `https://api.lux-test.network/v1/bc/C/rpc`, chainId `96368`, symbol `LUX`, explorer `https://explore.lux-test.network/` — lets you confirm the destination balance after settlement |
|
||||
| (Optional) Lux Testnet RPC added to MetaMask | RPC `https://api.lux-test.network/v1/chain/C/rpc`, chainId `96368`, symbol `LUX`, explorer `https://explore.lux-test.network/` — lets you confirm the destination balance after settlement |
|
||||
|
||||
## Run the app
|
||||
|
||||
@@ -141,7 +141,7 @@ Click **Bridge** (or whatever the active CTA reads — it should not say
|
||||
the corresponding LUX on Lux Testnet — confirm with
|
||||
`curl -s -X POST -H "Content-Type: application/json" \
|
||||
-d '{"jsonrpc":"2.0","id":1,"method":"eth_getBalance","params":["0xYOUR_ADDR","latest"]}' \
|
||||
https://api.lux-test.network/v1/bc/C/rpc`.
|
||||
https://api.lux-test.network/v1/chain/C/rpc`.
|
||||
|
||||
### 6. Treasury / fee path (optional)
|
||||
|
||||
|
||||
@@ -1,77 +1,77 @@
|
||||
{
|
||||
"brand": {
|
||||
"name": "Lux Exchange",
|
||||
"title": "Lux Exchange | Trade",
|
||||
"description": "Multi-chain decentralized exchange powered by Lux Network",
|
||||
"shortName": "LUX",
|
||||
"labsName": "Lux Labs",
|
||||
"legalEntity": "Lux Industries Inc.",
|
||||
"walletName": "LUX Wallet",
|
||||
"protocolName": "LUX Protocol",
|
||||
"copyrightHolder": "Lux Industries Inc.",
|
||||
"appDomain": "lux.exchange",
|
||||
"docsDomain": "docs.lux.exchange",
|
||||
"infoDomain": "info.lux.exchange",
|
||||
"gatewayDomain": "gw.lux.exchange",
|
||||
"wsDomain": "ws.lux.exchange",
|
||||
"helpUrl": "https://docs.lux.exchange/help",
|
||||
"termsUrl": "https://lux.exchange/terms",
|
||||
"privacyUrl": "https://lux.exchange/privacy",
|
||||
"downloadUrl": "https://lux.exchange/wallet",
|
||||
"complianceEmail": "[email protected]",
|
||||
"supportEmail": "[email protected]",
|
||||
"twitter": "https://x.com/luxfi",
|
||||
"farcaster": "",
|
||||
"linkedin": "",
|
||||
"tiktok": "",
|
||||
"github": "https://github.com/luxfi",
|
||||
"discord": "https://discord.gg/lux",
|
||||
"logoUrl": "https://cdn.jsdelivr.net/npm/@luxfi/brand@latest/assets/logo/logo.svg",
|
||||
"faviconUrl": "https://cdn.jsdelivr.net/npm/@luxfi/brand@latest/assets/logo/favicon.png",
|
||||
"primaryColor": "#000000",
|
||||
"theme": {
|
||||
"light": {
|
||||
"accent1": "#000000",
|
||||
"surface1": "#FFFFFF",
|
||||
"surface2": "#F9F9F9",
|
||||
"neutral1": "#131313",
|
||||
"neutral2": "rgba(19, 19, 19, 0.63)"
|
||||
},
|
||||
"dark": {
|
||||
"accent1": "#FFFFFF",
|
||||
"surface1": "#000000",
|
||||
"surface2": "#1A1A1A",
|
||||
"neutral1": "#FFFFFF",
|
||||
"neutral2": "rgba(255, 255, 255, 0.65)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"chains": {
|
||||
"defaultChainId": 96369,
|
||||
"supported": [96369, 96368, 96367, 200200, 1, 42161, 8453, 137, 43114]
|
||||
},
|
||||
"rpc": {
|
||||
"96369": "https://api.lux.network/v1/bc/C/rpc",
|
||||
"96368": "https://api.lux-test.network/v1/bc/C/rpc",
|
||||
"96367": "https://api.lux-dev.network/v1/bc/C/rpc",
|
||||
"200200": "https://api.zoo.network/v1/bc/C/rpc",
|
||||
"200201": "https://api.zoo-test.network/v1/bc/C/rpc",
|
||||
"1": "https://eth.llamarpc.com",
|
||||
"42161": "https://arb1.arbitrum.io/rpc",
|
||||
"8453": "https://mainnet.base.org",
|
||||
"137": "https://polygon-rpc.com",
|
||||
"43114": "https://api.avax.network/ext/bc/C/rpc"
|
||||
},
|
||||
"api": {
|
||||
"graphql": "https://api.lux.exchange/v1/graphql",
|
||||
"gateway": "https://gw.lux.exchange",
|
||||
"insights": "https://insights.hanzo.ai"
|
||||
},
|
||||
"iam": {
|
||||
"provider": "https://lux.id",
|
||||
"clientId": "lux-exchange"
|
||||
},
|
||||
"walletConnect": {
|
||||
"projectId": ""
|
||||
}
|
||||
}
|
||||
{
|
||||
"brand": {
|
||||
"name": "Lux Exchange",
|
||||
"title": "Lux Exchange | Trade",
|
||||
"description": "Multi-chain decentralized exchange powered by Lux Network",
|
||||
"shortName": "LUX",
|
||||
"labsName": "Lux Labs",
|
||||
"legalEntity": "Lux Industries Inc.",
|
||||
"walletName": "LUX Wallet",
|
||||
"protocolName": "LUX Protocol",
|
||||
"copyrightHolder": "Lux Industries Inc.",
|
||||
"appDomain": "lux.exchange",
|
||||
"docsDomain": "docs.lux.exchange",
|
||||
"infoDomain": "info.lux.exchange",
|
||||
"gatewayDomain": "gw.lux.exchange",
|
||||
"wsDomain": "ws.lux.exchange",
|
||||
"helpUrl": "https://docs.lux.exchange/help",
|
||||
"termsUrl": "https://lux.exchange/terms",
|
||||
"privacyUrl": "https://lux.exchange/privacy",
|
||||
"downloadUrl": "https://lux.exchange/wallet",
|
||||
"complianceEmail": "[email protected]",
|
||||
"supportEmail": "[email protected]",
|
||||
"twitter": "https://x.com/luxfi",
|
||||
"farcaster": "",
|
||||
"linkedin": "",
|
||||
"tiktok": "",
|
||||
"github": "https://github.com/luxfi",
|
||||
"discord": "https://discord.gg/lux",
|
||||
"logoUrl": "https://cdn.jsdelivr.net/npm/@luxfi/brand@latest/assets/logo/logo.svg",
|
||||
"faviconUrl": "https://cdn.jsdelivr.net/npm/@luxfi/brand@latest/assets/logo/favicon.png",
|
||||
"primaryColor": "#000000",
|
||||
"theme": {
|
||||
"light": {
|
||||
"accent1": "#000000",
|
||||
"surface1": "#FFFFFF",
|
||||
"surface2": "#F9F9F9",
|
||||
"neutral1": "#131313",
|
||||
"neutral2": "rgba(19, 19, 19, 0.63)"
|
||||
},
|
||||
"dark": {
|
||||
"accent1": "#FFFFFF",
|
||||
"surface1": "#000000",
|
||||
"surface2": "#1A1A1A",
|
||||
"neutral1": "#FFFFFF",
|
||||
"neutral2": "rgba(255, 255, 255, 0.65)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"chains": {
|
||||
"defaultChainId": 96369,
|
||||
"supported": [96369, 96368, 96367, 200200, 1, 42161, 8453, 137, 43114]
|
||||
},
|
||||
"rpc": {
|
||||
"96369": "https://api.lux.network/v1/chain/C/rpc",
|
||||
"96368": "https://api.lux-test.network/v1/chain/C/rpc",
|
||||
"96367": "https://api.lux-dev.network/v1/chain/C/rpc",
|
||||
"200200": "https://api.zoo.network/v1/chain/C/rpc",
|
||||
"200201": "https://api.zoo-test.network/v1/chain/C/rpc",
|
||||
"1": "https://eth.llamarpc.com",
|
||||
"42161": "https://arb1.arbitrum.io/rpc",
|
||||
"8453": "https://mainnet.base.org",
|
||||
"137": "https://polygon-rpc.com",
|
||||
"43114": "https://api.avax.network/v1/chain/C/rpc"
|
||||
},
|
||||
"api": {
|
||||
"graphql": "https://api.lux.exchange/v1/graphql",
|
||||
"gateway": "https://gw.lux.exchange",
|
||||
"insights": "https://insights.hanzo.ai"
|
||||
},
|
||||
"iam": {
|
||||
"provider": "https://lux.id",
|
||||
"clientId": "lux-exchange"
|
||||
},
|
||||
"walletConnect": {
|
||||
"projectId": ""
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1225,7 +1225,7 @@
|
||||
"managed_accounts": [],
|
||||
"nodes": [
|
||||
{
|
||||
"url": "https://ava-mainnet.public.blastapi.io/v1/bc/C/rpc"
|
||||
"url": "https://ava-mainnet.public.blastapi.io/v1/chain/C/rpc"
|
||||
}
|
||||
],
|
||||
"created_date": "2023-05-29T13:19:19.214392+00:00"
|
||||
|
||||
Reference in New Issue
Block a user