Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@bytekode/intents

Bytekode-Labs7MIT0.1.4TypeScript support: included

Intents-SDK by Bytekode Labs

intents, intents-sdk, bytekode, bytekode-labs, web3, ethereum, ethers, smart accounts, smart contract wallets

readme

Intents - Bytekode Labs

Enable intents on your dapp/smart contract wallet/eoa with this easy to use sdk.

Follow the below steps:

  1. Install the sdk via npm/yarn/pnpm
pnpm install @bytekode/intents
  1. Import & Initialize the Intents class in your node.js file ` import { Intents } from '@bytekode/intents'

const intents = new Intents('test-api-key')


3. Pass in the following parameters, to receive a transaction object

const txObject = await intents.getTransaction(chainId, command, address_of_signer) ` We support all evm based chains.

We're still in beta. For any queries/integrations, reach out to me: shlok@bytekode.xyz