LogoLogo
  • DFK Developer Docs
  • Contracts
    • Exchanges
      • The Trader
      • The Bazaar
    • Sales & Rentals
      • Hero Auction
      • Hero Rental
      • Equipment Auction
      • Pet Auction
      • Land Auction
    • Summoning
      • Hero Summoning
        • Dark Summoning
      • Pet Hatching
    • Meditation Circle
    • Quests
      • Quest Core
      • Historical Contracts
        • Quest Core
        • Profession Quests
        • Training Quests
    • Void Hunts
    • Patrols
    • PVP Combat
    • Influence System
    • Gardens
      • Master Gardener
    • Jeweler 2.0
      • Power-Ups
      • Jeweler 1.0
    • Profiles
    • DFK Duel
      • Previous Seasons
      • Raffle Master
    • Events
      • Gen0 Reroll
      • Gene Reroll
      • Perilous Journey
    • Bridging
      • Hero Bridge (Synapse)
      • Hero Bridge (LayerZero)
      • Equipment Bridge (Synapse)
      • Equipment Bridge (LayerZero)
      • Item Bridge V2
        • Item Bridge V1 (Deprecated)
      • Gaia's Tear Bridge
    • Miscellaneous
      • Airdrops
      • Charity
      • Flag Storage
      • Gen0 Airdrop (Harmony)
      • Gen0 Sale (Harmony)
      • Graveyard
      • Locked Token Claim
      • Locked Token Raffle
      • Token Disburse
  • NFTs
    • Heroes
      • HeroV4 (Metis)
    • Equipment
      • Weapons
      • Armor
      • Accessories
      • Shared Equipment Mappings
      • CacheCore
      • Equipment Shop
      • Visage Shop
    • Pets
      • Pet Exchange
    • Lands
  • Tokens
    • Ecosystem Token
    • Power Tokens
    • Governance Tokens
    • Currencies
      • DFK Gold
      • Gaia's Tears
    • Inventory Items
    • Gold Crops
    • Combat Items
    • Miscellaneous Tokens
      • Collectible Items
      • Raffle Tickets
  • Crafting
    • Alchemist
    • Nutritionist
    • Stone Carver
    • Vendor (Item Gold Trader)
  • Collections
    • Runes
    • Pet Eggs
    • Pet Treats
    • Potions & Consumables
      • Item Consumer
      • Potion Migrator
    • Enhancement Stones
    • Attunement Crystals
      • Atonement Crystals
    • Pages of the Eternal Story
  • API
    • Community GraphQL API
      • Getting Started
      • Auctions
      • Bazaar
      • Heroes
      • Pets
      • Profiles
    • Hero Metadata & Image API
    • Pet Metadata & Image API
    • Token Supply API
  • Community Builders
    • Kingdom Building Program
    • Developer Resources
    • Community Projects
  • DFK CHain
    • Getting Started
    • Nodes & Validators
    • Bridged Tokens
    • Ecosystem Partners
      • Covalent API
      • SupraOracles Price Feeds
      • SupraOracles VRF
    • Miscellaneous Contracts
Powered by GitBook
On this page
  • Chain ID
  • Fees
  • Contract Addresses
  • Interfaces
  • ABIs
  1. Contracts
  2. Bridging

Hero Bridge (Synapse)

Chain ID

Hero Bridging is not available directly between Harmony and Kaia and must go through DFK Chain first. Any Heroes sent incorrectly may be permanently lost.

Hero Bridging back to Harmony is no longer available.

Use the following destination Chain IDs for the Hero Bridge:

  • Harmony: 1666600000

  • DFK Chain: 53935

  • Kaia: 8217

Fees

Bridging has a fee associated with each transaction. This fee must be included in the value field of the transaction. The fees for bridging Heroes are as follows:

  • Harmony to DFK Chain: 0.016 ONE

  • DFK Chain to Kaia: 0.105 JEWEL

  • Kaia to DFK Chain: 0.0063 KLAY

Contract Addresses

Name
Mainnet
Testnet

Harmony

0x573e407Be90a50EAbA28748cbb62Ff9d6038A3e9

0xe21a31315ddeA8200d73945AA06ACBb15DB92bFb

DFK Chain

0x739B1666c2956f601f095298132773074c3E184b

0xE7a90d1E7638A977fC8892896D81596E1694f3CF

Kaia

0xEE258eF5F4338B37E9BA9dE6a56382AdB32056E2

0x519cbdA25d7335DE1B32b6A7E662581baC6524A0

Interfaces

interface IHeroBridge {

    event HeroArrived(uint256 indexed heroId, uint256 arrivalChainId);
    event HeroSent(uint256 indexed heroId, uint256 arrivalChainId);
    
    function assistingAuction() view returns (address);
    function heroes() view returns (address);
    function sendHero(uint256 _heroId, uint256 _dstChainId) payable;

}

ABIs

PreviousBridgingNextHero Bridge (LayerZero)

Last updated 7 months ago

24KB
HeroBridgeUpgradeable.json