Fabriq SDK
About
Installation
yarn add fabriq-sdkConfiguration
const walletClient = createWalletClient({
chain: hardhat,
transport: custom(window.ethereum)
});
const intentClient = new intentClient(walletClient, intentPoolURL);Core functionalities
intentClient.approvePermit2(tokenAddress: Address)
intentClient.submitIntent(
inputAddress: Address,
outputAddress: Address,
amount: bigint,
srcChainId: number,
dstChainId: number
);Functionalities
Supported Networks
Last updated