GithubHelp home page GithubHelp logo

dappcon's Introduction

Building Cross Chain DApps with Moonbeam @DappCon 2022

Banner Image

This guide contains all the links you'll need for the workshop. We won't assume any pre-existing account setup, so we will start from a blank slate.

Send a message to another chain with Axelar

In this demo, we will use Axelar's General message passing to call a contract on another chain. We will be mostly following the steps of this blog post guide, with the exception of the gas amounts, which have changed since the publish date.

To get started, first copy and paste the contents of SimpleGeneralMessage.sol into Remix.

The required gas amounts in WEI to send along with the message from Moonbase Alpha are the following:

  • Polygon Mumbai: 339003286300000000
  • Avalanche Fuji: 970363238301000000
  • Fantom Testnet: 553898649000000000
  • Ethereum Ropst: 16000000000000000000

Initial Setup

  1. Install MetaMask
  2. Add Moonbase Alpha Network to MetaMask
  3. Import ALICE Account into your MetaMask. This is a Shared Public Test Account that's already funded with plenty of testnet funds. Private Key: 0x28194e8ddb4a2f2b110ee69eaba1ee1f35e88da2222b5a7d6e3afa14cf7a3347

Remote Execution with XCM

Initial Setup

  1. Install MetaMask
  2. Add Moonbase Alpha Network to MetaMask
  3. Get funds from the faucet
  4. Swap some (not all) DEV tokens for xcUNITS

Calculating a Sovereign Address

Account Setup

Calculating the Derivative Account

Transfer

Using XCMTransactor.sol

dappcon's People

Contributors

themacexpert avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.