aviv-official / xvault-web

Web frontend for XVault
https://aviv-official.github.io/xvault-web/
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Migration of testing to Ropsten #8

Open sshelton76 opened 5 years ago

sshelton76 commented 5 years ago

There are not very many services running on the Rinkeby testnet. As a result, performing any integration testing with existing services is next to impossible. Therefore I will be migrating the entire stack to ropsten over the next few days.

You will see very little change as a result of it, most of the work is under the hood. But you will need to get some test ethers. https://faucet.ropsten.be/ seems to be a good source

sshelton76 commented 5 years ago

I will be launching all smart contracts onto ropsten for testing and then adding a network switch option into the UI to enable you to switch between the two networks. The reason for using ropsten is to test federation with shapeshift and changelly which will allow us to generate addresses on native chains to allow loading of the wallet. For example, to enable you to deposit BTC to a normal BTC address and seamlessly receive XBTC. I also plan to allow the opposite direction, i.e. send XBTC to a valid BTC address and they will receive BTC on the bitcoin network.

In order to prevent confusion, I will be relabeling XTokens in the UI. Ergo, our current BTC will become XBTC, our ETH contract will become XETH. But this is only in select areas of the UI. The idea is for people to be able to treat our contracts as though they were the thing they represent and then we handle all the heavy lifting. Meaning if you send ETH to someone who does not have XVault, it should unwind to on chain ETH at the destination address. If you send BTC to a BTC address, the BTC contract will unwind and gateway it onto the bitcoin network.

This is all a work in progress and trying to clarify these concepts in the UI is going to be a challenge.