Can I swap an ERC-20 token with a Neo NEP5 token using a smart contract?

0 votes

I am trying to understand how to swap tokens between blockchains, if its possible.

I have a smart contract in ETH that issue a token (ABC) as ERC-20 token.

I have a smart contract in NEO that issue a token (ABC) as NEP5 token.

How can I consolidate them in one blockchain? (all in ETH or all in NEO?)

Jun 4, 2018 in Blockchain by Johnathon
• 9,090 points
102 views

1 answer to this question.

0 votes

Every Blockchain has a separate administration. So, it is not possible to swap tokens on-chain as you would need the first chain to rely on stuff that happens on another chain. To do it when really necessary, you would need a third party that guarantees that the exchange happens correctly.

Neo is unique in that it describes a mechanism in which off chain assets can be exchanged atomically, which is referred to in their whitepaper as "NeoX". Ontology is a collection of protocols of wich part is a implementation of the NeoX concept.

answered Jun 4, 2018 by Perry
• 17,090 points

Related Questions In Blockchain

+1 vote
2 answers

Can I include real world data in a smart contract? If so, how?

You cant access/embed real world data using ...READ MORE

answered Jul 17, 2018 in Blockchain by sapan
81 views
0 votes
1 answer
0 votes
2 answers

How do I interact with a smart contract on a private network through web3.js

I found a blog that explains how ...READ MORE

answered Aug 20, 2018 in Blockchain by slayer
• 29,240 points
439 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,810 points
188 views
0 votes
1 answer
0 votes
1 answer

How can I create a feeless ERC-20 token?

You can't have another address pay for ...READ MORE

answered Aug 6, 2018 in Blockchain by Perry
• 17,090 points
61 views
+1 vote
1 answer

How can nodes interact with a Smart Contract?

If you are using Remix IDE to ...READ MORE

answered Apr 27, 2018 in Blockchain by Perry
• 17,090 points
51 views