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:

  1. Available Balance

    • The main account of the platform supports free transfer.

    • Used for recharge or withdrawal operations.

  2. Escrow Balance

    • Used to pay for the running costs of mining tasks.

    • The system automatically deducts fees from the escrow balance every 24 hours.

  3. 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

  1. Select "Account" from the menu on the left side of the console.

  2. Click "Top Up" to transfer money from your wallet to "Available Balance".

  3. 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:

  1. It takes 7 days to process the transfer from "Escrow Balance" back to "Available Balance".

  2. Withdraw funds from your Available Balance to an external wallet.

Step 3: Deploy mining tasks

3.1 Visit Marketplace

  1. Select Marketplace from the menu on the left side of the console.

  2. Click the "Mining" section to view supported mining tasks.

3.2 Mining Pool Registration

Take F2Pool as an example:

  1. Register an F2Pool account and save the account name.

  2. 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:

  1. 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

  1. Automatic matching: The system automatically matches the appropriate hardware.

  2. Manual selection: filter providers based on geographic location, hardware price.

3.3.4 Complete the deployment

  1. After checking the configuration, click Deploy Now.

  2. After waiting for 3-5 minutes, visit the F2Pool dashboard to check the mining status.

Step 4: Monitoring and Management

  1. Select Instances from the menu on the left side of the console.

  2. Click "Mining Task" to view the task running status.

  3. 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!