@wharfkit/starter
v1.1.3
Published
A starter kit for WharfKit packages
Downloads
9
Readme
Wharfkit Starter Kit
This is a starter kit that contains all the dependencies needed to build a Wharfkit application. It can be installed to have access to all the most relevant Wharfkit packages.
Installation
The @wharfkit/starter
package is distributed as a module on npm.
yarn add @wharfkit/starter
# or
npm install --save @wharfkit/starter
Usage
You can then import any of the main Wharfkit modules in your application:
import SessionKit from '@wharfkit/session';
import ContractKit from '@wharfkit/contract';
import AccountKit from '@wharfkit/account';
// or any other Wharfkit module
You can also import a pre-configured sessionKit
instance that is ready to use:
import { sessionKit } from '@wharfkit/starter';
await sessionKit.login();