Search the Community
Showing results for tags 'atomic swaps'.
Found 3 results
How to compile carsen's fork of BEAM to test atomic swaps. Using a Ubuntu 20.04 Focal VM. sudo apt install qml-module-qtquick-controls2 libqt5svg5-dev libboost-all-dev libssl-dev qtdeclarative5-dev sudo apt install build-essential curl wget unzip zlib1g-dev apt-transport-https libdb++-dev libboost-all-dev libqrencode-dev libminiupnpc-dev libevent-dev libcurl4-openssl-dev libssl-dev libtool libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools qt5-default qtbase5-dev-tools qml-module-qtquick-controls2 libqt5svg5-dev qtdeclarative5-dev golang go-dep sudo apt-get install qml-module-qt* sudo apt install qml-module-qtquick-controls sudo apt install qml-module-qtquick-dialogs sudo apt-get install qt511quick* qt511graphicaleffects sudo snap install cmake git clone https://github.com/carsenk/beam Compile wallet cd ~/beam cmake -DCMAKE_BUILD_TYPE=Release . && make -j2 After compile go to directory and run QT wallet cd /beam/ui ./BeamWalletMasternet Setup the BEAM wallet with password and copy generated seed down. Go to the GEAR icon, then SWAP tab to setup Denarius Click on Electrum to turn that on and leave Select server automatically checkmarked. Then click Apply -> Connect -> Show wallet addresses You can now send Denarius in. From this point its unclear how to send out. Also unknown if the BIP39 seed phrase is correct, as it would be great if we could throw this Denarius generated seed phrase into Coinomi. I couldn't get this idea to work yet. After sending in, go to the ATOM Icon and see your Denarius ready to swap.
A quick how to guide for using Hyperdex to atomic Swap between Denarius and Bitcoin. Download Hyperdex https://github.com/lukechilds/hyperdex/releases During registration of your account, you will be asked to write the seed down and store safely. **STORE THIS SEED SAFELY!** After registering account you will end up at this screen. Now select Denarius and deposit DNR into the address shown. 3 small sends are encouraged from the next step. Click exchange and this window pops up. You want to send 3 small transactions. At the Exchange screen select Denarius and Bitcoin. In this example I am selling 1 DNR for 0.00040000 or 40k satoshis. In this example I only sent a single transaction of 10 DNR. I get the error message of not enough UTXO. I already sent 2 more transactions while doing this to show what happens if you don't send a few. Wait for your 3 transactions to fully send in and show up as your total DNR balance. Wait for a moment to see the order pop up on the DNR Sell Orders list. This current hyperdex release is still alpha so expect the unexpected. https://denarius.io/ - Homepage https://discord.gg/YMWMgZe - Discord Community Chat https://denarius.host/ - Masternode Stats http://denarius.win/ - Masternode ROI Stats https://denariustalk.org - Forums
So you want to try atomic swaps? Lets see if we can get you started on playing around with this on BarterDEX. Important, you will need 3 transaction because BarterDEX needs what are called 3 "UTXOs" "Unspent Transaction Outputs" that can be used essentially during the process of atomic swapping. This is noted later down the guide when you will be forced to do this. For stats go here https://dexstats.info/ First change your denarius.conf on your QT wallet. rpcuser=denariusrpc rpcpassword=somerandomlongpassword server=1 Now restart or open the QT wallet. Next go download the latest BarterDEX, as of this writing its version 0.8.10-Release Candidate https://github.com/KomodoPlatform/BarterDEX/releases Unzip to a folder and run BarterDEX.exe Generate a New Passphrase. KEEP THIS DO NOT LOSE IT, THIS IS BASICALLY YOUR PRIVATE KEY! Repeat the phrase and you will be starting BarterDEX Now click ADD COINS In the dropdown type denarius or find Denarius on the list, keep native mode to use your QT wallet as the server, and click enable. DNR is now on your list. Click receive to get your DNR address to send to, to get started trading! After you send, which basically adds an address to your QT wallet, so you own the private keys, click exchange. We want to enable KMD for playing around. So click Enable Electrum so we don't have to download the KMD blockchain. Now we can trade some DNR. I clicked sell DNR. On the Buyer side I clicked one which populates the the bottom left corner. I change to .5 under DNR SELL and click SELL. You might get asked to send some transactions. Earlier on BarterDEX says to send 3 transactions to get this going. Might have to wait for the full confirms to happen in the QT wallet. Good thing DNR confirms fast so we aren't waiting too long for this to happen. Once confirmed, click sell. Go to trade history at the top right and see what happened.