Author

Topic: Quick guide to compile a wallet (Read 2203 times)

member
Activity: 588
Merit: 18
November 20, 2017, 12:24:19 PM
#7
Demand is very high in market and everyone need to protect his private key.
newbie
Activity: 28
Merit: 0
March 13, 2016, 12:39:51 AM
#6
Thanks for the information....

I am using ubuntu 14.04 and having problem with installation. Do you also have knowledge on installing it on 14.04?  

-------------------------------------------------------------

deploy@project1:~$ sudo apt-get -y install build-essential libboost-all-dev libcurl4-openssl-dev libdb5.1-dev libdb5.1++-dev
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Unable to locate package libboost-all-dev
E: Unable to locate package libdb5.1-dev
E: Couldn't find any package by regex 'libdb5.1-dev'
E: Unable to locate package libdb5.1++-dev
E: Couldn't find any package by regex 'libdb5.1++-dev'

--------------------------------------------------------------



You need the packages which are mentioned in the error before you can compile packages, if you're not familiar with linux, I'd say just install the pre compiled packages.

try sudo apt-get -f install

This command will dowload and install the missing dependencies




Million thanks~ Thanks to your tip I managed to complete
-------------------------------------------------------------------
sudo apt-get -y update

sudo apt-get -y install git

cd ~

sudo apt-get -y install build-essential libboost-all-dev libcurl4-openssl-dev libdb5.1-dev libdb5.1++-dev

sudo git clone git://github.com/litecoin-project/litecoin.git

cd litecoin/src
-------------------------------------------------------------------- However I am facing another problem below

deploy@0001:~/litecoin/src$ make -f makefile.unix litecoind
make: makefile.unix: No such file or directory
make: *** No rule to make target `makefile.unix'.  Stop.
deploy@0001:~/litecoin/src$ sudo make -f makefile.unix litecoind
make: makefile.unix: No such file or directory
make: *** No rule to make target `makefile.unix'.  Stop.
----------------------------------------------------------------------------
Could you please tell me what went wrong?

member
Activity: 112
Merit: 10
★YoBit.Net★ 350+ Coins Exchange & Dice
March 11, 2016, 03:58:09 AM
#5
Thanks for the information....

I am using ubuntu 14.04 and having problem with installation. Do you also have knowledge on installing it on 14.04?  

-------------------------------------------------------------

deploy@project1:~$ sudo apt-get -y install build-essential libboost-all-dev libcurl4-openssl-dev libdb5.1-dev libdb5.1++-dev
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Unable to locate package libboost-all-dev
E: Unable to locate package libdb5.1-dev
E: Couldn't find any package by regex 'libdb5.1-dev'
E: Unable to locate package libdb5.1++-dev
E: Couldn't find any package by regex 'libdb5.1++-dev'

--------------------------------------------------------------



You need the packages which are mentioned in the error before you can compile packages, if you're not familiar with linux, I'd say just install the pre compiled packages.

try sudo apt-get -f install

This command will dowload and install the missing dependencies

newbie
Activity: 28
Merit: 0
March 07, 2016, 11:40:25 AM
#4
Thanks for your advice...

I am really familiar with ubuntu as well as your solution. If possible, could you please help me with it? I have been working on it for more than two weeks...

It would be much appreciated if you can teach me with commands in detail...
hero member
Activity: 672
Merit: 502
March 07, 2016, 09:23:12 AM
#3
Thanks for the information....

I am using ubuntu 14.04 and having problem with installation. Do you also have knowledge on installing it on 14.04? 

-------------------------------------------------------------

deploy@project1:~$ sudo apt-get -y install build-essential libboost-all-dev libcurl4-openssl-dev libdb5.1-dev libdb5.1++-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libboost-all-dev
E: Unable to locate package libdb5.1-dev
E: Couldn't find any package by regex 'libdb5.1-dev'
E: Unable to locate package libdb5.1++-dev
E: Couldn't find any package by regex 'libdb5.1++-dev'

--------------------------------------------------------------



You need the packages which are mentioned in the error before you can compile packages, if you're not familiar with linux, I'd say just install the pre compiled packages.
newbie
Activity: 28
Merit: 0
March 07, 2016, 03:40:15 AM
#2
Thanks for the information....

