Giter Site home page Giter Site logo

teleporter-demo's Introduction

Teleporter Demo Project

This project demonstrates a basic example or teleporter implementation. It comes with 3 contracts and deployment scripts.

MyNft.sol - Simple ERC721 contract Staking.sol - Contract used to stake ERC721 tokens, this contarct sends the message Rewards.sol - Contract used to reward stakers on C-Chain, this receives the messsage

MyNft.sol and Staking.sol should be deployed on a subnet, preferrably Dispatch subnet. Dispatch subnet was created especially for teleporter, it contains the necessary contracts and registry deployed.

Rewards.sol has to be deployed on C-Chain on fuji network.

Staking.sol expects the address of MyNft.sol. After deploying Staking.sol, call setDestinationContractAddress() and pass the deployed address of Rewards.sol.

0x7fc93d85c6d62c5b2ac0b519c87010ea5294012d1e407030d6acd0021cac10d5 is the blockchain id of C-Chain on fuji network. 0x253b2784c75e510dD0fF1da844684a1aC0aa5fcf is the deployed address of ITeleporterMessenger on all chains and on all networks.

teleporter-demo's People

Contributors

vishalcs106 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.