Pundi
Pundi AIPundi X
  • 🤖Pundi AI overview
  • 🈁Pundi AI Data Platform
    • Data stakeholders
    • Data Labelling
    • Pundi AI Data Platform (Alpha Testnet) - User Guide
    • FAQ
  • 🦾Pundi AIFX Omnilayer
    • Pundi AIFX
    • Installation Pundi AIFX
    • Setup Node
      • Full node with Binaries
      • Full node with Docker
      • Snapshot Guide
      • Node Monitoring Device
    • Validators
      • Validator Overview
      • Setting Up a Validator for Pundi AIFX
      • Validator Recovery
      • Validator FAQ
      • Validator Security Notice
      • Migration Best Practices
      • Transfer Validator Permissions
    • Delegators
      • Delegators FAQ
      • Delegator CLI Guide
      • Delegator Security Notice
    • Pundi AIFX Tutorials
      • Pundi AIFX CLI Commands
      • Cloud Setup
      • Testnet faucet
      • Ledger Integration for fxcored
      • Sentry Nodes
      • Account Migration Guide (CLI)
    • Upgrade Instructions
      • Cosmovisor Upgrade Guide v8.5.x
        • Cosmovisor Integration - Binaries
        • Cosmovisor Integration - Docker
      • Manual Upgrade Guide v8.5.x
        • Binaries - Upgrading Your Node
        • Docker - Upgrading Your Node
      • Upgrade Versions
        • v2.2.0 Upgrade Instructions
        • v3.1.0 Upgrade Instructions
        • v4.2.1 Upgrade Instructions
        • v5.0.0 Upgrade Instructions
      • Upgrade FAQ
    • Deploying on Pundi AIFX EVM
      • Products
      • MetaMask
        • Download and Install MetaMask
        • Add Network
        • Configure Custom Tokens
        • Create and Import Accounts
      • Connect Wallet to Dapps
        • Connect using MetaMask
        • Connect using Pundi Wallet (Wallet Connect)
      • With Remix
      • With Truffle
      • With Hardhat
      • Cross-Chain Bridges
        • Bridging Tokens from other networks
        • Pundi Gravity Bridge
    • DApps and Infra
      • Margin X Swap
      • Pundi Wallet
      • PundiScan
      • Baklava Space
      • Safe Multisig
      • PortfolioX
      • Token Factory
    • Developers
      • Pundi AIFX Network
      • Pundi AIFX Modules
      • Pundi AIFX JSON RPC
      • Pundi AIFX REST API
      • Web3 JSON RPC
        • JSON RPC Server
        • Namespaces
        • JSON RPC Methods
        • Events
      • Support Leap
      • Third Party Price Oracles
      • Contract Deployments
      • Pundi AIFX Cross Chain
        • sendToFx
        • f(x)Core
        • ibc
        • Target
      • Precompiled Contracts
        • CrossChain Precompiled
        • Staking-V2 Precompiled
      • Pundi AIFX SDKs
        • Python SDK
        • JavaScript SDK
      • Contract Monitoring
    • Pundi X Chain (under Pundi X)
      • Getting Started
        • Install Pundi X (PundiXChain)
        • Setup Node
          • Full node with Binaries
          • Full node with Docker
          • Snapshot Guide
          • Node Monitoring Device
          • Node Peers
      • Validators
        • Validator Overview
        • Setting Up a Validator for PundiXChain
        • Validator Recovery
        • Validator FAQ
        • Validator Security
        • Sentry Nodes
      • Delegators
        • Delegator FAQ
        • Delegator Overview
        • Delegator CLI Guide
      • Pundi X Tutorials
        • Pundi X CLI Guide
        • Ledger Integration for pundixd
        • Testnet Faucet
        • Cloud Setup
      • Upgrade Instructions
        • Cosmovisor Integration - Binaries
        • Cosmovisor Integration - Docker
        • Support keplr
      • Developers
        • Pundi X Network
        • Pundi X Protobuf
        • Pundi X gRPC & REST
        • Pundi X JSON RPC
        • Pundi X Cross Chain
          • ibc
  • 👛PURSE+
    • Purse Box
      • How many NFTs can I mint?
      • Minting (Etherscan)
      • Minting (Pursetoken.com)
    • PURSE+
      • Links
    • Bridging
      • BSC -> Ethereum
    • Protocols
      • LP Restaking Farms
        • How to Use Farms
        • Contract on BscScan
      • PURSE Staking
      • PURSE Staking Rewards
        • Campaigns
      • PURSE Retroactive Rewards
        • Campaigns
    • Contracts
      • Ethereum
      • Binance
      • Function X
    • IBC
      • PUNDIX Chain
    • PURSE Token
      • Background
      • ERC404 intro
      • Accounting of Balances
      • Minting PURSE NFT(s)
      • Transferring PURSE
      • Maintaining PURSE NFT(s)
      • NFTs in Queue
      • Token IDs
  • 🎡Pundi AI MM Agent
    • Why Market Making
    • Traditional MM vs. AMM
    • AI MM Agent: Bridging the Gap
    • Use Cases
    • Train & Launch (Step 1 & 2)
    • Flywheel (Step 3)
    • How the AI MM Agent Works in Detail
    • Why This is Powerful
  • 🛍️Pundi AI Data Marketplace (soon)
  • 🥇PUNDIAI Token Overview
    • Revenue generation flywheel
    • vePUNDIAI
      • how to bribe with vePUNDIAI
    • Protocol pool
  • Governance
    • Governance Proposal Information
      • EGF Info
      • EGF Grants Program
      • Application Template
      • Successful Grant Applicants
      • Launching an EGF Proposal
  • Links
