{"id":13651284,"url":"https://github.com/Markeljan/stxgpt","last_synced_at":"2025-04-22T22:30:55.843Z","repository":{"id":197525795,"uuid":"698023806","full_name":"Markeljan/stxgpt","owner":"Markeljan","description":"Write Clarity smart contracts using any programing language.","archived":false,"fork":false,"pushed_at":"2024-07-23T08:03:41.000Z","size":1954,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-07-23T10:04:51.558Z","etag":null,"topics":["ai-bitcoin","bitcoin-ai","clarity","stacks","stacksjs","stx"],"latest_commit_sha":null,"homepage":"https://stx.fun","language":"TypeScript","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/Markeljan.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":"2023-09-29T01:21:54.000Z","updated_at":"2024-07-23T10:04:59.753Z","dependencies_parsed_at":"2024-07-23T10:14:57.476Z","dependency_job_id":null,"html_url":"https://github.com/Markeljan/stxgpt","commit_stats":null,"previous_names":["markeljan/smart-contract-gpt","markeljan/stxgpt"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Markeljan%2Fstxgpt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Markeljan%2Fstxgpt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Markeljan%2Fstxgpt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Markeljan%2Fstxgpt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Markeljan","download_url":"https://codeload.github.com/Markeljan/stxgpt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223906211,"owners_count":17223045,"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":["ai-bitcoin","bitcoin-ai","clarity","stacks","stacksjs","stx"],"created_at":"2024-08-02T02:00:47.594Z","updated_at":"2024-11-10T02:30:47.053Z","avatar_url":"https://github.com/Markeljan.png","language":"TypeScript","funding_links":[],"categories":["Clarity Resources"],"sub_categories":["Non-Fungible Tokens"],"readme":"# STX GPT\n\nWrite smart contracts in any programming language and deploy them to the Stacks blockchain.\n![chrome-capture-2023-9-3 (1)](https://github.com/Markeljan/stxgpt/assets/12901349/2157fb11-686c-4648-bcb5-6157b6cf8946)\n\n## Overview\n\nSTXGPT is a tool designed to assist developers in deploying Clarity smart contracts to the Stacks blockchain. It's especially useful for those familiar with languages like Solidity or those new to the Stacks ecosystem. The tool aids in converting syntax and bridging knowledge gaps, making the onboarding process for Stacks smart contract developers smoother.\n\n## Features\n\n- **Code Conversion**: Convert and adapt smart contract code with the help of our AI chatbot.\n- **Deployment Options**: Testnet only deployment for now.\n- **Sponsored Deployment**: Deploy without needing a wallet using our sponsored deployment option.\n- **REST API**: Use our publicly accessible API for deployments on testnet at `stxgpt.com`.\n\n## How It Works\n\nBuilt using Next.js, Vercel-AI, OpenAI, Stacks.js, and Clarinet, our chatbot is fine-tuned with SIP-009 smart contract examples. It guides users in writing and converting smart contract code. The Stacks JS library handles the deployment to the selected network.\n\n## Setup \u0026 Configuration\n\nTo get started, you'll need to create a `.env.local`\n\n```env.local\n# App URL example: https://stxgpt.com\nNEXT_PUBLIC_APP_URL=\n\n# OpenAI API Key\nOPENAI_API_KEY=\n\n# Stacks deployer private key\nDEPLOYER_PRIVATE_KEY=\n```\n\n## Challenges \u0026 Learnings\n\n- Block Times: Long block times on testnet posed a challenge. We recommend setting up a devnet for a more optimal experience.\n- Best Practices: Ensured up-to-date practices by incorporating SIP-009 examples from popular NFT contracts on Stacks.\n\n## Technologies Used\n\nClarity\nNext.js\nOpenAI\nReact\nStacks\nStacks.js\n\n## Links\n\n- [Hosted App](stxgpt.com)\n- [Bitcoin Olympics Hackathon submission](https://devpost.com/software/stxgpt)\n- [Hiro Explorer Deployments](https://explorer.hiro.so/address/ST35TFTK3KTSTM6ZXX8232SDYREJYGPQJ7SKPZN9X?chain=testnet)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMarkeljan%2Fstxgpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMarkeljan%2Fstxgpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMarkeljan%2Fstxgpt/lists"}