XY Finance
  • Getting Started
  • XY Token
  • Supported Blockchains/Bridges/DEXs
  • Fee Structure
    • 🌉yBridge Fee Information
    • 🌉(Legacy) XY Bridge Fee Information
  • products
    • Bridge Aggregator : XY Finance
      • Gasless Transaction
    • Bridge : yBridge
      • Yield Farming
      • Omnichain Settlement
      • Consensus
    • Refuel
    • Proxy Bridge
    • Cross Chain Infrastructure
  • Bridge Aggregator Integration
    • XY Finance API (Multiple Bridges Aggregator)
      • 1️⃣Get Quote
      • 2️⃣Get Allowance
      • 3️⃣Build Approval Transaction
      • 4️⃣Build Swap Transaction
      • 5️⃣Get Cross-Chain Status
      • 6️⃣Get MinimumSwapAmount
      • ✔️Recommended Tokens
      • ✅Supported Blockchains/Bridges/DEXs
      • 📩Error Message
      • 💰Monetization / Take Fees
      • 📄Change Log
    • XY Finance Widget (iframe)
      • (Legacy) XY Finance Widget (iframe)
    • XY Finance Widget (NPM)
      • 1️⃣Install the Widget
      • 2️⃣Configure the Widget
      • 3️⃣Customize the Theme
      • 📘Widget API Reference
      • 📄Change Log
    • Custom-Built Link
    • Token Listing
  • Single Bridge Integration
    • yBridge API
      • 1️⃣Get Quote
      • 2️⃣Get Allowance
      • 3️⃣Build Approval Transaction
      • 4️⃣Build Swap Transaction
      • 5️⃣Get Cross-Chain Status
      • 🚰Get Pool Liquidity
      • 💲Get Fee Structure
      • ✔️Recommended Tokens
      • ✅Supported Blockchains
      • 📩Error Message
      • 📄Change Log
    • yBridge Contract Integration
      • Integrate YBridge Contract
        • Bridge Example
        • Latest Upgrade ( 2024/07/17 )
        • Migrate from V2 to V3
      • Integrate YBridgeVault Contract
        • Maximum Available Liquidity
        • Migrate from V2 to V3
      • (Legacy) Integrate X Swap Contract
        • (Legacy) Bridge Example
      • (Legacy) Integrate Y Pool Contract
        • (Legacy) Maximum Available Liquidity
    • xAsset Bridge
      • How to Develop Under XY Standards
        • Function Interface for Token Contract
      • How to Deposit / Withdraw Liquidity
        • Direct Contract Interaction
        • Through the Explorer
      • Set up Your Own Validator
  • SMART CONTRACT
    • Addresses
      • Ethereum (chain id : 1)
      • BNB Chain (chain id : 56)
      • Polygon (chain id : 137)
      • Cronos (chain id : 25)
      • Avalanche (chain id : 43144)
      • Kucoin Community Chain (chain id : 321)
      • Arbitrum (chain id : 42161)
      • Optimism (chain id : 10)
      • Astar (chain id : 592)
      • Kaia (chain id : 8217)
      • zkSync Era (chain id : 324)
      • Polygon zkEVM ( chainid : 1101)
      • Linea (chain id : 59144)
      • Base (chain id : 8453)
      • Mantle ( chain id : 5000)
      • Scroll (chain id : 534352 )
      • Blast (chain id : 81457)
      • X Layer (chain id : 196)
      • Taiko (chain id : 167000)
      • Cronos zkEVM (chain id : 388)
      • Abstract (chain id : 2741)
      • Berachain (chain id : 80094)
      • Numbers (chain id : 10507)
      • Treasury
      • (Suspended)Fantom
      • (Suspended)ThunderCore
      • (Suspended)Moonriver
    • Audit Reports
    • Privileged Roles Management
  • Document
    • Terms of Use
    • AML and CFT Compliance Statement
    • Integration Terms and Brand Guidelines
    • Product Update
  • FAQ
    • How to Speed up Pending Transactions
    • How to add a custom RPC to my wallet
  • Contact Us
    • Telegram
    • Medium
    • Twitter
    • Discord
Powered by GitBook
On this page

Was this helpful?

  1. Single Bridge Integration
  2. xAsset Bridge

Set up Your Own Validator

Explain how transaction verify by multiple validator

PreviousThrough the ExplorerNextAddresses

Last updated 1 year ago

Was this helpful?

The cross-chain transfer of tokens through the xAsset Bridge is efficient and highly secure. We have multiple validators to help confirm the correctness and security of transactions, ensuring that no malicious transactions or unexpected transactions occur. In addition, xAsset Bridge are compatible with the third parties register to be one of the validators to ensure sufficient decentralization.

Validator Registration

Step 1. Get latest validator server image

You can get latest image from

Step 2. Run validator server with specific environment variables

Server listen port: 8004

To run validator server properly, you must pass following environment variables when starting a container:

  • TOKEN_SYMBOL: The token you want to validate.

    Currently available symbols are:

    • XY

  • CC_VALIDATOR_KEY: Private keys of validator EOA wallet, will be used to sign validated transaction. For example:

    28f56a15aef9105893fae9f2af4d2386b0a549ebe297c00708c494f5d53871d0

Step 3. Expose server endpoint and verify

After server starts to run, the server endpoint needs to be exposed publicly in order to receive validate request. Make sure you can access /signatures/crossChainRequests from your server.

To verify server works properly, you may use following command for testing. If everything went good, it will return signatures of your validator.

curl -X GET "{your_server_domain}/signatures/crossChainRequests?srcChainId=1&requestId=88&destChainId=137&receiver=0x434d20f4286711530e945957f77384649c5301a7&amount=4141700000000000000000&fee=31002734678&txHash=0xfa287bb58af4b0c0e188abe4784a9e308e7b2302733ab7296f1bac5725a112fb"

Step 4. Fill registration form

We will add your server to our validator list after reviewed.

Finally, fill this to inform us about your validator server.

docker hub
form