You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add --network flag for mainnet and calibration network selection (#240)
* feat: add --network flag for mainnet and calibration network selection
Add support for selecting Filecoin network via --network flag or NETWORK
environment variable. Users can now easily switch between mainnet and
calibration testnet without manually specifying RPC URLs.
feat: add --network flag for mainnet and calibration network selection
* fix: format long option strings in CLI commands
Split long .option() calls across multiple lines to satisfy Biome formatter requirements in server.ts and cli-options.ts.
* fix: create re-usable network option with ENV and choice validation
* chore: fix lint
* fix: help output for network option
* fix: getRpcUrl returns url immediately if given
---------
Co-authored-by: Russell Dempsey <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+52-8Lines changed: 52 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
7
7
## Status
8
8
9
-
**⚠️ Not ready yet for production** - At least as of 2025-10-15, Filecoin Pin runs on Filecoin Calibration testnet only. It's not ready for production use yet.
9
+
**⚠️ Not ready yet for production** - Filecoin Pin supports both Filecoin Mainnet and Calibration testnet. The CLI defaults to Calibration testnet for safety, but you can use `--network mainnet` to connect to Mainnet, but filecoin-pin is not ready for production use yet.
10
10
11
11
Register for updates and a later 2025 Q4 GA announcement at [filecoin.cloud](https://filecoin.cloud/).
12
12
@@ -125,9 +125,13 @@ If using a different affordance like the CLI or example GitHub Action, then the
125
125
### Prerequisites
126
126
127
127
-**Node.js 24+** for CLI and library usage
128
-
-**Filecoin Calibration testnet wallet** with:
129
-
- Test FIL for transaction gas ([Faucet](https://faucet.calibnet.chainsafe-fil.io/funds.html))
130
-
- Test USDFC stablecoin for storage payments ([USDFC Faucet](https://forest-explorer.chainsafe.dev/faucet/calibnet_usdfc))
128
+
-**Filecoin wallet** (Calibration testnet or Mainnet) with:
129
+
-**For Calibration testnet:**
130
+
- Test FIL for transaction gas ([Faucet](https://faucet.calibnet.chainsafe-fil.io/funds.html))
131
+
- Test USDFC stablecoin for storage payments ([USDFC Faucet](https://forest-explorer.chainsafe.dev/faucet/calibnet_usdfc))
0 commit comments