A TypeScript SDK for extending functionality of blockchain projects and providing dependencies for the AnyFlow CLI tool.
- Simple setup with a single function call
- Extensions for ethers.js v6
- Utilities for blockchain development
- Integration with AnyFlow CLI
npm install anyflow-sdk/**
* Basic usage example for AnyFlow SDK inside a hardhat project
*/
import { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";
import anyflow from 'anyflow-sdk';
anyflow.setup();
const config: HardhatUserConfig = {
solidity: "0.8.28",
};
export default anyflow.mergeHardhatConfig(config);Initializes the AnyFlow SDK with the provided options.
enableEthersExtensions(boolean): Enable extensions for ethers.js v6. Default:truelogLevel(string): Log level for SDK operations. Options: 'debug', 'info', 'warn', 'error', 'none'. Default:'info'cliConfig(object): Custom configuration for CLI integration. Default:{}
Contributing We welcome contributions to the AnyFlow SDK! Please see the CONTRIBUTING.md file for details on how to contribute.
This project is licensed under the ISC License.