Bitcoin Forum
June 07, 2024, 11:03:21 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can i use something else or only bitcoin core full node ?  (Read 133 times)
hellossy (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 1


View Profile
November 10, 2020, 10:38:31 AM
Merited by ABCbits (1)
 #1

Hello everyone. I want use blockchain api for my web site. Create and issue a wallet to the user for replenishment, check transactions. I can do this task with bitcoin core, but bitcoin core want many disk space for install (150-200gb). Is there any alternative to the bitcoin core? In which I can create a wallet, bind it to a user and verify transactions. For example, can I use electrum? If so, is there an instruction on how it can be installed and RPC api.
mocacinno
Legendary
*
Offline Offline

Activity: 3416
Merit: 5008


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
November 10, 2020, 10:45:49 AM
 #2

Hello everyone. I want use blockchain api for my web site. Create and issue a wallet to the user for replenishment, check transactions. I can do this task with bitcoin core, but bitcoin core want many disk space for install (150-200gb). Is there any alternative to the bitcoin core? In which I can create a wallet, bind it to a user and verify transactions. For example, can I use electrum? If so, is there an instruction on how it can be installed and RPC api.

yup, you can use electrum..

You need to run electrum headless as a daemon... create a wallet, load your wallet

https://electrum.readthedocs.io/en/latest/merchant.html
https://electrum.readthedocs.io/en/latest/jsonrpc.html

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
hellossy (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 1


View Profile
November 10, 2020, 11:34:08 AM
 #3

can u give me info for install electrum from command line on ubuntu ?)  Grin
hellossy (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 1


View Profile
November 10, 2020, 11:44:44 AM
 #4

It's work for me
Install dependencies:   sudo apt-get install python3-pyqt5 libsecp256k1-0 python3-cryptography

Download package:   
wget https://download.electrum.org/4.0.4/Electrum-4.0.4.tar.gz

Verify signature:   
wget https://download.electrum.org/4.0.4/Electrum-4.0.4.tar.gz.asc
gpg --verify Electrum-4.0.4.tar.gz.asc

Install with PIP:   
sudo apt-get install python3-setuptools python3-pip
python3 -m pip install --user Electrum-4.0.4.tar.gz


when....

sudo ln -s ~/.local/bin/electrum /usr/local/bin/electrum


mocacinno
Legendary
*
Offline Offline

Activity: 3416
Merit: 5008


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
November 10, 2020, 11:45:27 AM
Merited by ABCbits (1)
 #5

can u give me info for install electrum from command line on ubuntu ?)  Grin

I've dug in my documentation... But tbh, this documentation was just for my personal use... I usually leave out all the steps i can figure out by myself, by reading the manual or by using the help functionality... So it is possible you'll have to test and read instead of just copy/pasting the following steps:

Basically, just follow the build instructions on: https://electrum.org/#download

Then run electrum  as a daemon:
Code:
electrum daemon -d

create a wallet:
Code:
electrum create

load the wallet:
Code:
electrum load_wallet

set the port
Code:
electrum setconfig rpcport 7777

get the authentication
Code:
electrum getconfig rpcuser
electrum getconfig rpcpassword

then, start messing with curl untill you've got your request figured out, and then implement it in whatever language you want...

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
hellossy (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 1


View Profile
November 10, 2020, 12:23:53 PM
 #6

Than you, i use this command for install.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!