Secured Finance Docs
HomeBlogGitHubCommunityStablecoin ↗Fixed Income ↗
  • Introduction
    • ⚜️About Secured Finance
    • 🎏Vision & Mission
    • 🌍Ecosystem Overview
    • 🏁Roadmap
      • Roadmap 2024
      • Roadmap 2023
    • 📚DeFi Starter Guide
      • 🔄DeFi vs CeFi
      • 👛Wallet Setup
      • ⛽Gas Fees
      • 🤝DApps
      • 🏦DEX
      • 📝Smart Contracts
      • 🪙Governance Tokens
      • 🏛️DAOs
  • USDFC Stablecoin
    • 📢Overview
    • 🧙Getting Started
      • 🧪Getting Test USDFC on Testnet
      • ⛽Creating Your First Trove
      • 👛Minting USDFC Step-by-Step
      • 🤝Managing Collateral Effectively
      • 🏦Monitoring Your Position
      • 🏊Using the Stability Pool
      • 💸Redeeming USDFC
    • 🔦Core Mechanics
      • 🏗️System Overview
      • ✏️The Trove System
      • 💰Mint & Borrow
      • 🚰Liquidation
      • 💸Redemption
      • 🧀Protocol Fees
    • 🎓Advanced Topics
      • 🚨Recovery Mode
    • 📔Contracts and Security
    • ❓FAQs
  • Fixed-Rate Lending
    • 📢Overview
      • 📖White Paper
      • 🎓Concept Paper
    • 🧙‍♂️Getting Started
      • 💵Lending Assets
      • 🏦Borrowing Assets
      • 📈Managing Positions
      • 🎮Platform Guide
        • 💰Trading
          • 💲Supported Currencies
        • 📈Markets
        • 🐋Portfolio
        • Bridge
        • 🚀Points
        • 📣Campaign
    • 🔦Core Mechanics
      • 🧩Order Book System
        • 🆎Order Type
        • 🪃Order Life Cycle
          • 💫Case Study: Order Status & Transition
      • 📐Standardization
        • 💠Zero-Coupon Bonds
        • ⏳Fixed Maturity
      • 🏋️Collateralization
      • 🪙Tokenization
      • 🚰Liquidation
        • ⚖️Mark to Market
        • 👮‍♂️Liquidators
          • ✏️How Liquidation Works
        • 📋Liquidation Case Study
      • 🧀Protocol Fees
    • 🎓Advanced Topics
      • 📈APR vs APY
      • ➗ZC Bond Price to APR
      • 📉Discount Factor
      • 🏋️‍♀️ZC Bond Collateral
        • 🏍️ZC Collateral Case Study
      • 🧬Market Dynamics
        • ♻️Auto-Rolling
          • 💰Price Discovery for Auto-Rolling
        • 🗓️New Market Listing and Delisting
          • 🤝Itayose - Fair Price Discovery
      • 🛡️Safety Measures
        • 🚦Circuit Breaker
          • 🛑Price Range Limits
        • 🪄Base Price Adjustment
        • 🌎Emergency Global Settlement
      • ⛓️Orderbook Deep Dive
        • 🎡Orderbook Rotation
        • 🎋Red Black Tree
        • ⏯️Lazy Evaluation
        • ⏮️Genesis Value
        • 🔄Compound Factor
    • 📔Contracts and Security
    • ❓FAQs
  • Developer Portal
    • 🧑‍💻Introduction
    • 🔌API Reference
      • 📈Fixed-Rate Lending Subgraph
        • 🔍Query Examples
    • 📦SDK Reference
      • ⛽Fixed-Rate Lending SDK
      • 👛USDFC SDK
    • 🐛Bug Bounty
  • Community
    • 🤝Overview
    • 🏛️Governance
    • 🪙Tokenomics
      • 🔵Secured Finance Coin (SFC)
      • 🔶Secured Finance Points (SFP) v2
        • 🔶Secured Finance Points (SFP) v1
    • 🎗️Support & Contacts
  • Resources
    • 🖼️Media Kit
      • 🖼️Secured Finance Logo
      • 💲USDFC Logo
    • ⚖️Legal
      • 📜Terms of Use
      • 🔒Privacy Policy
      • ⚠️Risk Disclaimer
Powered by GitBook
On this page
  • Overview
  • Prerequisites
  • Step 1: Get Test Filecoin (tFIL) from the Faucet
  • Step 2: Access the USDFC Testnet Application
  • Step 3: Mint Test USDFC Using tFIL
  • Step 4: Add Test USDFC to Your Wallet
  • Step 5: Closing Your Trove
  • Using Test USDFC on Testnet
  • Stability Pool
  • Fixed Rate Lending Market
  • Testnet Limitations
  • FAQ
  • Related Resources

Was this helpful?

Edit on GitHub
Export as PDF
  1. USDFC Stablecoin
  2. Getting Started

Getting Test USDFC on Testnet

Learn how to get and use test USDFC on the Filecoin Calibration testnet

PreviousGetting StartedNextCreating Your First Trove

Last updated 1 day ago

