update readme

This commit is contained in:
wood
2025-08-22 17:31:45 +08:00
parent 10a6c7dccf
commit 2b1c40f554
2 changed files with 2 additions and 4 deletions
+1 -2
View File
@@ -264,7 +264,7 @@ async fn test_shreds() -> Result<(), Box<dyn std::error::Error>> {
When configuring SWQOS services, note the different parameter requirements for each service:
- **Jito**: The first parameter is UUID, if you don't have a UUID, pass an empty string `""`
- **NextBlock**: The first parameter is API Token, Click here https://nextblock.io/auth?refCode=fnzero to get a free key and accelerate your transactions instantly!
- **NextBlock**: The first parameter is API Token
- **Bloxroute**: The first parameter is API Token
- **ZeroSlot**: The first parameter is API Token
- **Temporal**: The first parameter is API Token
@@ -292,7 +292,6 @@ async fn test_create_solana_trade_client() -> AnyResult<SolanaTrade> {
let swqos_configs = vec![
// First parameter is UUID, pass empty string if no UUID
SwqosConfig::Jito("your uuid".to_string(), SwqosRegion::Frankfurt),
// Click here https://nextblock.io/auth?refCode=fnzero to get a free key and accelerate your transactions instantly!
SwqosConfig::NextBlock("your api_token".to_string(), SwqosRegion::Frankfurt),
SwqosConfig::Bloxroute("your api_token".to_string(), SwqosRegion::Frankfurt),
SwqosConfig::ZeroSlot("your api_token".to_string(), SwqosRegion::Frankfurt),
+1 -2
View File
@@ -264,7 +264,7 @@ async fn test_shreds() -> Result<(), Box<dyn std::error::Error>> {
在配置 SWQOS 服务时,需要注意不同服务的参数要求:
- **Jito**: 第一个参数是 UUID,如果没有 UUID 则传空字符串 `""`
- **NextBlock**: 第一个参数是 API Token, 点击这里 https://nextblock.io/auth?refCode=fnzero 获取免费key立即加速你的交易!
- **NextBlock**: 第一个参数是 API Token
- **Bloxroute**: 第一个参数是 API Token
- **ZeroSlot**: 第一个参数是 API Token
- **Temporal**: 第一个参数是 API Token
@@ -291,7 +291,6 @@ async fn test_create_solana_trade_client() -> AnyResult<SolanaTrade> {
let swqos_configs = vec![
// 第一个参数是 uuid,如果没有 uuid 则传空字符串
SwqosConfig::Jito("your uuid".to_string(), SwqosRegion::Frankfurt),
// 点击这里 https://nextblock.io/auth?refCode=fnzero 获取免费key立即加速你的交易!
SwqosConfig::NextBlock("your api_token".to_string(), SwqosRegion::Frankfurt),
SwqosConfig::Bloxroute("your api_token".to_string(), SwqosRegion::Frankfurt),
SwqosConfig::ZeroSlot("your api_token".to_string(), SwqosRegion::Frankfurt),