Skip to content

vsnation/beam_atomic_swaps_market_making

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Atomic Swap BEAM BTC LTC Quick Deploy Guide

Electrum BTC

Download electrum from https://electrum.org/#download

wget https://download.electrum.org/[VERSION]/[FILE_NAME] | tar -xvf

cd [ELECTRUM_FOLDER]

Restore wallet by seed

electrum restore "[SEED]"

Set settings to config file

vim ~/.electrum/config

Paste

{
    "config_version": 3,
    "rpcpassword": "PASSWORD",
    "rpchost": "0.0.0.0",
    "rpcport": 7777,
    "rpcuser": "user",
    "decimal_point": 8,
    "dynamic_fees": true,
    "fee_level": 4
}
Start Daemon

electrum daemon start

Load wallet

electrum daemon load_wallet

Stop Daemon

electrum daemon start

Set swap settings for BTC in beam cli wallet

This command should be used in your wallet dir. Use cd beam-wallet

./beam-wallet set_swap_settings --swap_coin=btc --swap_wallet_user=user --swap_wallet_pass=PASSWORD --swap_feerate=90000 --active_connection=electrum --electrum_seed="[SEED]" --electrum_addr=127.0.0.1:7777

Electrum LTC

Download electrum-ltc from https://electrum-ltc.org

wget https://electrum-ltc.org/download/Electrum-LTC-[VERSION] | tar -xvf

cd Electrum-LTC-[VERSION]

Restore wallet by seed

electrum-ltc restore "[SEED]"

Set settings to config file

vim ~/.electrum-ltc/config

Paste

{
    "config_version": 3,
    "rpcpassword": "PASSWORD",
    "rpchost": "0.0.0.0",
    "rpcport": 7778,
    "rpcuser": "user",
    "decimal_point": 8,
    "dynamic_fees": true,
    "fee_level": 4
}
Load wallet

electrum-ltc daemon load_wallet

Start Daemon

electrum-ltc daemon start

Stop Daemon

electrum-ltc daemon start

Set swap settings for LTC in beam cli wallet

This command should be used in your wallet dir. Use cd beam-wallet

./beam-wallet set_swap_settings --swap_coin=ltc --swap_wallet_user=user --swap_wallet_pass=PASSWORD --swap_feerate=90000 --active_connection=electrum --electrum_seed="[SEED]" --electrum_addr=127.0.0.1:7778

Releases

No releases published

Packages

No packages published

Languages