The UI kit to allow dApps to connect to the Kibisis wallets.
...TBA.
Install using:
npm install @kibisis/connect-kitFirst you will need to initialize Kibisis connect kit:
import { KibisisConnect } from '@kibisis/connect-kit';
const kibisisConnect = await KibisisConnect.init({
genesisHash: '5pbhGq04byd0AgV/sbP+yITANqazgKBuaATr85n21wY=',
});
⚠️ NOTE: You MUST initialize Kibisis connect kit with a genesis hash for the desired network, but you can change this later.
Once you have successfully initialized the Kibisis connect kit, you can fetch the accounts using the connect() function.
import { KibisisConnect } from '@kibisis/connect-kit';
const accounts = await kibisisConnect.connect();Install the dependencies using:
pnpm install| Command | Description |
|---|---|
pnpm build |
Builds the package to the dist/. |
pnpm build:example |
Builds the example app to the .example/. |
pnpm check:types |
Checks the types. |
pnpm generate:env |
Copies the .env.example to a .env file. This command does not overwrite a previous .env file. |
pnpm lint |
Runs linting. |
pnpm prettier |
Runs prettier with the same configuration that is run on the pre-commit hooks. |
pnpm start:example |
Runs the example app at http://localhost:8080. |
pnpm test |
Runs the tests. |
Please read the Contributing Guide to learn about the development process.
Please refer to the COPYING file.