Skip to content

windyund/Sui_Faucet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

领取 sui faucet

  • 1.backend api in main branch

API调用:
POST http://localhost:6002/sui/request

Content-Type: application/json

注:不支持自定义amount,testnet固定领取1sui network: 测试环境:testnet, 开发环境:devnet, 环境:localnet 请求参数

{
"network": "testnet",      // 网络环境
"address": "your address", // 地址
}

响应参数

{
  "success": true,
  "tx_id": "abc5af0a-9cd1-4928-83aa-71ed0d2afd53",
  "explorer_url": "https://suiscan.xyz/testnet/tx/abc5af0a-9cd1-4928-83aa-71ed0d2afd53"
}
  • 2.frontend in frontend branch

部署流程

  • 构建
cargo build --release
  • 启动
nohup ./target/release/sui-faucet > output.log 2>&1 &

About

sui 链测试环境获取faucet coin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%