Skip to content

Conversation

@redpanda-f
Copy link

This PR adds comprehensive support for local Filecoin networks to enable easier development and testing.

Changes

  • Add localnet support to Synapse SDK for local Filecoin network development
  • Introduce localnet configuration utilities with environment variable support for chain ID, RPC URLs, and contract addresses
  • Update FilecoinNetworkType to include 'localnet' alongside mainnet and calibration
  • Enhance network detection to automatically recognize localnet by chain ID
  • Add localnet contract address resolution with required/optional address validation
  • Update example scripts (storage-e2e, post-deploy-setup) to support --network localnet option
  • Export localnet configuration from synapse-core and synapse-sdk packages
  • Maintain backward compatibility with existing mainnet/calibration functionality

Environment Variables

The following environment variables can be used to configure localnet:

  • LOCALNET_CHAIN_ID (default: 1414)
  • LOCALNET_RPC_URL (default: http://127.0.0.1:5700/rpc/v1)
  • LOCALNET_RPC_WS_URL (default: ws://127.0.0.1:5700/rpc/v1)
  • LOCALNET_BLOCK_EXPLORER_URL (default: http://localhost:8080)
  • LOCALNET_MULTICALL3_ADDRESS,
  • LOCALNET_USDFC_ADDRESS, etc. for contract addresses

@github-project-automation github-project-automation bot moved this to 📌 Triage in FS Jan 2, 2026
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 2, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
synapse-dev ebfd645 Commit Preview URL

Branch Preview URL
Jan 06 2026, 05:24 AM

@redpanda-f redpanda-f changed the title feat: Add Localnet Support to Synapse SDK feat: (foc-localnet-v1-rc) Add Localnet Support to Synapse SDK Jan 2, 2026
@BigLep
Copy link
Contributor

BigLep commented Jan 5, 2026

@redpanda-f : will you take care of the lint failures?

@BigLep BigLep moved this from 📌 Triage to 🔎 Awaiting review in FS Jan 5, 2026
@rvagg rvagg force-pushed the feat/redpanda/localnet-support branch from 4431d7c to ebfd645 Compare January 6, 2026 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🔎 Awaiting review

Development

Successfully merging this pull request may close these issues.

3 participants