Skip to content

[Feature]: native wallet setup and cross-chain funding #79

Description

@SgtPooki

Description

Every payment prerequisite currently happens outside ipfs2foc. The README sends users to filecoin-pin (npx filecoin-pin@latest payments setup --auto) for the USDFC deposit and FWSS operator approval, and assumes the wallet already holds FIL and USDFC. That is two tools and a funding scavenger hunt before the first ipfs2foc command that touches chain.

filecoin-project/filecoin-pin#637 (draft) adds interactive cross-chain funding to payments fund: acquire the FIL needed for gas and the USDFC needed for the deposit from Arbitrum, Ethereum, Base, and other chains, with route planning in squid-evm-funding. Once that lands, ipfs2foc should offer the same capability natively so a migration never requires a second tool.

Scope

  1. Wallet setup inside ipfs2foc: USDFC deposit plus FWSS operator approval, the equivalent of payments setup --auto.
  2. Funding: when the wallet has a FIL or USDFC shortfall, offer the squid-evm-funding swap path from filecoin-pin#637.
  3. Docs: drop the filecoin-pin detour from the README and quickstart once both work natively.

Dependencies

filecoin-pin#637 needs to land first. It validates the squid-evm-funding route on mainnet, and ipfs2foc should consume the same library at the version that run proves out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    📌 Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions