Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proof of concept token exchange between Ropsten & Kovan #11

Open
HarryR opened this issue Jul 5, 2018 · 3 comments
Open

Proof of concept token exchange between Ropsten & Kovan #11

HarryR opened this issue Jul 5, 2018 · 3 comments
Labels
devops Development Operations enhancement New feature or request

Comments

@HarryR
Copy link
Owner

HarryR commented Jul 5, 2018

This project needs to demonstrate that the technology works on public chains to prove the viability of this project. But, in order to prove the viability there are some other things which need to be considered:

  • long-term running of the 'Link' contract, its reliability and dependable nature
  • ironing out 'real world' bugs, where blocks aren't 'insta-mined' as with testrpc and ganache-cli
  • provide on-chain contracts and client-side code that can be used by interested third parties
  • do something useful

I'm choosing Ropsten and Kovan as the starting points because the Ether is free.

@HarryR HarryR added enhancement New feature or request devops Development Operations labels Jul 5, 2018
@HarryR HarryR added this to the Initial Release milestone Jul 6, 2018
@HarryR
Copy link
Owner Author

HarryR commented Jul 9, 2018

So, this will depend on the ExampleSwap contract which performs an atomic swap between two parties on two different chains, mediated by the Lithium component and supplied proofs.

Alternatively I could bring back a separate Lock concept, which allows Ropsten Ether to be used in tokenized form on Kovan, and visa versa. e.g. you deposit Ropsten ether into a Lock contract, then supply proof of that to a RemoteEtherToken contract on Kovan which mints N tokens. After burning the tokens you can take the proof of burn back to Ropsten and supply proof to retrieve the equivalent ETH value.

May need to split this idea out into a separate ticket.

@HarryR
Copy link
Owner Author

HarryR commented Jul 10, 2018

The cross token (RemoteEtherToken) idea was proven in #17 and has been added to the end-to-end tests.

See:

The 'ExampleSwap' contract is still a work-in-progress / rough draft.

@HarryR
Copy link
Owner Author

HarryR commented Jul 11, 2018

Instead of the atomic swap contract (e.g. PvP) I will use extend the token proxy example to give tokenised Ropsten ether to a friend on Kovan.

The tokenproxy.py file will need to be extended to use multiple accounts, and to take parameters from the command-line.

Currently I'm annoyed with Truffle's inability to realistically deploy anything gracefully and without vomiting on its self, so I will need to either deploy the contracts by hand (via Parity UI) or via a non-shit deployment tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops Development Operations enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant