Skip to content

feat(market): run the Arbitrum One market on mainnet - #2

Merged
M0nsxx merged 1 commit into
mainfrom
feat/market-mainnet
Dec 1, 2026
Merged

M0nsxx merged 1 commit into
mainfrom
feat/market-mainnet

Conversation

@Eras256

@Eras256 Eras256 commented Dec 1, 2026

Copy link
Copy Markdown
Member

Switches the Arbitrum One x402 market from Sepolia to mainnet in fly.market.toml:

  • NIRIUM_NETWORK = "eip155:42161"
  • NIRIUM_EVM_PAYTO = the market-only payTo 0x5A654cC1a3edDaa0C5cD10438EA5Eb5B0E4f37d8. It is a public address and the server holds no key. Each sale is income for Nirium.
  • NIRIUM_MARKET_ALLOW_MAINNET = "1". The server refuses mainnet without it.

The comment above the env block says how to switch back to Sepolia.

Unchanged:

  • The Tier A block (geo.mjs): 451 for the policy's Tier A countries from the first request, with /health left open. This is the rule for every Nirium service, decided on 27 Nov.
  • The VM keeps 512 MB, which geoip-lite needs.
  • Price: $0.01 per query, PayAI settles.

Not deployed. After merge: create the Fly app, deploy, check that /v1/market answers 402 with this payTo and /health answers 200, and buy one query as a team selftest (with Giovanny's OK). Then add the market to the status page and to §7 of the restricted jurisdictions policy.

🤖 Generated with Claude Code

NIRIUM_NETWORK eip155:42161, the market-only payTo 0x5A654cC1..., NIRIUM_MARKET_ALLOW_MAINNET=1. Tier A block (geo.mjs) unchanged. Not deployed yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@M0nsxx M0nsxx left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI-assisted review (Claude)

Reviewed the diff: fly.market.toml only. The Arbitrum market switches to eip155:42161 with the market-only payTo 0x5A65...37d8 and NIRIUM_MARKET_ALLOW_MAINNET=1, which server.mjs requires before it will run on mainnet. The Tier A block and the 512 MB VM are unchanged. Not deployed. Approving.

@M0nsxx
M0nsxx merged commit eb4df9d into main Dec 1, 2026
3 checks passed
@Eras256
Eras256 deleted the feat/market-mainnet branch December 3, 2026 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants