node

wallet

api

				
					wget https://github.com/BeamMW/beam/releases/download/beam-dappnet-7.1.12823/linux-beam-node-dappnet-7.1.12823.zip
				
			
				
					https://github.com/BeamMW/beam/releases/download/beam-dappnet-7.1.12823/linux-beam-wallet-cli-dappnet-7.1.12823.zip
				
			
				
					https://github.com/BeamMW/beam/releases/download/beam-dappnet-7.1.12823/linux-wallet-api-dappnet-7.1.12823.zip
				
			
				
					unzip linux-beam-node-dappnet-7.1.12823.zip
				
			
				
					unzip linux-beam-wallet-cli-dappnet-7.1.12823.zip
				
			
				
					unzip linux-wallet-api-dappnet-7.1.12823.zip
				
			
				
					tar -xvf beam-node-dappnet.tar
				
			
				
					tar -xvf beam-wallet-dappnet.tar
				
			
				
					tar -xvf wallet-api-dappnet.tar
				
			

save the long string of each

				
					./beam-wallet export_miner_key --subkey=1
./beam-wallet export_owner_key
				
			
				
					nano beam-node.cfg
				
			
				
					nano beam-wallet.cfg
				
			
				
					nano wallet-api.cfg
				
			

each .cfg file below and save.

				
					port=10127
mining_threads=1
peer=eu-node01.dappnet.beam.mw:8100,eu-node02.dappnet.beam.mw:8100,eu-node03.dappnet.beam.mw:8100
stratum_port=3333
stratum_secrets_path=.
owner_key=p2etc
miner_key=8
pass=pa$$
peers_persistent=1
				
			
				
					pass=pa$$
node_addr=127.0.0.1:10127
command=listen

				
			
				
					pass=pa$$
node_addr=127.0.0.1:8888
port=10001
use_http=1
enable_lelantus=1
enable_assets=1
enable_ipfs=true
use_tls=1

				
			
				
					./beam-wallet-dappnet init
				
			

save your private key (in form of 12 words)

make the first certificates for wallet

				
					openssl req -x509 -newkey rsa:4096 -keyout beam-stratum-key.pem -out beam-stratum-crt.pem -days 3650 -nodes -subj '/CN=localhost'
				
			
				
					mv beam-stratum-key.pem stratum.key
mv beam-stratum-crt.pem stratum.crt
				
			

.:.

then make the certificates for the wallet-api

				
					openssl req -x509 -newkey rsa:4096 -keyout beam-stratum-key.pem -out beam-stratum-crt.pem -days 3650 -nodes -subj '/CN=localhost'
				
			
				
					mv beam-stratum-key.pem wallet-api.key
mv beam-stratum-crt.pem wallet-api.crt
				
			
				
					pm2 start beam-node-dappnet
				
			
				
					pm2 start beam-wallet-dappnet
				
			
				
					pm2 start wallet-api-dappnet
				
			

some helpful commands

				
					./beam-wallet-dappnet info
./beam-wallet-dappnet --get_address
./beam-wallet-dappnet send -r 1addressB34M -a amount -f 1100000
pm2 restart 2 (or whichever is the wallet-api) from:
pm2 list
pm2 flush