HomeDocsDeveloper Hub

Developer Hub

Welcome to the MerchantPro developer integration guides. Build automated payroll solutions, coordinate multi-chain bridges, and execute sponsored transaction flows on Arc Network.

Quickstart: Settle a Batch Transfer under 5 Minutes

Install our package tools, configure local environments, and execute batch payroll requests.

Step 1: Install SDK dependencies

npm install ethers dotenv @circle-fin/user-controlled-wallets

Step 2: Configure Environment

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"

Step 3: Submit Gasless UserOperation

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);

Circle Wallet & SDK Integrations

MerchantPro coordinates treasury funds utilizing Circle wallet abstractions.

Modular Smart Accounts

Uses Circle Modular Wallet SDK to deploy deterministic P-256 validator smart contracts, allowing secure biometric touch signatures.

CCTP Bridge Adapters

Utilizes Bridge Kit and CCTP contracts to securely transfer stablecoins across EVM and Solana chains without liquidity pool exposure.

Arc L1 Chain Configurations

Connect your Web3 clients (wagmi, viem, ethers) to the Arc L1 test network.

Network Name:Arc Testnet
RPC Node URL:https://rpc.testnet.arc.network
Chain ID:5042002
Native Gas Token:USDC (6 decimals)
Block Explorer:testnet.arcscan.app

Was this page helpful?

Help us improve the developer experience at MerchantPro.