Kwil v2

Database Building

With the Kwil-JS SDK, you can build and deploy databases from Node.js and the browser,

DB Builder Setup

To start, create a new database by calling the DBBuilder method and passing in the new database name and the creator's wallet address. The creator should be the wallet that will be signing and submitting the database to the Kwil network
import { DBBuilder, Types } from "kwil"
let db = new DBBuilder("my_db", "0x12345ABCDE")