{"id":22366777,"url":"https://github.com/fundgao/awesome-move","last_synced_at":"2026-04-29T08:02:01.663Z","repository":{"id":231063047,"uuid":"780810984","full_name":"fundgao/awesome-move","owner":"fundgao","description":"sui by move. All IN MOVE","archived":false,"fork":false,"pushed_at":"2025-02-16T01:17:52.000Z","size":104,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-12T10:04:31.063Z","etag":null,"topics":["aptos","bitcoin","crypto","ethereum","move","sui"],"latest_commit_sha":null,"homepage":"https://sui.io","language":"Move","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fundgao.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-02T07:49:44.000Z","updated_at":"2025-02-16T01:17:56.000Z","dependencies_parsed_at":"2024-04-18T08:51:45.725Z","dependency_job_id":"05eb5993-d07e-4a6f-985d-f69686a8cd55","html_url":"https://github.com/fundgao/awesome-move","commit_stats":null,"previous_names":["fundgao/move-sui","fundgao/awesome-move"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fundgao/awesome-move","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fundgao%2Fawesome-move","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fundgao%2Fawesome-move/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fundgao%2Fawesome-move/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fundgao%2Fawesome-move/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fundgao","download_url":"https://codeload.github.com/fundgao/awesome-move/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fundgao%2Fawesome-move/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32416146,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aptos","bitcoin","crypto","ethereum","move","sui"],"created_at":"2024-12-04T18:15:39.795Z","updated_at":"2026-04-29T08:02:01.648Z","avatar_url":"https://github.com/fundgao.png","language":"Move","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [move-sui](https://docs.sui.io/guides/developer/getting-started/sui-install)\nsui by move. All IN MOVE\n\n- [Sui Move导论](https://intro-zh.sui-book.com)\n- [学习Move领奖励](https://github.com/move-cn/letsmove)\n- [Move 学习项目集合](https://github.com/zcy1024/SuiStudy)\n\n## 常用命令\n要检查Sui是否已安装\n```\nwhich sui\n```\n\nSui客户端 [初始化教程](Install/01.cli_start.md)\n```\nsui client\n```\n\n要检查当前可用的环境别名\n```\nsui client envs\n```\n\n新增testnet和mainnet节点\n```\nsui client new-env --alias testnet --rpc https://fullnode.testnet.sui.io:443\nsui client new-env --alias mainnet --rpc https://fullnode.mainnet.sui.io:443\n```\n\n切换活动网络\n```\nsui client switch --env \u003cALIAS\u003e\n```\n\n查看当前钱包地址\n```\nsui client addresses\n\nsui client active-address\n```\n\n创建新钱包\n```\nsui client new-address \u003cKEY_SCHEME\u003e \u003cALIAS\u003e\n\nKEY_SCHEME 加密类型\n0 for ed25519, 1 for secp256k1, 2: for secp256r1\n```\n\n切换钱包\n```\n#通过地址切换\nsui client switch --address 0x69ed35387475725ac0a6932ffcc9bf8a628c161abf815c82432222b98e0eaa01\n```\n\n查看当前地址中的币\n```\nsui client gas\n```\n## 开发命令\n创建新项目\n```\nsui move new project_name\n```\n\n构建项目\n```\nsui move build\n```\n\n单元测试命令\n```\nsui move test\n```\n\n领取开发币、测试币\n```\n#testnet\ncurl --location --request POST 'https://faucet.testnet.sui.io/v1/gas' --header 'Content-Type: application/json' --data-raw '{ \"FixedAmountRequest\": { \"recipient\": \"\u003cADDRESS\u003e\" } }'\n\n#devnet\ncurl --location --request POST 'https://faucet.devnet.sui.io/gas' --header 'Content-Type: application/json' --data-raw '{ \"FixedAmountRequest\": { \"recipient\": \"\u003cADDRESS\u003e\" } }'\n```\n\n发送代币\n```\nsui client transfer --to \u003c接收方地址\u003e --object-id \u003cgasCoinId\u003e --gas-budget 10000000\n\n注意：--gas-budget为本次交易所需的手续费，尽量写大一些，交互中会自动计算，并不是填写的数值。\n```\n\n合并代币\n多个不同余额的代币进行合并：\n```\nsui client merge-coin --primary-coin \u003c保留代币地址\u003e --coin-to-merge \u003c被合并代币地址\u003e --gas-budget 10000000\n```\n\n## 发布新币\n发布命令\n```\nsui client publish --gas-budget 5000000\n```\n\n查看当前活动对象\n```\nsui client objects\n\n╭───────────────────────────────────────────────────────────────────────────────────────╮\n│ ╭────────────┬──────────────────────────────────────────────────────────────────────╮ │\n│ │ objectId   │  \u003cOBJECT-ID\u003e                                                         │ │\n│ │ version    │  10                                                                  │ │\n│ │ digest     │  \u003cDIGEST-HASH\u003e                                                       │ │\n│ │ objectType │  \u003cPACKAGE-ID\u003e::my_module::Forge                                      │ │\n│ ╰────────────┴──────────────────────────────────────────────────────────────────────╯ │\n│ ╭────────────┬──────────────────────────────────────────────────────────────────────╮ │\n│ │ objectId   │  \u003cOBJECT-ID\u003e                                                         │ │\n│ │ version    │  10                                                                  │ │\n│ │ digest     │  \u003cDIGEST-HASH\u003e                                                       │ │\n│ │ objectType │  0x0000..0002::coin::Coin                                            │ │\n│ ╰────────────┴──────────────────────────────────────────────────────────────────────╯ │\n│ ╭────────────┬──────────────────────────────────────────────────────────────────────╮ │\n│ │ objectId   │  \u003cOBJECT-ID\u003e                                                         │ │\n│ │ version    │  10                                                                  │ │\n│ │ digest     │  \u003cDIGEST-HASH\u003e                                                       │ │\n│ │ objectType │  0x0000..0002::package::UpgradeCap                                   │ │\n│ ╰────────────┴──────────────────────────────────────────────────────────────────────╯ │\n╰───────────────────────────────────────────────────────────────────────────────────────╯\n```\nobjectId 字段是每个对象的唯一标识符。\n\nCoin 对象\n\nForge 对象\n\nUpgradeCap 对象\n\n交易命令\n```\nsui client call --package $PACKAGE_ID --module apt --function mint --args $APT_TREASURYCAP 1 $TO_ADDRESS --gas-budget 100000000\n```\n更新 sui 环境\n```\ncargo install --locked --git https://github.com/MystenLabs/sui.git --branch testnet sui\n```\n\n更新 Rust 环境\n```\nrustup update stable\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffundgao%2Fawesome-move","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffundgao%2Fawesome-move","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffundgao%2Fawesome-move/lists"}