{"id":18817983,"url":"https://github.com/starknet-io/starknet-playground","last_synced_at":"2025-08-21T07:11:20.290Z","repository":{"id":39859568,"uuid":"431507758","full_name":"starknet-io/starknet-playground","owner":"starknet-io","description":"Playground environment for those who want to learn and get to know Cairo language better.","archived":false,"fork":false,"pushed_at":"2023-02-16T11:48:45.000Z","size":718,"stargazers_count":26,"open_issues_count":9,"forks_count":24,"subscribers_count":3,"default_branch":"dev","last_synced_at":"2025-04-13T23:32:24.664Z","etag":null,"topics":["blockchain","cairo","ethereum","ide","javascript","playground","react","starknet","starkware"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/starknet-io.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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,"zenodo":null}},"created_at":"2021-11-24T14:06:34.000Z","updated_at":"2024-11-20T20:25:38.000Z","dependencies_parsed_at":"2025-04-13T23:40:49.968Z","dependency_job_id":null,"html_url":"https://github.com/starknet-io/starknet-playground","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/starknet-io/starknet-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starknet-io%2Fstarknet-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starknet-io%2Fstarknet-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starknet-io%2Fstarknet-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starknet-io%2Fstarknet-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/starknet-io","download_url":"https://codeload.github.com/starknet-io/starknet-playground/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starknet-io%2Fstarknet-playground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271441676,"owners_count":24760343,"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-08-21T02:00:08.990Z","response_time":74,"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":["blockchain","cairo","ethereum","ide","javascript","playground","react","starknet","starkware"],"created_at":"2024-11-08T00:14:15.901Z","updated_at":"2025-08-21T07:11:20.264Z","avatar_url":"https://github.com/starknet-io.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/starkware-libs/cairo-playground/blob/dev/src/assets/svg/starknet-logo.svg?raw=true\"  alt=\"\"/\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/starkware-libs/cairo-playground/blob/dev/src/assets/svg/cairo-logo.svg?raw=true\"  alt=\"\"/\u003e\n\u003c/p\u003e\n\n\u003c!-- tag line --\u003e\n\u003ch2 align='center'\u003eCairo Playground\u003c/h2\u003e\n\u003ch4 align='center'\u003e\nCairo version: \u003ca href=\"https://cairo-lang.org/playground\"\u003e https://cairo-lang.org/playground \u003c/a\u003e\n\u003cbr/\u003e\nStarkNet version: \u003ca href=\"https://starknet.io/playground\"\u003e https://starknet.io/playground \u003c/a\u003e\n\u003c/h4\u003e\n\n\u003c!-- primary badges --\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/facebook/react\"\u003e\n        \u003cimg src=\"https://badges.aleen42.com/src/react.svg\" alt=\"\"\u003e\n    \u003c/a\u003e    \n    \u003ca href=\"https://github.com/prettier/prettier\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/code_style-prettier-ff69b4.svg\" alt=\"\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://starkware.co/\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/powered_by-StarkWare-navy\" alt=\"\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\nPlayground environment for those who want to learn and get to know [Cairo](https://www.cairo-lang.org/) language better.\\\nBuild and debug simple Cairo programs or even build, compile and deploy Cairo smart contracts.\n\nThis project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).\n\n## App Modes\n\nWe are managing 2 different build flows to support `Cairo` and `StarkNet` modes. Components will dynamically build the\nUI according to the mode value in the `AppProvider`.\n\n`Cairo` - The default mode. Here you can write simple Cairo programs, run, debug and prove them using SHARP.\n\n`StarkNet` - Dedicated mode for StarkNet, our L2 network over Ethereum. In this mode you can write Cairo smart contracts, compile and deploy them to the network.\n\n## Prerequisites\n\n1. Install `npm` and `Node.js`. See [Guide](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm).\n2. Make sure you've `yarn` installed globally on your machine `npm i -g yarn`.\n\n## Installation\n\nClone and run `yarn` to install dependencies:\n\n```\ngit clone https://github.com/starkware-libs/cairo-playground.git\ncd cairo-playground\nyarn install\n```\n\n## Development\n\n`yarn run start` - starts the development server with the default `Cairo` mode.\n\n`yarn run start:starknet` - starts the development server with `StarkNet` mode.\n\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\\\nThe page will reload if you make edits.\\\nYou will also see any lint errors in the console.\n\n## Production\n\n`yarn run build` - builds the default `Cairo` mode.\n\n`yarn run build:starknet` - builds the `StarkNet` mode.\n\nBuilds the app for production to the `build` folder.\\\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\\\nYour app is ready to be deployed!\n\n## `.env` Files\n\n`.env` files are increasingly popular as a way to configure an application. Their values are injected into the\napplication bundle during build time.\\\nThe appropriate files are loaded according to the `NODE_ENV` value.\\\n`.env` (global values for all environments)\\\n`.env.development` (values for development env, i.e `NODE_ENV=development`)\\\n`.env.test` (values for testing env, i.e, `NODE_ENV=test`)\\\n`.env.production` (values for production env, i.e, `NODE_ENV=production`)\n\n\u003e Note: each file can be overridden on a local environment using matching `.env.[ENV].local` file.\n\n## Shuffle Environments Variables\n\n### `yarn run start --use-real-sharp`\n\nBy default, SHARP endpoint isn't available on local environment. i.e, you can't prove programs when running on local\nmachine.\\\nFor making this feature available so the app will use SHARP endpoint, you can use the above flag.\n\n### `yarn run start --use-starknet-alpha`\n\nBy default, StarkNet endpoint isn't available on local environment. i.e, you can't deploy programs when running on your\nlocal machine.\\\nFor making this feature available so the app will use StarkNet endpoint, you can use the above flag.\n\n### `yarn run start --use-starknet-alpha --starknet-mode`\n\nRuns the app on local env in StarkNet mode with deploy feature available.\n\n### `yarn run start --use-real-sharp --cairo-mode`\n\nRuns the app on local env in Cairo mode with prove feature available.\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](./CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull\nrequests to us.\n\n## Versioning\n\nWe use [SemVer](http://semver.org/) for versioning. For the versions available, see\nthe [tags on this repository](https://github.com/starkware-libs/cairo-playground/releases).\n\n## License\n\nTBD\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarknet-io%2Fstarknet-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstarknet-io%2Fstarknet-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarknet-io%2Fstarknet-playground/lists"}