Powered by GitBook
On this page
  • Target Rule
  • Empty
  • Prefix with ibc
  • Module Name
  • Target Support
  • sendToFx cross chain with Target
  • Pundi AIFX cross chain with Target
  1. Pundi AIFX Omnilayer
  2. Developers
  3. Pundi AIFX Cross Chain

Target

the target of the cross chain, such as eth, erc20, ibc/0/px etc.

target specifies the operation after the cross chain, such as converting to ERC20 token, cross chain to other cosmos chain through ibc, or cross chain to external chain through crosschain module.

Target Rule

Empty

if target is empty, the cross chain token will be only processed by the cross chain module, and stay on Pundi AIFX.

for example:

if user call ethereum bridge contract sendToFx method, the target is empty, the token will be transfer to address on Pundi AIFX

Prefix with ibc

if target is prefixed with ibc, the token will transfer to other cosmos chain through ibc module.

for example:

if user call ethereum bridge contract sendToFx method, the target is ibc/0/px, the token will be transfer to address on pundix chain

if user call Pundi AIFX CrossChain contract crossChain method, the target is ibc/0/px, the token will be transfer to address on pundix chain

Module Name

if target equals to module name, the token will process by the module, and send to external chain or convert to Pundi AIFX ERC20 token.

for example:

if user call ethereum bridge contract sendToFx method, the target is erc20, the token will be transfer to Pundi AIFX ERC20 token.

if user call Pundi AIFX CrossChain contract crossChain method, the target is eth, the token will be transfer to ethereum chain.

Target Support

  • "" means empty string

  • ❌ means not support

  • ... means more

  • - means no value

sendToFx cross chain with Target

external-chain
Pundi AIFX
pundix
Cosmos-Chain
Ethereum
BSC
External-Chain

Ethereum

erc20

ibc/0/px

ibc/{channel-id}/{address-prefix}

❌

❌

❌

BSC

erc20

ibc/0/px

ibc/{channel-id}/{address-prefix}

❌

❌

❌

Polygon

erc20

ibc/0/px

ibc/{channel-id}/{address-prefix}

❌

❌

❌

Tron

erc20

ibc/0/px

ibc/{channel-id}/{address-prefix}

❌

❌

❌

Avalanche

erc20

ibc/0/px

ibc/{channel-id}/{address-prefix}

❌

❌

❌

Arbitrum

erc20

ibc/0/px

ibc/{channel-id}/{address-prefix}

❌

❌

❌

Optimism

erc20

ibc/0/px

ibc/{channel-id}/{address-prefix}

❌

❌

❌

...

erc20

ibc/0/px

ibc/{channel-id}/{address-prefix}

❌

❌

❌

FX is the native token, when cross chain to fx-core, no need to convert to ERC20, so the target is "", if other token, need to convert to ERC20, so the target is erc20

Pundi AIFX cross chain with Target

Pundi AIFX
Ethereum
BSC
Polygon
Tron
Avalanche
Arbitrum
Optimism
External-Chain
Pundix
Cosmos-Chain

-

eth

bsc

polygon

tron

avalanche

arbitrum

optimism

{module-name}

ibc/0/px

ibc/{channel-id}/{address-prefix}

if cross chain to other cosmos-chain, need to specify channel-id and address-prefix in target, for example: cross chain to cosmos-hub, need to find the channel-id of cosmos-hub on Pundi AIFX, and the address-prefix of cosmos-hub, then fill in the target in the format of ibc/{channel-id}/{address-prefix}, if the channel-id of cosmos-hub on Pundi AIFX is channel-8, and the address-prefix is cosmos, then the target is ibc/8/cosmos

PreviousibcNextPrecompiled Contracts

Last updated 3 months ago

🦾