From 0cb4e08794c3586853561fe0fbb46bc459658914 Mon Sep 17 00:00:00 2001 From: ysq Date: Wed, 10 Sep 2025 00:37:00 +0800 Subject: [PATCH] docs: Add emoji icons to parameter section headers --- README.md | 8 ++++---- README_CN.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 2bac0ae..8d984db 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ sol-trade-sdk = "0.6.2" ## Usage Examples ### Important Parameter Description -#### open_seed_optimize Parameter +#### 🌱 open_seed_optimize Parameter `open_seed_optimize` is used to specify whether to use seed optimization to reduce transaction CU consumption. @@ -54,7 +54,7 @@ sol-trade-sdk = "0.6.2" - **Note**: Transactions created with `open_seed_optimize` enabled must be sold through this SDK. Using official methods to sell may fail. - **Note**: After enabling `open_seed_optimize`, you need to use the `get_associated_token_address_with_program_id_fast_use_seed` method to get the token ata address. -#### create_wsol_ata and close_wsol_ata、 create_mint_ata Parameters +#### 💰 create_wsol_ata and close_wsol_ata、 create_mint_ata Parameters In PumpSwap, Bonk, and Raydium trading, the `create_wsol_ata` and `close_wsol_ata`、 `create_mint_ata` parameters provide fine-grained control over wSOL (Wrapped SOL) account management: @@ -74,7 +74,7 @@ In PumpSwap, Bonk, and Raydium trading, the `create_wsol_ata` and `close_wsol_at - Useful for batch operations where you want to create once and close after multiple transactions - Provides flexibility for advanced trading strategies -#### lookup_table_key Parameter +#### 🔍 lookup_table_key Parameter The `lookup_table_key` parameter is an optional `Pubkey` that specifies an address lookup table for transaction optimization. You need to use `AddressLookupTableCache` to manage the cached address lookup table before using it. @@ -88,7 +88,7 @@ The `lookup_table_key` parameter is an optional `Pubkey` that specifies an addre - Improves transaction success rate and speed - Particularly useful for complex transactions with many account references -#### priority_fee Parameter +#### ⚡ priority_fee Parameter The `priority_fee` parameter is an optional `PriorityFee` that allows you to override the default priority fee settings for individual transactions: diff --git a/README_CN.md b/README_CN.md index 5ec6c07..ea7831a 100755 --- a/README_CN.md +++ b/README_CN.md @@ -47,7 +47,7 @@ sol-trade-sdk = "0.6.2" ### 重要说明 -#### open_seed_optimize 参数 +#### 🌱 open_seed_optimize 参数 `open_seed_optimize` ,用于指定是否使用 seed 优化交易 CU 消耗。 @@ -55,7 +55,7 @@ sol-trade-sdk = "0.6.2" - **注意**:开启 `open_seed_optimize` 后创建的交易,需要通过该 SDK 卖出,使用官网提供的方法卖出可能会失败。 - **注意**:开启 `open_seed_optimize` 后,获取代币 ata 地址需要通过 `get_associated_token_address_with_program_id_fast_use_seed` 方法获取。 -#### create_wsol_ata 和 close_wsol_ata、 create_mint_ata 参数 +#### 💰 create_wsol_ata 和 close_wsol_ata、 create_mint_ata 参数 在 PumpSwap、Bonk、Raydium 交易中,`create_wsol_ata` 和 `close_wsol_ata`、 `create_mint_ata` 参数提供对 wSOL(Wrapped SOL)账户管理的精细控制: @@ -75,7 +75,7 @@ sol-trade-sdk = "0.6.2" - 适用于批量操作,可以创建一次,在多次交易后再关闭 - 为高级交易策略提供灵活性 -#### lookup_table_key 参数 +#### 🔍 lookup_table_key 参数 `lookup_table_key` 参数是一个可选的 `Pubkey`,用于指定地址查找表以优化交易。在使用前你需要通过`AddressLookupTableCache`来管理缓存地址查找表。 @@ -89,7 +89,7 @@ sol-trade-sdk = "0.6.2" - 提高交易成功率和速度 - 特别适用于具有许多账户引用的复杂交易 -#### priority_fee 参数 +#### ⚡ priority_fee 参数 `priority_fee` 参数是一个可选的 `PriorityFee`,允许您为单个交易覆盖默认的优先级费用设置: