{"id":17203933,"url":"https://github.com/ivanceras/near-counter","last_synced_at":"2025-03-25T09:42:36.263Z","repository":{"id":76197758,"uuid":"475844751","full_name":"ivanceras/near-counter","owner":"ivanceras","description":"A counter example implemented on blockchain","archived":false,"fork":false,"pushed_at":"2022-04-20T18:49:06.000Z","size":208,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-23T07:54:38.217Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/ivanceras.png","metadata":{"files":{"readme":"README-Gitpod.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}},"created_at":"2022-03-30T11:19:28.000Z","updated_at":"2022-03-30T11:20:10.000Z","dependencies_parsed_at":"2023-03-10T07:00:33.087Z","dependency_job_id":null,"html_url":"https://github.com/ivanceras/near-counter","commit_stats":{"total_commits":19,"total_committers":1,"mean_commits":19.0,"dds":0.0,"last_synced_commit":"cca535a89ee1deb450edbf59031f452b51b8b9f6"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanceras%2Fnear-counter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanceras%2Fnear-counter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanceras%2Fnear-counter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanceras%2Fnear-counter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ivanceras","download_url":"https://codeload.github.com/ivanceras/near-counter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245224550,"owners_count":20580365,"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":"2024-10-15T02:19:56.271Z","updated_at":"2025-03-25T09:42:36.242Z","avatar_url":"https://github.com/ivanceras.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"Counter example in Rust - Gitpod version\n==================================================\n\nThis README is specific to Gitpod and this example. For local development, please see [README.md](README.md).\n\n## Description\n\nIn Gitpod, the counter will start automatically. Please look in the terminal for a link to follow.\n\nThis contract implements simple counter backed by storage on blockchain.\nContract in `contract/src/lib.rs` provides methods to increment / decrement counter and get it's current value or reset.\n\nPlus and minus buttons increase and decrease value correspondingly. When button L is toggled, a little light turns on, just for fun. RS button is for reset. LE and RE buttons to let the robot wink at you.\n\n## To Test\n\n```\ncd contract\ncargo test -- --nocapture\n```\n\n## To Explore\n\n- `contract/src/lib.rs` for the contract code\n- `src/index.html` for the front-end HTML\n- `src/main.js` for the JavaScript front-end code and how to integrate contracts\n- `src/test.js` for the JS tests for the contract\n\n\n## Data collection\n\nBy using Gitpod in this project, you agree to opt-in to basic, anonymous analytics. No personal information is transmitted. Instead, these usage statistics aid in discovering potential bugs and user flow information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivanceras%2Fnear-counter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivanceras%2Fnear-counter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivanceras%2Fnear-counter/lists"}