Swan Chain recently launched the new Swan Console Marketplace, which brings a range of deployable applications to users. Users can now deploy mining services directly on edge computing providers (ECPs). This tutorial will detail how to deploy your Aleo mining operation through Swan Chain's new market.
Basic preparation
Before you begin, make sure you have:
Cryptocurrency wallet (MetaMask is recommended)
SWANU Token
F2Pool's Aleo mining pool account
1. Two ways to obtain SWANU tokens
1. Purchase via DEX
You can buy SWANU tokens through IcecreamSwap’s DEX pool:
Transaction address: https://www.geckoterminal.com/swanchain/pools/0x4fd0c2c5360d980d650fe02a19b1460b1802134b
2. Obtained by providing computing power
You can also earn SWANU by:
Deploy Edge Computing Providers (ECPs)
Deployment of Fog Computing Provider (FCP)
For detailed CP deployment instructions, please refer to: https://docs.swanchain.io/bulders/computing-provider
Step 2: Manage your SWANU balance
Swan Console offers three types of balances:
Available Balance
The main account of the platform supports free transfer.
Used for recharge or withdrawal operations.
Escrow Balance
Used to pay for the running costs of mining tasks.
The system automatically deducts fees from the escrow balance every 24 hours.
Locked Balance
Make sure the mining task runs for at least 12 hours.
It will be automatically released after the task is completed.

Recharge operation
Select "Account" from the menu on the left side of the console.
Click "Top Up" to transfer money from your wallet to "Available Balance".
Click the arrow icon between the balance accounts to transfer funds from "Available Balance" to "Escrow Balance".

Withdrawal Operation
Withdrawal is done in two steps:
It takes 7 days to process the transfer from "Escrow Balance" back to "Available Balance".
Withdraw funds from your Available Balance to an external wallet.

Step 3: Deploy mining tasks
3.1 Visit Marketplace
Select Marketplace from the menu on the left side of the console.
Click the "Mining" section to view supported mining tasks.

3.2 Mining Pool Registration
Take F2Pool as an example:
Register an F2Pool account and save the account name.
Refer to F2Pool's official guide to configure mining parameters.
3.3 Deployment Configuration
3.3.1 Pre-configuration preparation
Environment variables are used to connect to the mining pool. Important information includes:
MINER_URL: mining pool address
ACCOUNTNAME: mining pool account name
WORKERNAME: miner ID
3.3.2 Setting Configuration
Aleo mainnet configuration:
Create an instance name (you can customize it).

2. Add environment variables:
MINER_URL: stratum+ssl://aleo-asia.f2pool.com:4420
ACCOUNTNAME: Your F2Pool account name
WORKERNAME: Customized miner name

3.3.3 Selecting a computing provider
Automatic matching: The system automatically matches the appropriate hardware.
Manual selection: filter providers based on geographic location, hardware price.

3.3.4 Complete the deployment
After checking the configuration, click Deploy Now.
After waiting for 3-5 minutes, visit the F2Pool dashboard to check the mining status.
Step 4: Monitoring and Management
Select Instances from the menu on the left side of the console.
Click "Mining Task" to view the task running status.
Resource usage, connection status and costs can be monitored in real time.
Support and Help
If you need help, please visit the official documentation or join the Swan Chain community to communicate with the technical support team.
Hopefully this guide will help you get started with your Aleo mining quest!