Was this helpful?

Overview

This tutorial guides you through the process of obtaining and using test USDFC on the Filecoin Calibration testnet. Testing on the testnet allows you to experiment with USDFC's features without using real assets. You'll learn how to:

  • Obtain test Filecoin (tFIL) from a faucet

  • Access the USDFC testnet application

  • Mint test USDFC using tFIL as collateral

  • Add test USDFC to your wallet

Prerequisites

  • A web3 wallet (like MetaMask) installed and have your wallet address

  • Basic understanding of blockchain transactions

Step 1: Get Test Filecoin (tFIL) from the Faucet

Before minting test USDFC, you'll need test Filecoin (tFIL) to use as collateral.

  1. Visit the Filecoin Calibration testnet faucet at

  2. Enter your wallet address

  3. Complete any verification steps required by the faucet

  4. Request tFIL (you will receive 100 tFIL twice a day)

  5. Wait for the transaction to complete (this usually takes a few minutes)

Step 2: Access the USDFC Testnet Application

The USDFC testnet application is separate from the mainnet application.

  1. Connect your wallet by clicking the "Connect Wallet" button in the top right corner

  2. Ensure your wallet is set to the Filecoin Calibration testnet network

Note: The testnet application (https://stg.usdfc.net) is different from the mainnet application (https://app.usdfc.net). Make sure you're using the correct URL for testing.

Step 3: Mint Test USDFC Using tFIL

Now that you have tFIL and are connected to the testnet application, you can mint test USDFC.

  1. On the USDFC testnet application, navigate to the "Trove" section and click "Open Trove"

  2. Enter the amount of tFIL you want to use as collateral

  3. The application will calculate the amount of USDFC you can mint based on your collateral

  4. Adjust the collateral ratio as needed (higher ratios provide more protection against liquidation)

  5. Confirm the transaction in your wallet

  6. Wait for the transaction to be confirmed on the blockchain

Step 4: Add Test USDFC to Your Wallet

After minting, you'll want to see your test USDFC in your wallet.

  1. On the Dashboard page, navigate to the "Protocol Statistics" section and find "USDFC contract.

  2. Click "Add to Wallet" icon.

  3. The token symbol (USDFC) and decimals should be added

Step 5: Closing Your Trove

Most cases, 'Adjust' should allow withdrawing collateralized FIL, but if you no longer need to use USDFC system, you can close your trove and you can reopen a trove again.

Don't forget to repay the borrowing fees. If you wish to close the trove with the USDFC amount you just borrowed, it doesn't work. You should repay borrowing fees. Please get additional USDFC from another account or via swap.

  1. On the Dashboard page, navigate to the "Trove" section

  2. Click "Close Trove" button

  3. If you see error message that you need more USDFC to pay borrowing fees, please get it.

  4. If you just wish to withdraw FIL as much as possible, you can cancel closing and click "Adjust"

  5. Click "Confirm" to send the transaction with your wallet

Using Test USDFC on Testnet

Now that you have test USDFC, you can explore various features of the USDFC ecosystem on testnet:

Stability Pool

You can deposit your test USDFC into the Stability Pool to help secure the protocol and potentially earn rewards from liquidations. Learn more with Using the Stability Pool

Fixed Rate Lending Market

While Bridge and SushiSwap features are not available on testnet, you can use the USDFC fixed rate lending market.

  1. Connect your wallet

  2. Navigate to the lending markets

  3. Explore lending or borrowing with your test USDFC. Learn more with Lending Assets

Testnet Limitations

It's important to understand the differences between testnet and mainnet:

  • Bridge functionality is not available on testnet

  • SushiSwap integration is not available on testnet

  • Test tokens have no real-world value

  • Transaction times and network behavior may differ from mainnet

FAQ

Q: How often can I request test FIL from the faucet? A: Faucet limitations vary, but typically you can request once every 24 hours.

Q: Are there any fees for transactions on testnet? A: Yes, you'll need to pay gas fees in tFIL, but since tFIL has no real value, these fees are effectively free.

Q: Can I transfer my test USDFC to mainnet? A: No, testnet tokens cannot be transferred to mainnet as they exist on separate networks.

Q: What should I do if my transaction fails? A: Check that you have enough tFIL for gas fees, ensure your wallet is connected to the Filecoin Calibration testnet, and try again with a higher gas limit if necessary.

Related Resources

Go to the USDFC testnet application at

Click "Add" or "Import" to add test USDFC to your wallet ()

Visit

The USDFC fixed rate lending market is available at

🧙
🧪
https://faucet.calibnet.chainsafe-fil.io/funds.html
https://stg.usdfc.net
video
http://stg.secured.finance/?chain_id=314159
https://stg.secured.finance
USDFC Overview
Creating Your First Trove
Minting USDFC Step-by-Step
Using the Stability Pool
Filecoin Calibration testnet faucet interface
USDFC testnet application page with adding Calibration network
Minting USDFC
Adding USDFC to Wallet
Closing Your Trove requires repayment of the borrowed amount and fees in USDFC
Stability Pool