IPFS (Kubo), Foundry and Base
Mint pins card media to IPFS, signs with a Foundry keystore, and publishes on Base. It defaults to the Base Sepolia testnet.
Used by
Official guides
- Install Kubo (opens in new tab)
- Run Kubo in Docker (opens in new tab)
- Install Foundry (opens in new tab)
- Connect to Base (opens in new tab)
Minimal setup
- IPFS: mint's compose runs
ipfs/kuboon loopback:5001. For your own node, setARGUS_MINT_IPFS_APIto its RPC origin. Keep the RPC port off public networks, because it has admin rights over the node. - Foundry: install it with
foundryup, then create a keystore account withcast wallet import. Mint signs withARGUS_MINT_ACCOUNTfromARGUS_MINT_KEYSTORE_DIR(Foundry's own keystore folder by default). The password is read fromARGUS_MINT_KEYSTORE_PASSWORD_FILE. - Base:
ARGUS_MINT_NETWORKdefaults tobase-sepolia, the testnet.ARGUS_MINT_RPC_URLoverrides the network's public RPC. Deploying the contract usesBASE_SEPOLIA_RPC_URLorBASE_RPC_URL.
Assay's mock needs none of this.