index
AKASHA SDK is a modular set of utilities and apis that can be used to build your own app.
Namespaces
Namespace | Description |
---|---|
typings | - |
Interfaces
SDK_API
Properties
Property | Type |
---|---|
auth | AWF_Auth |
globalChannel | EventBus |
profile | AWF_Profile |
SDK_Services
Properties
Property | Type |
---|---|
appSettings | AppSettings |
ceramic | default |
common | object |
common.ipfs | AWF_IpfsConnector |
common.misc | AWF_Misc |
common.web3 | Web3Connector |
db | DB |
gql | Gql |
log | Logging |
settings | Settings |
stash | Stash |
Type Aliases
AWF_SDK
AWF_SDK:
object
Type declaration
Member | Type |
---|---|
api | SDK_API |
services | SDK_Services |
Source
Functions
getSDK()
getSDK():
AWF_SDK
Creates a new SDK instance or returns a previusly created one.
Returns
Example
import getSDK from '@akashaorg/awf-sdk';
const sdk = getSDK();
Source
init()
init():
AWF_SDK
Creates a new SDK instance.
Returns
Example
import {init} from '@akashaorg/awf-sdk';
const sdk = init();