Package Exports
- @dappykit/sdk
- @dappykit/sdk/dist/index.browser.min.js
- @dappykit/sdk/dist/index.min.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@dappykit/sdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
DappyKit SDK
DappyKit is a TypeScript library for SocialFi apps, making it easy to join EVM-based blockchains such as Ethereum and Optimism. It stands out by allowing no-gas transactions, which makes using blockchains cheaper and easier.
DappyKit helps manage social connections and public data. With rollup gateways and ERC-4337, it's built to bring in up to 1 billion users at minimal cost.
Using
...
Installation
npm i @dappykit/sdk
Testing
Install SDK dependencies and run tests
npm ci
npm run test
Run tests in Optimism Sepolia
MNEMONIC='YOUR_MNEMONIC' EXPECTED_OWNER_ADDRESS='YOUR_OWNER_ADDRESS' EXPECTED_SMART_ACCOUNT_ADDRESS='YOUR_ACCOUNT_ADDRESS' npm test
MNEMONIC
is the mnemonic phrase from an Optimism Sepolia wallet with funds.
EXPECTED_OWNER_ADDRESS
is the expected address of the main wallet derived from MNEMONIC
.
EXPECTED_SMART_ACCOUNT_ADDRESS
is the expected address of the Smart Account, with EXPECTED_OWNER_ADDRESS
as its Externally Owned Account (EOA).