UNPKG

@lit-protocol/vincent-scaffold-sdk

Version:

Shared build configuration and utilities for Vincent abilities and policies

48 lines (44 loc) 1.24 kB
import { yellowstoneConfig } from "./la-chain/yellowstone/yellowstoneConfig"; import { contractCall } from "./la-transactions/handlers/contractCall"; import { sponsoredGasContractCall } from "./la-transactions/handlers/sponsoredGas/sponsoredGasContractCall"; import { getAlchemyChainConfig } from "./la-helpers/getAlchemyChainConfig"; import { nativeSend } from "./la-transactions/handlers/nativeSend"; import { getNonce } from "./la-transactions/primitive/getNonce"; import { sendTx } from "./la-transactions/primitive/sendTx"; import { signTx } from "./la-transactions/primitive/signTx"; import { toEthAddress } from "./la-helpers/toEthAddress"; // Named exports for individual utilities export { yellowstoneConfig, contractCall, sponsoredGasContractCall, nativeSend, getNonce, sendTx, signTx, toEthAddress, }; // Organized exports under laUtils object export const laUtils = { chain: { yellowstoneConfig, }, transaction: { handler: { contractCall, sponsoredGasContractCall, nativeSend, }, primitive: { getNonce, sendTx, signTx, }, }, helpers: { toEthAddress, getAlchemyChainConfig, }, }; // Default export for convenience export default laUtils;