Code Monkey home page Code Monkey logo

europa-origin-tokens's Introduction

Skale ecosystem

  1. Connect Skale chains to enable cross chain transfer : Use Skale Admin UI [https://github.com/skalenetwork/admin-ui]

Europa-Tokens

Origin Token Addresses

Approved L1 assets bridged to Europa: Origin token addresses:

  • DAI : 0xD05C4be5f3be302d376518c9492EC0147Fa5A718
  • USDT : 0x1c0491E3396AD6a35f061c62387a95d7218FC515
  • USDP : 0x73d22d8a2D1f59Bf5Bcf62cA382481a2073FAF58
  • USDC : 0x5F795bb52dAC3085f578f4877D450e2929D2F13d
  • WETH : 0xD2Aaa00700000000000000000000000000000000
  • WBTC : 0xcb011E86DF014a46F4e3AC3F3cbB114A4EB80870
  • SKL : 0xE0595a049d02b7674572b0d59cd4880Db60EDC50
  • RUBY : 0x2B4e4899b53E8b7958c4591a6d02f9C0b5c50F8f
  • HMT : 0xBE3530a3eDf9472693065041B8c9155C7FeCB8e5
  • PROSPECT : 0xA30cA600b8E722E2513B7738493F410a6Ae4a373
  • EXD : 0xCfEBA92BD362B2F76fC30a89C433DE50a1D62BcA

Wrapped Origin Token Addresses

The addresses below are required for s2s transfers

  • wDAI : 0x9E7563B0D51F9B6dFB1917F97D29D50804300d28
  • wUSDT : 0x42dDeBDa2195FaEDAEC1cf24c19B42da1c881feB
  • wUSDP : 0x91E87e460b19F7aD35e983b120bD4aAD5446d319
  • wUSDC : 0x1c566a47e1baC535Ca616373146e3BE024F88Aa4
  • WETH : 0xa5274efA35EbeFF47C1510529D9a8812F95F5735
  • wWBTC : 0x497C476bcABB2F7D50afF99ca3Ae9354451Ff7d0
  • wSKL : 0xD162bB5c75FE99144295b03510bAb2DF99617440
  • wRUBY : 0x31D3EDCfFd62C7350e02045ED39F0FE2D0598A86
  • wHMT : 0x06104018340BB547803F5410174d9B68475e6769
  • wPROSPECT : 0x96eB0c03D98214D4154c354b5b55FF7F6d94DFac
  • wEXD : 0x0B8FAa4373978E36E5F4a6e7041D4f08dD1CAB95

Dapp Chain Owners

If you would like to include any of the above assets on your Skale chain, please follow the instructions below. Approval is not required from the Europa DAO to bridge Europa Origin tokens to your Skale chain.

  • 1: use private key with CHAIN_CONNECTOR_ROLE to connect skale chains using method connectSchain with input elated-tan-skat on token linker contract 0xD2aAA00800000000000000000000000000000000 : predeployed across all Skale chains. Please check block explorer for successful tx.
  • 2: deploy skaleERC20 token with the same symbol as indicated above under the Origin Token Addresses, for thetoken name use the origin chain name aka Europa with the symbol ie: Europa USDP , and with the same decimals as indicated on Europa. After deployement, you should only refer to this token contract address as the target_token address.
  • 3: assign newly deployed token contract address MINTER_ROLE and BURNER_ROLE to the erc20 token manager contract 0xD2aAA00500000000000000000000000000000000 : predeployed across all skale chains, however please double check your erc20 token manager contract address by visiting the token linker contract on your block explorer and use method viewTokenManagers with input 1. Here is an example on Europa: blockexplorer
  • 4: use method addERC20TokenByOwner with input schain elated-tan-skat , Europa Wrapped-Origin token address, skaleERC20 deployed_contract_address on token manager contract. Please check block explorer for successful tx.

Transfer Origin tokens to Target chain

The final step is to transfer the Europa Wrapped-Origin token to your Skale chain

  • rpc: https://mainnet.skalenodes.com/v1/elated-tan-skat connect to the Europa chain
  • use any private key holding Europa assets.
  • 1: Transfer to target : erc20 token manager contract 0xD2aAA00500000000000000000000000000000000with method transferToSchainERC20 and input your Skale chain_name, Wrapped_Origin_Token_Address, and the amount. The token_address must match the Wrapped_Origin_Token_Address on Europa.

Transfer Target tokens to Origin chain

  • rpc: https://mainnet.skalenodes.com/v1/your-skale-chain-name connect to the Dapp chain
  • use any private key holding Dapp Chain assets.
  • 1: Transfer to origin : : erc20 token manager contract 0xD2aAA00500000000000000000000000000000000with method transferToSchainERC20 and input elated-tan-skat, Wrapped_Origin_token_address, and the amount. The token_address must match the Wrapped_Origin_Token_Address on Europa.

europa-origin-tokens's People

Contributors

rubyaquamarine avatar

Stargazers

Dmytro avatar

Watchers

Christine avatar Chadwick Strange avatar Artem Payvin avatar

Forkers

rubyaquamarine

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.