Step-by-step guide for registering your first livestock collateral on StellarKraal and requesting a loan against it.
Language / Lugha
Language Guide English en/register-collateral.md Kiswahili sw/register-collateral.md
StellarKraal lets you use your livestock as collateral to request a micro-loan on the Stellar network. The whole process has four stages:
- Connect your Freighter wallet β prove ownership of your Stellar account.
- Fill in the registration form β describe your animals.
- Submit and sign on-chain β the registration is recorded on Stellar.
- Confirm on-chain and receive loan β once confirmed, you can draw down your loan.
| Item | Details |
|---|---|
| Device | Smartphone or computer with an internet connection |
| Browser | Chrome or Firefox (other browsers may work) |
| Freighter wallet | Free extension β freighter.app |
| Animal details | Type, quantity, estimated weight (kg), health status, location, appraised value |
| Network | Freighter must be set to Testnet for testing; Mainnet for live loans |
Screenshot placeholder:
docs/guides/screenshots/step1-connect-wallet.png(Replace with an annotated screenshot showing the Connect Wallet button and the Freighter pop-up.)
- Open your browser and go to freighter.app.
- Click Add to Chrome (or the equivalent for your browser).
- Confirm the browser permission dialog.
- Click the Freighter icon in your toolbar and choose Create a new wallet.
- Write your 12-word recovery phrase on paper and store it safely. Never share it.
- Set a password and confirm.
Already have Freighter? Skip to step 1b.
- Navigate to the StellarKraal app.
- Click the Connect Wallet button in the top-right corner.
- Freighter shows a permission pop-up. Click Connect.
- Your wallet address (e.g.
GABCβ¦XYZ) appears in the header. You are now connected.
Note: Confirm the network badge next to your address reads Testnet (or Mainnet if you are transacting with real assets). To switch, open Freighter β Settings β Network.
Screenshot placeholder:
docs/guides/screenshots/step2-registration-form.png(Replace with an annotated screenshot of the form with each field labelled.)
- From the top navigation menu, click Collateral.
- Click Register New Collateral. The registration form opens.
- Complete every required field (marked *):
| Field | What to enter | Example |
|---|---|---|
| Animal Type * | Choose from the drop-down: Cattle, Goat, or Sheep | Cattle |
| Quantity * | Number of animals being registered | 5 |
| Estimated Weight (kg) * | Average weight of one animal, in kilograms | 250 |
| Health Status * | Excellent / Good / Fair / Poor | Good |
| Location * | Farm name or region | Narok County |
| Appraised Value * | Total estimated value in stroops (1 XLM = 10,000,000 stroops) | 50000000 |
What is a stroop? The stroop is the smallest indivisible unit of XLM on Stellar. If your animals are worth 5 XLM, enter
50000000.
Auto-save: The form saves automatically every 5 seconds. If you close the tab by accident, the app will offer to restore your draft when you return.
Screenshot placeholder:
docs/guides/screenshots/step3-confirm-dialog.png(Replace with an annotated screenshot of the confirmation dialog and the Freighter signing pop-up.)
- Once all fields are complete, click Register Collateral.
- A confirmation dialog appears with a summary of your registration. Review it carefully.
- Click Register to proceed.
- Freighter opens and asks you to sign the Stellar transaction. Click Approve.
- The app shows a spinner while the transaction is being submitted.
What happens on-chain? StellarKraal calls the Soroban smart contract's
register_livestockfunction. The transaction is broadcast to the Stellar network, included in a ledger, and the contract writes your collateral record to on-chain storage.
Screenshot placeholder:
docs/guides/screenshots/step4-success.png(Replace with an annotated screenshot of the success banner showing the registration ID and collateral details.)
- After 5β10 seconds you will see a green success banner:
Collateral registered successfully! Registration ID: #42
- Write down or copy the Registration ID β you will need it to request a loan.
- Click View Collateral to see your new entry on the Collateral page.
- The page shows an Appraised Value and Loan-to-Value (LTV) ratio. These determine the maximum loan amount you can request.
What is LTV? The Loan-to-Value ratio is the percentage of your collateral's appraised value you can borrow. For example, with an LTV of 60 % and a collateral worth 1 000 000 stroops, you can borrow up to 600 000 stroops.
Once your collateral is confirmed, click Request Loan on the Collateral page, or follow the How to Request a Loan guide.
| Symptom | Cause | Resolution |
|---|---|---|
| "Connect Wallet" does nothing | Freighter extension is not installed or not logged in | Install Freighter, log in, then refresh the page |
| Freighter pop-up does not appear | Browser is blocking pop-ups from this site | Allow pop-ups for this site in browser settings, then retry |
| Form shows red error messages | One or more fields are invalid (e.g. quantity = 0, appraised value too high) | Read the error text next to the field and correct the value |
| Invalid appraised value | The value entered exceeds the per-animal cap set by the administrator | Check the allowed range displayed beneath the field and enter a valid value |
| Transaction rejected by Freighter | You cancelled the signing step, or Freighter timed out | Click Register Collateral again and approve the transaction in Freighter |
| Transaction failed on-chain | Network congestion, sequence number mismatch, or insufficient XLM for fees | Wait a few seconds and retry. Ensure your Freighter account holds at least 1 XLM for network fees |
| "Network mismatch" banner appears | The app is configured for Testnet but Freighter is on Mainnet (or vice versa) | Switch Freighter to the correct network (Settings β Network) and reconnect |
| Registration ID not shown after success | Browser closed before the response arrived | Open the Collateral page β your registration should already be listed |
Annotated screenshots for each step should be placed in docs/guides/screenshots/:
docs/guides/screenshots/
βββ step1-connect-wallet.png # Freighter pop-up and Connect button
βββ step2-registration-form.png # Filled-in form with field annotations
βββ step3-confirm-dialog.png # Confirmation dialog + Freighter sign prompt
βββ step4-success.png # Success banner with Registration ID
Until real screenshots are available, use the placeholder descriptions above.
- Read the FAQ
- Open a support issue on GitHub