chore: .gitignore and README updates
Made-with: Cursor
This commit is contained in:
@@ -72,10 +72,16 @@ Repeat for each destination chain (BSC, Polygon, Base, Optimism, Avalanche, Cron
|
||||
|
||||
---
|
||||
|
||||
## 4. LINK Funding
|
||||
## 4. LINK Funding and Activation Scope
|
||||
|
||||
- CCIP charges fees for each cross-chain message; bridges typically pay in **LINK** (or native) depending on the contract’s `feeToken` and `ccipSend` usage.
|
||||
- **Per chain**: Ensure the **bridge contract** holds enough **LINK** (and native for gas) so it can pay CCIP fees when users call `sendCrossChain` (or equivalent).
|
||||
- Important distinction:
|
||||
- **Destination-only receipt** on a chain does not by itself require LINK on that chain's bridge contract, because `ccipReceive(...)` does not pay the CCIP fee.
|
||||
- **Outbound sending** from a chain does require a fee payment path on that chain's bridge contract.
|
||||
- Current WEMIX nuance:
|
||||
- `CCIPWETH9Bridge` may be configured for native-fee mode by setting `feeToken = address(0)`.
|
||||
- `CCIPWETH10Bridge` still requires LINK in the current implementation.
|
||||
- **How to fund**:
|
||||
1. Get LINK on the same chain as the bridge (e.g. from an exchange or faucet).
|
||||
2. Transfer LINK to the **bridge contract address** (the same address you use for `addDestination`), or use any approved mechanism (e.g. admin top-up function if the contract has one).
|
||||
|
||||
@@ -84,6 +84,12 @@ This index helps you find the right deployment guide for your needs.
|
||||
- [Cloud for Sovereignty Landing Zone](CLOUD_FOR_SOVEREIGNTY_LANDING_ZONE.md) - Cloud for sovereignty landing zone
|
||||
- [Deployment Firefly Cacti](DEPLOYMENT_FIREFLY_CACTI.md) - Firefly and Cacti deployment
|
||||
|
||||
### HYBX OMNL (reserve commitments, compliance, CCIP mirror, IPSAS GL)
|
||||
- [HYBX OMNL documentation index](../hybx-omnl/README.md) - All OMNL guides in one place
|
||||
- [OMNL deployment checklist](../hybx-omnl/DEPLOYMENT_CHECKLIST.md) - Contracts, env, API, verification
|
||||
- [OMNL reconcile (cron & CI)](../hybx-omnl/OMNL_RECONCILE_CRON_AND_CI.md) - Anchor hash artifacts and automation
|
||||
- [OMNL IPSAS / GL API](../hybx-omnl/OMNL_IPSAS_API.md) - Reporting API surface
|
||||
|
||||
## Historical/Status Reports
|
||||
|
||||
These are historical deployment reports and status documents. Consider archiving if older than 6 months:
|
||||
|
||||
@@ -18,40 +18,50 @@ PRIVATE_KEY=0x0000000000000000000000000000000000000000000000000000000000000000
|
||||
# =============================================================================
|
||||
# RPC Endpoints
|
||||
# =============================================================================
|
||||
# Infura project (used for supported public chains)
|
||||
INFURA_PROJECT_ID=43b945b33d58463a9246cf5ca8aa6286
|
||||
INFURA_PROJECT_SECRET=
|
||||
INFURA_GAS_API=https://gas.api.infura.io/v3/43b945b33d58463a9246cf5ca8aa6286
|
||||
|
||||
# Ethereum Mainnet
|
||||
ETH_MAINNET_RPC_URL=https://eth-mainnet.g.alchemy.com/v2/YOUR_ALCHEMY_KEY
|
||||
# Alternative: ETH_MAINNET_RPC_URL=https://mainnet.infura.io/v3/YOUR_INFURA_KEY
|
||||
ETH_MAINNET_RPC_URL=https://mainnet.infura.io/v3/43b945b33d58463a9246cf5ca8aa6286
|
||||
ETHEREUM_MAINNET_RPC=https://mainnet.infura.io/v3/43b945b33d58463a9246cf5ca8aa6286
|
||||
|
||||
# Cronos (Crypto.com)
|
||||
CRONOS_RPC_URL=https://evm.cronos.org
|
||||
CRONOS_MAINNET_RPC=https://evm.cronos.org
|
||||
|
||||
# BSC (BNB Smart Chain)
|
||||
BSC_RPC_URL=https://bsc-dataseed1.binance.org
|
||||
# Alternative: BSC_RPC_URL=https://bsc-dataseed.binance.org
|
||||
BSC_RPC_URL=https://bsc-mainnet.infura.io/v3/43b945b33d58463a9246cf5ca8aa6286
|
||||
BSC_MAINNET_RPC=https://bsc-mainnet.infura.io/v3/43b945b33d58463a9246cf5ca8aa6286
|
||||
|
||||
# Polygon PoS
|
||||
POLYGON_RPC_URL=https://polygon-rpc.com
|
||||
# Alternative: POLYGON_RPC_URL=https://rpc-mainnet.maticvigil.com
|
||||
POLYGON_RPC_URL=https://polygon-mainnet.infura.io/v3/43b945b33d58463a9246cf5ca8aa6286
|
||||
POLYGON_MAINNET_RPC=https://polygon-mainnet.infura.io/v3/43b945b33d58463a9246cf5ca8aa6286
|
||||
|
||||
# Gnosis Chain (PoA)
|
||||
GNOSIS_RPC_URL=https://rpc.gnosischain.com
|
||||
# Alternative: GNOSIS_RPC_URL=https://xdai-archive.blockscout.com
|
||||
GNOSIS_MAINNET_RPC=https://rpc.gnosischain.com
|
||||
|
||||
# Avalanche C-Chain
|
||||
AVALANCHE_RPC_URL=https://api.avax.network/ext/bc/C/rpc
|
||||
# Alternative: AVALANCHE_RPC_URL=https://avalanche-mainnet.infura.io/v3/YOUR_KEY
|
||||
AVALANCHE_RPC_URL=https://avalanche-mainnet.infura.io/v3/43b945b33d58463a9246cf5ca8aa6286
|
||||
AVALANCHE_MAINNET_RPC=https://avalanche-mainnet.infura.io/v3/43b945b33d58463a9246cf5ca8aa6286
|
||||
|
||||
# Base
|
||||
BASE_RPC_URL=https://mainnet.base.org
|
||||
# Alternative: BASE_RPC_URL=https://base-mainnet.g.alchemy.com/v2/YOUR_KEY
|
||||
BASE_RPC_URL=https://base-mainnet.infura.io/v3/43b945b33d58463a9246cf5ca8aa6286
|
||||
BASE_MAINNET_RPC=https://base-mainnet.infura.io/v3/43b945b33d58463a9246cf5ca8aa6286
|
||||
|
||||
# Arbitrum One
|
||||
ARBITRUM_RPC_URL=https://arb1.arbitrum.io/rpc
|
||||
# Alternative: ARBITRUM_RPC_URL=https://arbitrum-mainnet.infura.io/v3/YOUR_KEY
|
||||
ARBITRUM_RPC_URL=https://arbitrum-mainnet.infura.io/v3/43b945b33d58463a9246cf5ca8aa6286
|
||||
ARBITRUM_MAINNET_RPC=https://arbitrum-mainnet.infura.io/v3/43b945b33d58463a9246cf5ca8aa6286
|
||||
|
||||
# Optimism
|
||||
OPTIMISM_RPC_URL=https://mainnet.optimism.io
|
||||
# Alternative: OPTIMISM_RPC_URL=https://optimism-mainnet.infura.io/v3/YOUR_KEY
|
||||
OPTIMISM_RPC_URL=https://optimism-mainnet.infura.io/v3/43b945b33d58463a9246cf5ca8aa6286
|
||||
OPTIMISM_MAINNET_RPC=https://optimism-mainnet.infura.io/v3/43b945b33d58463a9246cf5ca8aa6286
|
||||
|
||||
# Celo
|
||||
CELO_RPC_URL=https://celo-mainnet.infura.io/v3/43b945b33d58463a9246cf5ca8aa6286
|
||||
CELO_MAINNET_RPC=https://celo-mainnet.infura.io/v3/43b945b33d58463a9246cf5ca8aa6286
|
||||
|
||||
# Chain-138 (DeFi Oracle Meta Mainnet)
|
||||
# For deployment use Core RPC (IP:port); do not use FQDN (DNS/tunnel can fail).
|
||||
@@ -229,6 +239,11 @@ CCIPLOGGER_MAINNET=
|
||||
# =============================================================================
|
||||
# Default: CW_BRIDGE_ADDRESS=0x0; use per-chain overrides (best practice). In .env, CW_BRIDGE_<CHAIN> are set from the deployed bridge suite (CCIP_RELAY_BRIDGE_MAINNET, CCIPWETH9_BRIDGE_*).
|
||||
# Per-chain: CW_BRIDGE_MAINNET, CW_BRIDGE_CRONOS, CW_BRIDGE_BSC, CW_BRIDGE_POLYGON, CW_BRIDGE_GNOSIS, CW_BRIDGE_AVALANCHE, CW_BRIDGE_BASE, CW_BRIDGE_ARBITRUM, CW_BRIDGE_OPTIMISM
|
||||
# Bridge-only operational-role defaults for new cW* deployments:
|
||||
CW_STRICT_MODE=1
|
||||
CW_FREEZE_OPERATIONAL_ROLES=1
|
||||
# Optional: governance multisig/controller that should hold admin and governance metadata roles on newer cW* deployments
|
||||
CW_GOVERNANCE_ADMIN=
|
||||
# After deploy, set:
|
||||
# CWUSDT_CRONOS=0x...
|
||||
# CWUSDC_CRONOS=0x...
|
||||
@@ -338,4 +353,3 @@ WETH10_ADDRESS=${WETH10_MAINNET}
|
||||
```
|
||||
|
||||
3. Never commit `.env` to version control!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user