Skip to content

A transpiler that convert your anchor programs idl to a prisma schema

Notifications You must be signed in to change notification settings

anoushk1234/anchor-prisma-transpiler

Repository files navigation

Sqlana ⚡️

Introduction

Let's say you wrote a solana program using anchor, now you want to build a dapp, you have two options either use an indexer and rely on your contract for data or have a database and api. Both approaches require a database schema~

Introducing Sqlana ⚡️

A transpiler for all our schemas.
Anchor program IDL -> Prisma Schema △
Anchor program IDL -> SQL Schema 💿
Anchor program IDL -> Graphql Schema 🕸

Currently this works with Prisma Schema but we want to add support for more.

Demo

Demo Video

Quickstart

  • yarn install
  • Add the idl json file in idl.json
  • yarn setup (only for first time otherwise yarn start)

Support this project on anoushk.sol or wagmi.bio/anoushk

About

A transpiler that convert your anchor programs idl to a prisma schema

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published