I am using ubuntu 14.04 and having problem with installation. Do you also have knowledge on installing it on 14.04? 

-------------------------------------------------------------

deploy@project1:~$ sudo apt-get -y install build-essential libboost-all-dev libcurl4-openssl-dev libdb5.1-dev libdb5.1++-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libboost-all-dev
E: Unable to locate package libdb5.1-dev
E: Couldn't find any package by regex 'libdb5.1-dev'
E: Unable to locate package libdb5.1++-dev
E: Couldn't find any package by regex 'libdb5.1++-dev'

--------------------------------------------------------------

newbie
Activity: 27
Merit: 0
January 18, 2014, 05:57:53 PM
#1
Hello all,

I have been lurking here for a while, I am joining this forum because I decided to get more involved with the crypto-currency movement. It might be one of the biggest revloution that we will see in our lifetime.

I would like to offer something useful as my first post. A dozen of alternate cryptocurrencies pops up everyday. Some doesn't even come with a wallet. Here is a quick guide to compile your own wallet on Ubuntu, we will be using Litecoin as an example, but it would work with most other scrypt-based coin if you have the source files.

1.) OS Requirement

Make sure you have Ubuntu 12.04 or up (both Desktop and server version are fine, but you probably won't need this guide if you use the server version)

2.) Yes, we need to use Terminal =)

http://askubuntu.com/questions/38162/what-is-a-terminal-and-how-do-i-open-and-use-it

or

http://www.youtube.com/watch?v=7Kvgbu61jFg

3.) Compile the Litecoin Wallet

Type in or copy/paste all these commands in your terminal to compile litecoind, the Litecoin Daemon (If you are new to the terminal commands, just make sure you press enter after each line of command. The sudo commands will require your authentication)

=== Beginning of Commands ===

sudo apt-get -y update

sudo apt-get -y install git

cd ~

sudo apt-get -y install build-essential libboost-all-dev libcurl4-openssl-dev libdb5.1-dev libdb5.1++-dev

sudo git clone git://github.com/litecoin-project/litecoin.git

cd litecoin/src

sudo make -f makefile.unix USE_UPNP=-

sudo cp litecoind /usr/bin

litecoind

cd ~/.litecoin/

sudo touch litecoin.conf

sudo chown `whoami`:`whoami` litecoin.conf

sudo chmod 600 litecoin.conf

sudo echo 'server=1' >> litecoin.conf

sudo echo 'daemon=1' >> litecoin.conf

sudo echo 'rpcuser=username' >> litecoin.conf

sudo echo 'rpcpassword=password' >> litecoin.conf

sudo echo 'rpcport=9332' >> litecoin.conf

=== End of Commands ===

After the terminal executed all commands, you will see the output below:

server=1
daemon=1
rpcuser=username
rpcpassword=password
rpcport=9332

Feel free to change the rpcuser and rpcpassword here, but it doesn't really matter because litecoind will only listen to your localhost by default.

4.) Getting the Litecoin Receiving Address out of Litecoin Daemon (litecoind)

a.) First we want to make sure litecoind is running first:

=== Beginning of Commands ===

cd ~
litecoind

=== End of Commands ===

b.) Get your Litecoin Receiving Address:

=== Beginning of Commands ===

cd ~
litecoind listreceivedbyaddress 0 true

=== End of Commands ===

You might get a return of "error: couldn't connect to server", that is because your litecoind is not connected to the network yet. Wait for a couple Minutes and repeat the "litecoind listreceivedbyaddress 0 true" command above again you will eventually see something like:

// Keep in mind this is from my litecoind, your returned info will be different

{
    "address" : "Lg6k48xansEUEenA24Zr6Eiru5qLupWFVx",
    "account" : "",
    "amount" : 0.00000000,
    "confirmations" : 0,
    "txid" : [
    ]
}

Congrats! You can now receive Litecoin with your compiled wallet. In this case, Lg6k48xansEUEenA24Zr6Eiru5qLupWFVx is my first Litecoin receiving address.

IF you want to learn more about how to use litecoind (Litecoin Daemon), you should look at the Origina Bitcoin API call list:

https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list

Basically Litecoin and all other alt-coins follow that original Bitcoin API_calls_list

Hope this help someone out =)
Jump to: