Skip to content

A Starknet-Agent-Kit template for documentation purposes.

Notifications You must be signed in to change notification settings

KasarLabs/sak-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


sak-template

NPM Version License GitHub Stars Node Version

A minimal template for using the Starknet Agent Kit

⚠️ Warning: This kit is currently under development. Use it at your own risk! Please be aware that sharing sensitive information such as private keys, personal data, or confidential details with AI models or tools carries inherent security risks. The contributors of this repository are not responsible for any loss, damage, or issues arising from its use.

Prerequisites

  • Node.js installed
  • Git installed
  • An AI model provider API key (Choose one from the list here)
  • A Starknet wallet private key
  • A Starknet RPC URL

Quick Start

  1. Clone the repository:
git clone https://github.com/kasarlabs/sak-template.git
cd sak-template
  1. Install dependencies:
npm install
  1. Create a .env file in the root directory with:
ANTHROPIC_API_KEY=your_anthropic_api_key
PRIVATE_KEY=your_wallet_private_key
PUBLIC_KEY=your_wallet_public_address
RPC_URL=your_starknet_rpc_url
AI_PROVIDER="your_ai_provider_name" 
AI_MODEL="your_model_name"
AI_PROVIDER_API_KEY="your_ai_provider_key"

Info: You can find all the providers and their model names here.

  1. Run the application:
npm run dev

The template includes a basic setup that queries your ETH balance. You can modify src/index.ts to implement other functionalities available in the Starknet Agent Kit.

Getting an Anthropic API Key

  1. Visit https://console.anthropic.com/
  2. Create an account
  3. Navigate to API Keys section
  4. Click "Create Key"

Support

Need help? Feel free to reach out to us on Telegram

About

A Starknet-Agent-Kit template for documentation purposes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published