{"id":15065200,"url":"https://github.com/crypedit/purchase","last_synced_at":"2025-07-12T08:31:42.822Z","repository":{"id":139060183,"uuid":"100555963","full_name":"crypedit/purchase","owner":"crypedit","description":"a Purchase contract for homework","archived":false,"fork":false,"pushed_at":"2018-04-22T14:53:23.000Z","size":35,"stargazers_count":2,"open_issues_count":0,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-06T16:08:58.682Z","etag":null,"topics":["solidity-language"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crypedit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-08-17T03:11:05.000Z","updated_at":"2018-04-22T14:53:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"00bcbf64-862c-47c1-a004-658f23af6979","html_url":"https://github.com/crypedit/purchase","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/crypedit/purchase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crypedit%2Fpurchase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crypedit%2Fpurchase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crypedit%2Fpurchase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crypedit%2Fpurchase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crypedit","download_url":"https://codeload.github.com/crypedit/purchase/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crypedit%2Fpurchase/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264962261,"owners_count":23689771,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["solidity-language"],"created_at":"2024-09-25T00:35:03.009Z","updated_at":"2025-07-12T08:31:42.815Z","avatar_url":"https://github.com/crypedit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Purchase\n===\n- [ ] 仅卖家新建合约\n- [ ] 仅卖家在合约状态为新建状态时才能终止合约\n- [ ] 仅买家确认购买\n- [ ] 仅买家确认收货，合约才算完成\n\n## 部署到 testnet (ropsten)\n参考`truffle.js`中的注释的内容，部署该智能合约到`ropsten`即`http://45.76.197.72:8545`上。\n```\n$ cp your_keystore_file ./keystore\n$ printf \"your_passphase\" \u003e ./pass\n$ truffle deploy --network ropsten\n```\n**注意**\n\n你的账户中部署时必须有点`ether`，那么如何获取testnet上的`ehter`呢？\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrypedit%2Fpurchase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrypedit%2Fpurchase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrypedit%2Fpurchase/lists"}