{"id":25284214,"url":"https://github.com/elastos/elastos.ela.staketicket.solidity","last_synced_at":"2025-10-27T19:31:09.267Z","repository":{"id":96720904,"uuid":"537319452","full_name":"elastos/Elastos.ELA.StakeTicket.Solidity","owner":"elastos","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-24T13:29:44.000Z","size":66805,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-12-24T15:12:33.729Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Solidity","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/elastos.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":"2022-09-16T05:36:50.000Z","updated_at":"2024-12-24T13:29:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"4d709214-85e2-48e7-857d-f8af3763c3e8","html_url":"https://github.com/elastos/Elastos.ELA.StakeTicket.Solidity","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elastos%2FElastos.ELA.StakeTicket.Solidity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elastos%2FElastos.ELA.StakeTicket.Solidity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elastos%2FElastos.ELA.StakeTicket.Solidity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elastos%2FElastos.ELA.StakeTicket.Solidity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elastos","download_url":"https://codeload.github.com/elastos/Elastos.ELA.StakeTicket.Solidity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238548726,"owners_count":19490685,"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":[],"created_at":"2025-02-12T20:36:21.462Z","updated_at":"2025-10-27T19:31:08.739Z","avatar_url":"https://github.com/elastos.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elastos.ELA.StakeTicket.Solidity: Decentralized pledge contract based on Elastos main chain and ESC side chain\n\n[![All Contributors](https://img.shields.io/badge/all__contributors-2-red)](#contributors)\n[![golang](https://img.shields.io/badge/solidity-0.7.6-orange)](#solidity)\n[![c++](https://img.shields.io/badge/License-MIT-success)](#License)\n\n## Overview\n\nElastos.ELA.StakeTicket.Solidity is a ticket pledge system based on Elastos main chain and ESC side chain, which includes functions such as claim, mint and burn\n\n\n## Dependencies\nEither make sure you're running a version of node compliant with the `engines` requirement in `package.json`, or install Node Version Manager [`nvm`](https://github.com/creationix/nvm) and run `nvm use` to use the correct version of node.\n\nRequires `nodejs` ,`yarn` and `npm`.\n\n```shell\n# node -v \nv16.0.0\n# yarn version\nyarn version v1.22.17 \n# npm -v\n8.5.3\n```\n\n## Quick Start\n\nTake the test environment as an example, including the deployment of contracts, the implementation of Burn and Claim functions\n\n1. Install the package\n ```shell\nyarn install\n```\n2. deploy the contract NFT contract\n```shell\nyarn scripts scripts/0deployErc721.js --network test\n```\n\n3. deploy the contract Ticket contract\n```shell\nyarn scripts scripts/1deployStakeTicket.js --network test\n```\n\n4. run claim function \n```shell\nyarn scripts scripts/2claim.js --network test\n```\n\n5. run burn function \n```shell\nyarn scripts scripts/3burnTick.js --network test\n```\n\n## License\n\nAnd of course:\nMIT: https://rem.mit-license.org\n\n\n## Contribution\nThank you for considering to help out with the source code! We welcome contributions from anyone on the internet, and are grateful for even the smallest of fixes!\n\nIf you'd like to contribute to Elastos.ELA.StakeTicket.Solidity , please fork, fix, commit and send a pull request for the maintainers to review and merge into the main code base. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felastos%2Felastos.ela.staketicket.solidity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felastos%2Felastos.ela.staketicket.solidity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felastos%2Felastos.ela.staketicket.solidity/lists"}