Skip to content

KFreakDJ/alienteleport

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alien Teleport

Contracts and tools to create a bridge between WAX tokens and an ERC-20 counterpart.

Contracts

There are contracts available for both EOSIO chains and Ethereum, both should be deployed on their respective chains.

Process

Transferring from EOSIO -> ETH requires depositing the tokens to the EOSIO contract with a standard transfer (no memo required), then teleporting the tokens using the teleport action.

Transferring from ETH -> EOSIO simply requires callint the teleport function on the Ethereum contract.

Oracles

Oracle accounts must be registered using the regoracle (EOSIO) or regOracle (Ethereum) functions.

Oracles can then call the received function on each contract when they see a transaction on the opposing chain.

Setup and running

  1. Copy config-example.js to config.js
  2. Change the configuration settings to match your tokens
  3. Start the oracle using the following command CONFIG=./[path/to/config] oracle-eos|eth.js

About

ETH/WAX token bridge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 37.1%
  • Vue 24.5%
  • SCSS 21.6%
  • Solidity 8.2%
  • C++ 7.0%
  • TypeScript 1.1%
  • HTML 0.5%