{"id":13524119,"url":"https://github.com/Blocks-Editor/blocks","last_synced_at":"2025-04-01T02:30:37.160Z","repository":{"id":44897705,"uuid":"425048398","full_name":"Blocks-Editor/blocks","owner":"Blocks-Editor","description":"Blocks. An online drag-and-drop smart contract builder.","archived":false,"fork":false,"pushed_at":"2023-09-13T19:22:07.000Z","size":26647,"stargazers_count":154,"open_issues_count":29,"forks_count":35,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-11-14T06:34:44.681Z","etag":null,"topics":["blockchain","cryptocurrency","dapps-development","dataflow","decentralized-applications","defi","dfinity","editor","graph","icp","internet-computer","javascript","low-code","motoko","motoko-language","no-code","online","react","smart-contracts"],"latest_commit_sha":null,"homepage":"https://blocks-editor.github.io/blocks","language":"JavaScript","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/Blocks-Editor.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}},"created_at":"2021-11-05T18:31:16.000Z","updated_at":"2024-11-01T06:55:15.000Z","dependencies_parsed_at":"2024-01-07T18:05:09.609Z","dependency_job_id":"aa649b0b-23e8-419d-84e1-67b93915afab","html_url":"https://github.com/Blocks-Editor/blocks","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/Blocks-Editor%2Fblocks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blocks-Editor%2Fblocks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blocks-Editor%2Fblocks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blocks-Editor%2Fblocks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Blocks-Editor","download_url":"https://codeload.github.com/Blocks-Editor/blocks/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246572135,"owners_count":20798902,"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":["blockchain","cryptocurrency","dapps-development","dataflow","decentralized-applications","defi","dfinity","editor","graph","icp","internet-computer","javascript","low-code","motoko","motoko-language","no-code","online","react","smart-contracts"],"created_at":"2024-08-01T06:01:07.123Z","updated_at":"2025-04-01T02:30:36.630Z","avatar_url":"https://github.com/Blocks-Editor.png","language":"JavaScript","readme":"[![Blocks.](./public/img/logo-gradient.png)](https://blocks-editor.github.io/blocks/)\n\n---\n\n\u003e *Blocks* is an online visual smart contract builder for the [Internet Computer](https://dfinity.org/).\n\n### [Homepage](https://blocks-editor.github.io) / [Web Application](https://blocks-editor.github.io/blocks) / [Twitter](https://twitter.com/BlocksEditor) / [Discord](https://discord.gg/jDDWtKwWQf)\n\n---\n\n[![A simple fungible token example](./public/img/example/currency-v3.png)](https://blocks-editor.github.io/blocks/)\n\n\u003e Inspired by low-code editors such as [Blender Nodes](https://docs.blender.org/manual/en/latest/compositing/introduction.html) and [Unreal Engine Blueprint](https://docs.unrealengine.com/4.27/en-US/ProgrammingAndScripting/Blueprints/), the Blocks Editor makes it possible to build [Motoko smart contracts](https://smartcontracts.org/docs/language-guide/motoko.html) using a simple drag-and-drop interface.\n\n## Getting Started\n\nHere are a few tips for learning the Blocks user interface:\n\n- Complete the [interactive tutorials](https://blocks-editor.github.io/blocks/?menu=tutorials) to learn the basic editor workflow.\n- Browse a variety of [examples and templates](https://blocks-editor.github.io/blocks/?menu=load) available in the application.\n- Select a block and press 'Q' on your keyboard to view the corresponding [Quick Reference](https://blocks-editor.github.io/blocks/?menu=reference) information. \n- Try hovering your mouse over a block name, connection socket, or input field to view a tooltip with more context.\n- Open the 'Compile' panel and press 'Build \u0026 Run' to compile, deploy and test your code on the Internet Computer. \n- If you're running into an issue or have any questions, feel free to ask our [Discord community](https://discord.gg/jDDWtKwWQf)!\n\n---\n\n[![A simple NFT example](./public/img/example/nft-v1.png)](https://blocks-editor.github.io/blocks/)\n\n\u003e Combine visual logic with Motoko language syntax using custom Expression blocks. \n\n## Advanced Usage\n\n- Customize the editor and view keyboard shortcuts for common block types in the [Options](https://blocks-editor.github.io/blocks/?menu=settings) menu.\n- Hold 'Ctrl' or 'Cmd' when opening the right-click placement menu to view and search all blocks available in the editor. \n- Quickly remove connections by holding the 'Ctrl' or 'Cmd' key and clicking on a connection socket.\n- Add a GitHub library using a `Package` block, import a file using an `Import` block, and call a library function using an expression block such as `{ Expression }` or `{ Statement }`.\n- Convert a standard Motoko file to a Blocks smart contract using the `{ Import }` and `{ Member }` block (view the [DIP721 NFT template](https://blocks-editor.github.io/blocks/?menu=load) for an example).\n- Add test cases to ensure your smart contract works as intended.\n\n## Embedded Mode\n\nCustomize the Blocks Editor for your React application using the [react-blocks-editor](https://www.npmjs.com/package/react-blocks-editor) npm package.\n\n## Contributions\n\nPRs are welcome! If you are looking for ideas on how to contribute, please check out the currently open [issues](https://github.com/Blocks-Editor/blocks/issues) and feel free to request clarification about anything that catches your interest. \n\n## Local Environment\n\n```sh\ngit clone https://github.com/Blocks-Editor/blocks\ncd blocks\nnpm install\n```\n\n### Serve (http://localhost:3000):\n\n```bash\nnpm start\n```\n\n### Test:\n\n```bash\nnpm test\n```\n\n### Build:\n\n```bash\nnpm run build\n```\n\n## Support the Project\n\n*Blocks* is a 100% open-source IC community project.\nPlease donate to help keep the application running.\n\n- **ICP**: `184d1794cba6d6384e8487c702436eee7614aeb17cbfc94fcfa328b3f7bf7f75`\n- **ETH**: `0xE977fa3a79fC45eB7c2C628d7D7De65483Cd0751`\n- **BTC**: `3QpW3YxLBEvBpNn8PP53kvHXRktvKafu4w`\n\n---\n\nThis project was made possible via the [DFINITY Developer Grant Program](https://dfinity.org/grants/).\n","funding_links":[],"categories":["Motoko","IDEs"],"sub_categories":["Monitoring"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBlocks-Editor%2Fblocks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBlocks-Editor%2Fblocks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBlocks-Editor%2Fblocks/lists"}