{"id":15888294,"url":"https://github.com/antoncoding/neo-smart-contracts","last_synced_at":"2025-04-02T16:44:26.301Z","repository":{"id":104219797,"uuid":"126135627","full_name":"antoncoding/neo-smart-contracts","owner":"antoncoding","description":"SC Tutorials from Official Website","archived":false,"fork":false,"pushed_at":"2018-06-12T12:31:10.000Z","size":53,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-08T07:25:22.175Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/antoncoding.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":"2018-03-21T06:49:56.000Z","updated_at":"2018-07-20T18:27:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"3a3e8ea0-083e-4037-b2bd-b4da50baa949","html_url":"https://github.com/antoncoding/neo-smart-contracts","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/antoncoding%2Fneo-smart-contracts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoncoding%2Fneo-smart-contracts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoncoding%2Fneo-smart-contracts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoncoding%2Fneo-smart-contracts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antoncoding","download_url":"https://codeload.github.com/antoncoding/neo-smart-contracts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246853418,"owners_count":20844576,"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-06T06:07:00.665Z","updated_at":"2025-04-02T16:44:26.268Z","avatar_url":"https://github.com/antoncoding.png","language":"Python","readme":"# Neo Smart Contracts Tutorials\n![](my-neo-python-tour.png)\n\n### Required Packages:\n`neo-boa` : for compile\n`neo-python`: to interact with the NEO blockchain, build and deploy your contracts.\n\n\nUse this command to start `neo-python`\n```\nnp-prompt -p\n```\n\n\n##### Official Sample 1: Hello World\n```\nneo\u003e build {path}/smart-contracts/sample1.py test '' 01 False False\n```\n#### Official Sample 2: Basic Computation\n```\nneo\u003e build {path}/smart-contracts/sample2.py test 070202 02 False False add 1 2\n```\n\n#### Official Sample 3: Balance Checker\n```\nneo\u003e build {path}/smart-contracts/sample3.py test 070502 02 True False add AG4GfwjnvydAZodm4xEDivguCtjCFzLcJy 3\n```\nYou can you any other address instead of `AG4GfwjnvydAZodm4xEDivguCtjCFzLcJy`, it's only working as a key for Storage\n\n## My Simple Smart Contract Samples\n\n#### Sample -  Storage\n```\nbuild {path}/smart-contracts/sample-storage.py test 02 02 True True\n```\nIt's a good idea to use `concat()` to contruct specific keystring for storage.\n\n#### Sample: List Operation\nCurrently working with a samll function `remove_from_list`. Since the remove() and pop() functions are not working properly.\n```\nbuild {path}/smart-contracts/sample-list.py test 02 02 True True 1\n```\n\n\n#### Sample: Timestamp\nThis is about how to get Current TimeStamp in a neo Smart Contract. the GetTime() function works as well.\n```\nbuild {path}/smart-contracts/sample-timestamp.py test 02 02 True True\nreturn: Current Linux TimeStamp\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantoncoding%2Fneo-smart-contracts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantoncoding%2Fneo-smart-contracts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantoncoding%2Fneo-smart-contracts/lists"}