{"id":31923336,"url":"https://github.com/fuellabs/sway-examples","last_synced_at":"2025-10-13T23:49:36.115Z","repository":{"id":259426629,"uuid":"820020030","full_name":"FuelLabs/sway-examples","owner":"FuelLabs","description":"A re-imagined Sway Examples repository with only fully working examples (front and backends included) by the Fuel DevRel team ","archived":false,"fork":false,"pushed_at":"2025-01-30T05:30:24.000Z","size":69778,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-05-21T18:34:22.613Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FuelLabs.png","metadata":{"files":{"readme":"README.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-25T16:28:17.000Z","updated_at":"2025-01-30T05:30:29.000Z","dependencies_parsed_at":"2024-10-25T09:32:03.790Z","dependency_job_id":"d6e20ee7-dcf2-4de5-b282-055fae1b5e98","html_url":"https://github.com/FuelLabs/sway-examples","commit_stats":null,"previous_names":["fuellabs/sway-examples"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FuelLabs/sway-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FuelLabs%2Fsway-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FuelLabs%2Fsway-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FuelLabs%2Fsway-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FuelLabs%2Fsway-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FuelLabs","download_url":"https://codeload.github.com/FuelLabs/sway-examples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FuelLabs%2Fsway-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017229,"owners_count":26086016,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"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":"2025-10-13T23:49:31.519Z","updated_at":"2025-10-13T23:49:36.108Z","avatar_url":"https://github.com/FuelLabs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cpicture\u003e\n        \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"public/sway-examples-logo-dark-theme.png\"\u003e\n        \u003cimg alt=\"SwayLibs logo\" width=\"400px\" src=\"public/sway-examples-logo-light-theme.png\"\u003e\n    \u003c/picture\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/FuelLabs/sway-examples/actions/workflows/ci.yml\" alt=\"CI\"\u003e\n        \u003cimg src=\"https://github.com/FuelLabs/sway-examples/actions/workflows/ci.yml/badge.svg\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://crates.io/crates/forc/0.63.3\" alt=\"forc\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/forc-v0.63.3-orange\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://img.shields.io/npm/v/fuels\" alt=\"ts-sdk\"\u003e\n        \u003cimg src=\"https://img.shields.io/npm/v/fuels\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"./LICENSE\" alt=\"forc\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/license/FuelLabs/sway-examples\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://discord.gg/xfpK4Pe\"\u003e\n        \u003cimg src=\"https://img.shields.io/discord/732892373507375164?color=6A7EC2\u0026logo=discord\u0026logoColor=ffffff\u0026labelColor=6A7EC2\u0026label=Discord\" /\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n## Overview\n\nThis repository is designed to showcase full-stack examples of the Sway Language that users can reference. \n\nAll examples are maintained by official Sway contributors and will be kept up to date with the latest working version of the Fuel development stack. Each application includes a functional Sway program, a frontend using Typescript, and tests written in Rust, all with the help of the SDKs.\n\n## Examples\n\n#### [NFT Launcher](./nft/README.md)\n\n- An example demonstrating how to mint and burn native NFTs with images stored on IPFS.\n- [demo](https://fuellabs.github.io/sway-examples/nft/)\n\n#### Token Airdrop\n\n- Learn how to work with merkle trees in Sway to distrubute native tokens across multiple addresses.\n- [demo](https://fuellabs.github.io/sway-examples/airdrop/)\n\n#### [Counter Dapp](./counter/README.md)\n\n- A simple example to demonstrate basic functionality.\n- [demo](https://fuellabs.github.io/sway-examples/counter/)\n\n## Coming Soon\n\n- SwayFarm\n- Predicate-based Orderbook\n- Voting DAO\n- Constant Product AMM\n\n## Using an Example\n\nGo to the directory or click the example in which you want to explore. Follow the instructions in the README.md file to install, build, and deploy the example application. This repository is intended to be an up-to-date resource on various blockchain building topics from minting and burning to using merkle trees.\n\n## Contributing\n\nPlease refer to the Fuel Labs contribution guidelines. For new example requests, please open an issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuellabs%2Fsway-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffuellabs%2Fsway-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuellabs%2Fsway-examples/lists"}