Welcome Prime OG’s to our testnet application! We’re excited to share this beta version of Prime to test the functionality behind our cross-chain lending platform. Please share with us any bugs you encounter or any suggestions in our Discord channel named #testnet-feedback!
Head over to the application website and connect your wallet (Prime testnet currently supports Metamask, and Wallet Connect. Coinbase Wallet integration is coming soon.) https://app.primeprotocol.xyz/
In order to make transactions on Prime testnet, you will need to obtain some tokens via a blockchain’s faucet. Start with Fuji — click on the first link and enter your wallet to receive your free faucet tokens. After you have received your tokens, you can repeat the process on any other chain that you’d like to test.
The links for each faucet are as follows:
**Fuji: **https://faucet.avax.network/******Moonbase Alpha: **https://apps.moonbeam.network/moonbase-alpha/faucet/**Mumbai: **https://mumbaifaucet.com/**Fantom: **https://faucet.fantom.network/
**Ropsten: **https://faucet.dimensions.network/
Now that you have your faucet tokens, return to the testnet. In the upper right corner, click the “select network” dropdown and select Fuji. The application will direct you to add the selected network to your wallet.

Once you have selected a network, navigate to the “Faucet” tab of the application. This page will allow you to mint your collateral tokens needed to test the functionality of Prime.


- Click the dropdown arrow and select Fuji to begin. Navigate to the BTC column and click “Mint.” A message will pop up asking you to confirm the transaction to mint testnet collateral tokens.
After your transaction has completed, you will receive a green pop up stating that your balance has updated.


Once you’ve successfully minted your BTC tokens, click on “DOT” and “USDC” and confirm both transactions to add coins from several blockchains to your balance. You can easily swap to any blockchain you want to mint tokens from any supported chain using the dropdown menu under Faucet.
After you’ve obtained your testnet funds, return to the dashboard. You are now ready to experience cross-chain lending!
You can now deposit your collateral tokens into the protocol. Navigate to the Bitcoin column and click “Deposit.”

Type “5” in the deposit amount box to deposit 5 Bitcoin into your Prime Balance. Select next and click deposit.
NOTE: You must approve 2 separate transactions each time you deposit a new coin into your account. You must first complete an approval transaction, and then a confirmation transaction.

When the transaction completes, you will now see the “Deposited” balance of your portfolio reflect your deposit amount. Repeat step 7 to deposit DOT and USDC. Deposit 1000 DOT and 1000 USDC into Prime. Once this is complete, you can now request a loan!
If you are wondering what transactions you’ve just completed, there is a window on the dashboard that will always show you the 5 most recent transactions on your account, no matter what chain the transactions were on.

To request a loan, navigate to the borrowed balances portion of the dashboard. Find the “PUSD” line, and click “take loan.”

You can now request a loan amount, and you will see the maximum amount you can request directly below. Enter a loan amount, click next. You will see an overview of your transaction, including the network you’re requesting the loan on, collateral type, loan amount, and project health ratio of your account.

Finally, press “take loan” and confirm the transaction. When the transaction is completed, you have officially borrowed against your entire portfolio!

Now that you’ve tested the cross-chain lending functionality, navigate to the “Bridge” tab at the top of the application. You will now test the ability to bridge Prime’s stablecoin between chains.

Fuji is already selected in the first menu. Navigate to the second dropdown, and choose Fantom. Enter 2500 in the bridge amount box to signify bridging $2500 of $PUSD from Fuji to Fantom. This step will require 2 transactions if you are bridging $PUSD from a new chain.

After confirming the transactions — you have officially bridged $PUSD to another chain! Your total balance on both chains will now reflect under the amount box.

After you’ve tested bridging, now let’s try swapping. Navigate to the swap tab at the top of the application.

Prime’s Swap feature allows you to swap between stablecoins.
Select PUSD in the amount dropdown box. In the “swap for” box, select USDC from the dropdown menu. You will see your stablecoin balances listed underneath the swap amount box. You should now have a balance of $2500 of $PUSD on Fuji. Enter 1250 in the swap amount box to signify swapping $1250 worth of $PUSD for $USDC, and click swap. After confirming the transaction, your balance will update to reflect the amount you swapped for.

After you’ve successfully tested the Bridge and Swap features of Prime, return to the dashboard to test a withdrawal from your account. Return to the BTC column under Prime Balances, and select the “Withdraw” button.

A pop-up window will appear, and you will be able to see your total balance as well as your maximum withdrawal amount. This amount will be lower than your total balance if you currently have a loan out on the protocol.

Enter 1 in the Withdrawal amount box to signify withdrawing 1 Bitcoin from your account. After hitting next, the window will update to display the overview of your transaction. Hit the withdraw button and confirm the transaction to complete your withdrawal.

After you’ve tested the Withdraw function, you can now test the ability to repay part or all of your $PUSD loan with the remaining collateral in your account. To test this functionality, click “repay loan”, input the amount you’d like to repay, click the button and submit the transaction.

Repaying your loan can come from any chain that you have a $PUSD balance on. You can easily swap chains from the network dropdown menu, and your balance will be shown underneath the “Repay amount” box.
END GOAL:
If you’ve gotten this far, congratulations! You have officially tested how to:
Deposit collateral cross chain
Borrow against your entire account value
Bridging PUSD to other chains
Swap PUSD with other stables
Withdrawing your collateral
Repay loans on any chain
Feel free to play around with the app and please report any bugs or suggestions you may have! Thank you for joining the Prime community, we look forward to building together with all of you!

