{"id":51062464,"url":"https://github.com/leoandersoon/mapping-example","last_synced_at":"2026-06-23T03:39:31.010Z","repository":{"id":301157550,"uuid":"471479528","full_name":"leoandersoon/mapping-example","owner":"leoandersoon","description":"Created an example of mapping in Solidity world. \u003c3 it mate ","archived":false,"fork":false,"pushed_at":"2022-03-19T05:24:35.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-06-23T03:39:29.064Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leoandersoon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null}},"created_at":"2022-03-18T18:40:55.000Z","updated_at":"2023-03-05T07:52:17.000Z","dependencies_parsed_at":"2025-06-25T12:51:57.925Z","dependency_job_id":"c3ea3ab6-b38b-4723-b232-36ca8fc8df64","html_url":"https://github.com/leoandersoon/mapping-example","commit_stats":null,"previous_names":["leoandersoon/mapping-example"],"tags_count":0,"template":false,"template_full_name":"leoandersoon/Best-README-Template","purl":"pkg:github/leoandersoon/mapping-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leoandersoon%2Fmapping-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leoandersoon%2Fmapping-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leoandersoon%2Fmapping-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leoandersoon%2Fmapping-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leoandersoon","download_url":"https://codeload.github.com/leoandersoon/mapping-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leoandersoon%2Fmapping-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34674702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2026-06-23T03:39:30.088Z","updated_at":"2026-06-23T03:39:31.005Z","avatar_url":"https://github.com/leoandersoon.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"  \u003ch3 align=\"center\"\u003eMapping in Solidity\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    An example of mapping in Solidity world\n    \u003cbr /\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n\u003cdetails open=\"open\"\u003e\n  \u003csummary\u003eTable of Contents\u003c/summary\u003e\n  \u003col\u003e\n    \u003cli\u003e\n      \u003ca href=\"#about-the-project\"\u003eAbout The Project\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#built-with\"\u003eBuilt With\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contributing\"\u003eContributing\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contact\"\u003eContact\u003c/a\u003e\u003c/li\u003e\n  \u003c/ol\u003e\n\u003c/details\u003e\n\n\n\n\u003c!-- ABOUT THE PROJECT --\u003e\n## About The Project\n\n\nIn many programming languages, map is the name of a higher-order function that applies a given function to each element of a collection, e.g. a list or set, returning the results in a collection of the same type. It is often called apply-to-all when considered in functional form.\nSo what about Smart Contract Development? \n\nHere're a few properties of mapping in Solidity:\n* Mappings are not iterable\n* Mapping always returns a value\n* If the value was never set, it will return the default value\n* You can get values from a nested mapping even when it is not initialized\n\nThis repo is not a tutorial, well it's just an example as I mentioned at the heading. We're going to see how to create a map in Solidity smart contract development.\n\n### Built With\n\nThis project is built with Solidity. Basically, you don't have to donwload anything to work on Solidity so there are a few online IDE's to do it. Such as;\n* [Remix - Ethereum IDE](https://remix.ethereum.org/)\n* [Solidity by Example](https://solidity-by-example.org/)\n\n\n\n\n\n\u003c!-- CONTRIBUTING --\u003e\n## Contributing\n\nContributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n\n\n\u003c!-- LICENSE --\u003e\n## License\n\nDistributed under the MIT License. See `LICENSE` for more information.\n\n\n\n\u003c!-- CONTACT --\u003e\n## Contact\n\nLeo Anderson - [@leoandersoon](https://twitter.com/leoandersoon) - leoanderson633@protonmail.ch\n\nProject Link: [https://github.com/leoandersoon/mapping-example](https://github.com/leoandersoon/mapping-example)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleoandersoon%2Fmapping-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleoandersoon%2Fmapping-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleoandersoon%2Fmapping-example/lists"}