Skip to content

Commit

Permalink
GITBOOK-471: No subject
Browse files Browse the repository at this point in the history
  • Loading branch information
Normalnoise authored and gitbook-bot committed Dec 26, 2024
1 parent 5048dd3 commit 1022013
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 51 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ ETH is required for transaction gas fees. Follow these steps:

#### 1.2 Obtaining SWAN for Collateral

ECP requires SWAN as collateral, you can buy from CEXs after TGE.
ECP requires SWAN as collateral. You can purchase SWAN from centralized exchanges (CEXs). 

SWAN is currently listed on [Gate.io](https://www.gate.io/trade/SWAN_USDT), [MEXC](https://www.mexc.com/exchange/SWAN_USDT), and [LBank](https://www.lbank.com/trade/swan_usdt). 

Contract Address: 0xBb4eC1b56cB624863298740Fd264ef2f910d5564

#### 1.3 Collateral Requirements

Expand All @@ -53,11 +57,6 @@ ECP requires SWAN as collateral, you can buy from CEXs after TGE.
* Monitor the [Swan dashboard](https://provider.swanchain.io/overview) for computing units and base collateral trends(upcoming feature)
* Maintain sufficient collateral to ensure continuous task eligibility

> **During CP UBI-0 stage:**
>
> * Collateral will be directly deposited to corresponding escrow account. **No manual deposit required.**
> * Funds locked for UBI qualification and order acceptance. **No withdrawal option available**
### 2. Account Setup <a href="#id-2.-account-setup" id="id-2.-account-setup"></a>

Depositing SWANU to the Collateral Account: Use the following command:
Expand Down Expand Up @@ -158,13 +157,13 @@ computing-provider sequencer withdraw --owner=<OWNER_ADDRESS> <AMOUNT>
* Initiate withdrawal request:

```
computing-provider collateral withdraw-request --owner=<OWNER_ADDRESS> --account=<CP_ACCOUNT> <AMOUNT>
computing-provider collateral withdraw-request --owner=<OWNER_ADDRESS> --account=<CP_ACCOUNT> --ecp <AMOUNT>
```

* Confirm withdrawal after 48 hours:
* Confirm withdrawal after 7 days:

```
computing-provider collateral withdraw-confirm --owner=<OWNER_ADDRESS> --account=<CP_ACCOUNT>
computing-provider collateral withdraw-confirm --owner=<OWNER_ADDRESS> --account=<CP_ACCOUNT> --ecp
```

_**Note:** Escrow account balance may fluctuate due to periodic settlements. It's advisable to wait 24 hours after changing `taskTypes` before requesting the withdrawal. Confirmation can only be made 48 hours after the initial request. Funds will be withdrawn to the CP's `ownerAddress` upon confirmation._
_**Note:** Escrow account balance may fluctuate due to periodic settlements. It's advisable to wait 24 hours after changing `taskTypes` before requesting the withdrawal. Confirmation can only be made 7 days after the initial request. Funds will be withdrawn to the CP's `ownerAddress` upon confirmation._
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ FCP requires `ETH` as transaction gas fees. Follow these steps to get `ETH`:

#### 1.2 Obtaining SWAN for Collateral

FCP requires `SWAN` as collateral, you can buy it from CEXs.
FCP requires SWAN as collateral, you can buy it from CEXs.

SWAN is currently listed on [Gate.io](https://www.gate.io/trade/SWAN_USDT), [MEXC](https://www.mexc.com/exchange/SWAN_USDT), and [LBank](https://www.lbank.com/trade/swan_usdt).&#x20;

Contract Address: 0xBb4eC1b56cB624863298740Fd264ef2f910d5564

### 2. Collateral Management

Expand All @@ -27,16 +31,11 @@ FCP requires `SWAN` as collateral, you can buy it from CEXs.
* Monitor the [Swan dashboard](https://provider.swanchain.io/overview) for computing units and base collateral trends(upcoming feature)
* Maintain sufficient collateral to ensure continuous task eligibility

> **During CP UBI-0 stage:**
>
> * Collateral will be directly deposited to corresponding escrow account. **No manual deposit required.**
> * Funds locked for UBI qualification and order acceptance. **No withdrawal option available**
**2.2 Slash Collateral**&#x20;

* Collateral may be forfeited under the following circumstances:
* User complaints or appeals:
* Can be submitted during or after the task.
* It can be submitted during or after the task.
* Evidence must be provided (e.g., screenshots, log files, etc.).
* Reasons for complaints/appeals may include but are not limited to:
* Task completion does not meet expectations.
Expand All @@ -62,25 +61,4 @@ FCP requires `SWAN` as collateral, you can buy it from CEXs.
* The platform takes a 5% service fee.
* The remaining 95% is divided among up to three FCPs (task processors).

### 4. Important Notes

#### Critical Requirements

* Maintain stable beneficiary address during UBI-0 program
* Do not transfer SWANU tokens unnecessarily
* Keep sufficient ETH for gas fees

#### Best Practices

* Regular monitoring of collateral requirements
* Maintain high task completion rates
* Ensure consistent resource availability
* Monitor dashboard for performance metrics

#### Anti-Gaming Protection

* Do not use UBI earnings for artificial task creation
* Manipulation attempts will reduce bench task success rates
* Focus on legitimate service provision

***
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ description: Now all CPs can migrate to the mainnet to participate in Swan Mainn

### First-time Deployment

If you are deploying for the first time, you can follow the instructions in the latest version: [Swan Chain Computing Provider v0.7.0](https://github.com/swanchain/go-computing-provider/releases/tag/v0.7.0)
If you are deploying for the first time, you can follow the instructions in the latest version: Swan Chain Computing Provider v01.0.0: [https://github.com/swanchain/go-computing-provider/releases/tag/v1.0.0](https://github.com/swanchain/go-computing-provider/releases/tag/v1.0.0)

### Migration from Proxima to Mainnet

1. **Update `resource-exporter` to the latest version `v11.2.8`**: Follow the instructions in this issue: [Update Resource Exporter to v11.2.8](https://github.com/swanchain/go-computing-provider/issues/14).
1. **Update `resource-exporter` to the latest version `v11.3.0`**: Follow the instructions in this issue: [Update Resource Exporter to v11.3.0.](https://github.com/swanchain/go-computing-provider/issues/14)
2. **Specify a new CP\_PATH**:

```bash
Expand All @@ -29,7 +29,7 @@ If you are deploying for the first time, you can follow the instructions in the
computing-provider -v
```

Ensure it shows `version 0.6.1+mainnet`.
Ensure it shows `version 1.0.0+mainnet`.
5. **Initialize CP repo and update configuration**: Refer to [Initialize CP Repo and Update Configuration](https://github.com/swanchain/go-computing-provider/tree/v0.6.1?tab=readme-ov-file#initialize-cp-repo-and-update-configuration)

Note:
Expand Down
9 changes: 5 additions & 4 deletions network-reference/readme/set-up-your-wallet.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
#### **Step 2: Import Tokens** <a href="#step-2-import-tokens" id="step-2-import-tokens"></a>

1. In Metamask, click on "Import tokens" at the bottom of the Tokens tab.
2. Enter the token contract address for SWAN Credit Token:
2. Enter the token contract address for SWAN Token:

`0xAF90ac6428775E1Be06BAFA932c2d80119a7bd02`
**0xBb4eC1b56cB624863298740Fd264ef2f910d5564**

1. The token symbols and decimals should autofill. If not, check the block explorer.
2. Click "Import" to confirm.[\
The token symbols and decimals should autofill. If not, check the block explorer.

3. Click "Import" to confirm.[\
](https://docs.swanchain.io/swan-chain/swan-chain-mainnet/swan-credit-token)
21 changes: 15 additions & 6 deletions swan-chain-campaign/swan-cp-ubi.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,21 @@ FCPs contribute to network functionality by:

### 1. Token Acquisition

* **Token**: SWANU (Contract: 0x39cBBeaF88a91404618d45a16e0977Adab4d1Af1)
* **Existing Providers**:
* Automatic SWANU collateral deposit based on GPU specifications
* Required upgrade to [Computing Provider v0.7.1](https://github.com/swanchain/go-computing-provider/releases/tag/v0.7.1)
* Status verification via `computing-provider info` command
* **New Providers**: Submit application through official form for SWANU allocation here:[https://docs.google.com/forms/d/e/1FAIpQLSdnd8H4ab1eBr0D4e2QBLvBRj6H\_xo7C8gW8ItewvHJRzYVVg/viewform?usp=sf\_link](https://docs.google.com/forms/d/e/1FAIpQLSdnd8H4ab1eBr0D4e2QBLvBRj6H_xo7C8gW8ItewvHJRzYVVg/viewform?usp=sf_link)
#### 1.1 Obtaining ETH for Gas Fees

ETH is required for transaction gas fees. Follow these steps:

1. Visit Swan Chain's official bridge website:[ https://bridge.swanchain.io](https://bridge.swanchain.io)
2. Cross-chain your ETH to Swan Chain to obtain ETH
3. Prepare sufficient ETH to account for potential fluctuations in network gas fees

#### 1.2 Obtaining SWAN for Collateral

CP requires SWAN as collateral. You can purchase SWAN from centralized exchanges (CEXs).&#x20;

SWAN is currently listed on [Gate.io](https://www.gate.io/trade/SWAN_USDT), [MEXC](https://www.mexc.com/exchange/SWAN_USDT), and [LBank](https://www.lbank.com/trade/swan_usdt).&#x20;

Contract Address: 0xBb4eC1b56cB624863298740Fd264ef2f910d5564

### 2. Provider Setup

Expand Down

0 comments on commit 1022013

Please sign in to comment.