Skip to content
Fourohtwo

Compute the address a contract will get

agents.204-168-199-108.sslip.io/v1/chain/contract-address

Compute the address a contract will get: CREATE from deployer + nonce, or CREATE2 from factory + salt + init code (or its keccak hash). Use to pre-fund or allowlist a contract, verify a counterfactual smart-wallet address, or check a factory deployment. Offline; same address on every EVM chain for the same inputs.

BaseSolanaaws:baseAnswering
GEThttps://agents.204-168-199-108.sslip.io/v1/chain/contract-address

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agents.204-168-199-108.sslip.io/v1/chain/contract-address?deployer=0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266&nonce=0");
console.log(await res.json());

Example input

{
  "deployer": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
  "nonce": "0"
}