Kwil v2


Retrieving a Database ID (DBID)
The first step to using the Kwil SDK is to retrieve the DBID for the database you want to interact with. The DBID is a SHA-224 hash of the database owner's ethereum wallet address and the database name, prepended with an "x".
The DBID is used to identify databases on the Kwil network.
To retrieve the DBID for your desired database, call the .getDBID method.
const dbid = kwil.getDBID("0xOwner_address", "database_name")
// DBID = xSome_DBID