Loading...
Loading...
Compare original and translation side by side
{CLAY_SANDBOX_URL}/docs{CLAY_SANDBOX_URL}/docs{CLAY_SANDBOX_URL}/docs{CLAY_SANDBOX_URL}/docs{your_workspace}/skills/claw-wallet/| Platform | Resolved path |
|---|---|
| Linux/macOS | |
| Windows | |
{your_workspace}/skills/claw-wallet/| 平台 | 解析后路径 |
|---|---|
| Linux/macOS | |
| Windows | |
skills/claw-walletinstall.shinstall.ps1skills/claw-wallet/claw-wallet.sh startskills/claw-wallet/claw-wallet.ps1 startrestartPOST {CLAY_SANDBOX_URL}/api/v1/wallet/initAuthorization: Bearer <token>GET {CLAY_SANDBOX_URL}/api/v1/wallet/statusrelay_user_boundfalserelay_binding_statusvalidhttps://www.clawwallet.cc/claim/<uid>skills/claw-walletinstall.shinstall.ps1skills/claw-wallet/claw-wallet.sh startskills/claw-wallet/claw-wallet.ps1 startrestart.env.clayAuthorization: Bearer <token>POST {CLAY_SANDBOX_URL}/api/v1/wallet/initGET {CLAY_SANDBOX_URL}/api/v1/wallet/statusrelay_user_boundfalserelay_binding_statusvalidhttps://www.clawwallet.cc/claim/<uid>skills/claw-walletmkdir -p skills
git clone https://github.com/ClawWallet/Claw-Wallet-Skill.git skills/claw-wallet
bash skills/claw-wallet/install.shNew-Item -ItemType Directory -Path "skills" -Force | Out-Null
git clone https://github.com/ClawWallet/Claw-Wallet-Skill.git "skills/claw-wallet"
& "skills/claw-wallet/install.ps1"GET {CLAY_SANDBOX_URL}/api/v1/wallet/statusAuthorization: Bearer <token>/api/v1/…/docs.env.clayidentity.jsonAuthorizationWallet readyAddresses: <address map from wallet/status>UID: <uid from wallet/status/identity.json>AGENT_TOKEN: <agent_token from .env.clay or identity>https://www.clawwallet.cc/claim/<uid><uid>wallet/statusidentity.jsonskills/claw-walletmkdir -p skills
git clone https://github.com/ClawWallet/Claw-Wallet-Skill.git skills/claw-wallet
bash skills/claw-wallet/install.shNew-Item -ItemType Directory -Path "skills" -Force | Out-Null
git clone https://github.com/ClawWallet/Claw-Wallet-Skill.git "skills/claw-wallet"
& "skills/claw-wallet/install.ps1"Authorization: Bearer <token>GET {CLAY_SANDBOX_URL}/api/v1/wallet/status/api/v1/…/docs.env.clayidentity.jsonAuthorizationWallet readyAddresses: <wallet/status接口返回的地址映射>UID: <wallet/status/identity.json返回的uid>AGENT_TOKEN: <.env.clay或identity文件中的agent_token>https://www.clawwallet.cc/claim/<uid><uid>wallet/statusidentity.jsonclay-sandboxskills/claw-wallet/claw-wallet.sh startskills/claw-wallet/claw-wallet.ps1 startrestartservePOST {CLAY_SANDBOX_URL}/api/v1/wallet/refreshrefreshAndAssetsclay-sandboxskills/claw-wallet/claw-wallet.sh startskills/claw-wallet/claw-wallet.ps1 startrestartservePOST {CLAY_SANDBOX_URL}/api/v1/wallet/refreshrefreshAndAssetshttps://www.clawwallet.cc/claim/<uid><uid>wallet/status/claim/…message_hash_hexAGENT_TOKENCLAY_AGENT_TOKENskills/claw-wallet/.env.clayagent_tokenidentity.jsonAuthorization: Bearer <token>POST{CLAY_SANDBOX_URL}/api/v1/wallet/bindContent-Type: application/jsonAuthorization{ "message_hash_hex": "<value from user>" }curlcurl -sS -X POST "${CLAY_SANDBOX_URL}/api/v1/wallet/bind" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${AGENT_TOKEN}" \
-d "{\"message_hash_hex\":\"<hex from user>\"}"curlcurl.execurl --version$env:CLAY_SANDBOX_URL$env:AGENT_TOKENcurlInvoke-RestMethod$body = @{ message_hash_hex = "<hex from user>" } | ConvertTo-Json
Invoke-RestMethod -Method Post -Uri "$env:CLAY_SANDBOX_URL/api/v1/wallet/bind" `
-ContentType "application/json" `
-Headers @{ Authorization = "Bearer $env:AGENT_TOKEN" } `
-Body $bodyhttps://www.clawwallet.cc/claim/<uid><uid>wallet/status/claim/…message_hash_hexskills/claw-wallet/.env.clayAGENT_TOKENCLAY_AGENT_TOKENidentity.jsonagent_tokenAuthorization: Bearer <token>POST{CLAY_SANDBOX_URL}/api/v1/wallet/bindContent-Type: application/jsonAuthorization{ "message_hash_hex": "<用户提供的值>" }curlcurl -sS -X POST "${CLAY_SANDBOX_URL}/api/v1/wallet/bind" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${AGENT_TOKEN}" \
-d "{\"message_hash_hex\":\"<用户提供的十六进制值>\"}"curlcurl.execurl --version$env:CLAY_SANDBOX_URL$env:AGENT_TOKENcurlInvoke-RestMethod$body = @{ message_hash_hex = "<用户提供的十六进制值>" } | ConvertTo-Json
Invoke-RestMethod -Method Post -Uri "$env:CLAY_SANDBOX_URL/api/v1/wallet/bind" `
-ContentType "application/json" `
-Headers @{ Authorization = "Bearer $env:AGENT_TOKEN" } `
-Body $bodyGET {CLAY_SANDBOX_URL}/health{"status":"ok"}GET {CLAY_SANDBOX_URL}/health{"status":"ok"}/api/v1/…Authorization: Bearer <token><token>AGENT_TOKENCLAY_AGENT_TOKENUnauthorized: invalid claw wallet sandbox token/api/v1/…Authorization: Bearer <token><token>AGENT_TOKENCLAY_AGENT_TOKENUnauthorized: invalid claw wallet sandbox token| Location | Field(s) |
|---|---|
| |
| |
wallet_test/<sim>/.env.claywallet_test/<sim>/identity.json| 位置 | 字段 |
|---|---|
| |
| |
wallet_test/<sim>/.env.claywallet_test/<sim>/identity.json/docs/docs{CLAY_SANDBOX_URL}/docs{CLAY_SANDBOX_URL}/docsGET /healthGET /docsGET /openapi.yaml/openapi.yamlGET /healthGET /docsGET /openapi.yaml/openapi.yamlAGENT_TOKENAuthorization: Bearer <CLAY_AGENT_TOKEN>.env.clayidentity.json{CLAY_SANDBOX_URL}/docsAGENT_TOKENAuthorization: Bearer <CLAY_AGENT_TOKEN>.env.clayidentity.json{CLAY_SANDBOX_URL}/docsgit stashgit pullgit stash pop.git.env.clayidentity.jsonshare3.jsongit initgit fetchgit reset --hard origin/main.git.env.clayidentity.jsonshare3.jsonskills/claw-wallet/claw-wallet.sh upgrade& "skills/claw-wallet/claw-wallet.ps1" upgradegit stashgit pullgit stash pop.git.env.clayidentity.jsonshare3.jsongit initgit fetchgit reset --hard origin/main.git.env.clayidentity.jsonshare3.jsonskills/claw-wallet/claw-wallet.sh upgrade& "skills/claw-wallet/claw-wallet.ps1" upgrade.env.clayidentity.jsonshare3.json.env.clayidentity.jsonshare3.jsonyesbash skills/claw-wallet/claw-wallet.sh uninstall& "skills/claw-wallet/claw-wallet.ps1" uninstall.env.clayidentity.jsonshare3.json.env.clayidentity.jsonshare3.jsonyesbash skills/claw-wallet/claw-wallet.sh uninstall& "skills/claw-wallet/claw-wallet.ps1" uninstallskills/claw-wallet/claw-wallet.shskills\claw-wallet\claw-wallet.cmd& "skills/claw-wallet/claw-wallet.ps1"startstoprestartis-running01upgradeuninstallhelp-h--helpstatus --shortaddresseshistory [chain] [limit]GET /api/v1/wallet/historyhistory solana 20assetsGET /api/v1/wallet/assetsrefreshAndAssetspricessecurityaudit [number]refreshPOST /api/v1/wallet/refreshbroadcast signed-tx.jsontransfer transfer.jsonpolicy getpolicy.jsonGET /api/v1/policy/localGET /api/v1/wallet/statuspolicyclaw-wallet.ps1& "skills/claw-wallet/claw-wallet.ps1" help& "skills/claw-wallet/claw-wallet.ps1" status --shortGet-Content policy.json | & "skills/claw-wallet/claw-wallet.ps1" policy set -help-h--help.env.clayidentity.jsonhelpskills/claw-wallet/claw-wallet.shskills\claw-wallet\claw-wallet.cmd& "skills/claw-wallet/claw-wallet.ps1"startstoprestartis-running01upgradeuninstallhelp-h--helpstatus --shortaddresseshistory [chain] [limit]GET /api/v1/wallet/historyhistory solana 20assetsGET /api/v1/wallet/assetsrefreshAndAssetspricessecurityaudit [number]refreshPOST /api/v1/wallet/refreshbroadcast signed-tx.jsontransfer transfer.jsonpolicy getGET /api/v1/policy/localpolicy.jsonGET /api/v1/wallet/statuspolicyclaw-wallet.ps1& "skills/claw-wallet/claw-wallet.ps1" help& "skills/claw-wallet/claw-wallet.ps1" status --shortGet-Content policy.json | & "skills/claw-wallet/claw-wallet.ps1" policy set -help-h--help.env.clayidentity.jsonhelptransferswapinvokerefreshPOST /api/v1/wallet/refreshrefreshAndAssetsassetstransferswapinvokerefreshPOST /api/v1/wallet/refreshrefreshAndAssetsassets