Welcome to the MerchantPro developer integration guides. Build automated payroll solutions, coordinate multi-chain bridges, and execute sponsored transaction flows on Arc Network.
Install our package tools, configure local environments, and execute batch payroll requests.
npm install ethers dotenv @circle-fin/user-controlled-wallets
Configure your `.env.local` to point to the Arc Testnet and set up your Circle Developer Entity secrets.
# Arc L1 Testnet Configurations ARC_RPC_URL="https://rpc.testnet.arc.network" PAYMASTER_CONTRACT_ADDRESS="0xc8d9889a6b49e96951309fc0291e652d005be3f9" # Circle API credentials CIRCLE_API_KEY="TEST_API_KEY_..." CIRCLE_WALLET_SET_ID="2e31c6b8-080a-574c-9664-faf2f5ff3535"
Package employee transfers, request a sponsored paymaster signature, and submit to the bundler.
import { ethers } from 'ethers';
// package transfers
const userOp = await circleModularWallet.createUnsignedUserOp({
calls: [
{ to: "0xEmployeeA...", value: ethers.parseUnits("1500", 6), data: "0x" },
{ to: "0xEmployeeB...", value: ethers.parseUnits("2300", 6), data: "0x" }
]
});
// Request paymaster sponsorship signature
console.log("Requesting Gas sponsorship...");
const signedUserOp = await circlePaymaster.sponsorUserOperation(userOp);
const txHash = await circleBundler.submitUserOperation(signedUserOp);
console.log("Batch Payroll Executed! Tx Hash:", txHash);MerchantPro coordinates treasury funds utilizing Circle wallet abstractions.
Uses Circle Modular Wallet SDK to deploy deterministic P-256 validator smart contracts, allowing secure biometric touch signatures.
Utilizes Bridge Kit and CCTP contracts to securely transfer stablecoins across EVM and Solana chains without liquidity pool exposure.
Connect your Web3 clients (wagmi, viem, ethers) to the Arc L1 test network.
Help us improve the developer experience at MerchantPro.