Home

Awesome

STX GPT

Write smart contracts in any programming language and deploy them to the Stacks blockchain. chrome-capture-2023-9-3 (1)

Overview

STXGPT 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.

Features

How It Works

Built 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.

Setup & Configuration

To get started, you'll need to create a .env.local

# App URL example: https://stxgpt.com
NEXT_PUBLIC_APP_URL=

# OpenAI API Key
OPENAI_API_KEY=

# Stacks deployer private key
DEPLOYER_PRIVATE_KEY=

Challenges & Learnings

Technologies Used

Clarity Next.js OpenAI React Stacks Stacks.js

Links