Posts

NewPac Setup Linux/ Raspberry Pi

Preparation, Package Dependencies, Configuration and Build for Raspbian – Kernel version: 4.4 (Debian 8.7.1) or higher of for Ubuntu 16.04.1 LTS or higher Preparation This installation guide describes setup, configuration and build based on a freshly installed Raspbian (Debian) or Ubuntu installation. You will need sudo rights. It’s not necessary to use root. First steps: update and upgrade of system and reqired packages: sudo apt-get update sudo apt-get upgrade -y sudo apt-get install -y build-essential git autoconf automake libtool pkg-config libcurl4-openssl-dev libudev-dev libusb-1.0-0-dev libncurses5-dev Now you can clone the GekkoScience CGMiner branch from GIT: mkdir -p mining/newpac; cd mining/newpac git clone https://github.com/vthoang/cgminer.git cd cgminer After successful cloning you can start to build CGMiner: CFLAGS="-O2" ./autogen.sh --enable-gekko make -j 2 The build command for Ubuntu 16.04.1 LTS (or higher) is slightly different: CFLAGS="-O2 -march=nati

How do I restore my wallet?

  Use the following instructions to restore a backup of your wallet. Note: replace “examplecoin” with the name of your coin. 1) Close your wallet. 2) Open the folder “%APPDATA%\dsfr\”. 3) Make an (extra) backup of the file “wallet.dat”. 4) Copy the file “wallet.dat” from your original backup to the folder “%APPDATA%\dsfr\”.

How do I import a private key?

  Use the following instructions to import the private key of an address in your wallet. 1) Open the console of your wallet. 2) Unlocking your wallet is only required when you encrypted your wallet with a password. Unlock your wallet using the following command: walletpassphrase yourpassword 60 Replace the text “yourpassword” with the password used to encrypt your wallet. The number 60 is the amount of seconds your wallet is unlocked. Example: walletpassphrase topsecretpassword 60 3) Import your private key using the following command: importprivkey yourprivatekey Replace the text “yourprivatekey” with your private key. Example: importprivkey VZt9WMWuJF5zbTCJSuX9cwZdtuMzPhz7EkAZUFBxsvak33wg8Kvr

How do I export a private key?

  Use the following instructions to export the private key of an address in your wallet. 1) Open the console of your wallet. 2) Unlocking your wallet is only required when you encrypted your wallet with a password. Unlock your wallet using the following command: walletpassphrase yourpassword 60 Replace the text “yourpassword” with the password used to encrypt your wallet. The number 60 is the amount of seconds your wallet is unlocked. Example: walletpassphrase topsecretpassword 60 3) Export your private key using the following command: dumpprivkey yourwalletaddress Replace the text “yourwalletaddress” with an actual wallet address. Example: dumpprivkey TQhPf7kn6mDvi7CQVqdktP4dBgqRkugu6s Example output: VZt9WMWuJF5zbTCJSuX9cwZdtuMzPhz7EkAZUFBxsvak33wg8Kvr

How do I backup my wallet?

  Use the following instructions to create a backup of your wallet. Note: replace “examplecoin” with the name of your coin. 1) Close your wallet. 2) Open the folder “%APPDATA%\dsfr\”. 3) Copy the file “wallet.dat” to a safe location.

How do I mine a block? (Scrypt/SHA-256/X11)

Image
  Use the following instructions to mine a block. Open your wallet, and make sure your wallet is connected with a node. Your wallet is connected when you see the icon   in the lower right corner of your wallet. The message “Syncing Headers (0,0%)” will disappear once you mine your first block. Note: replace “examplecoin” with the name of your coin. Close your wallet and create the file dsfr.conf in the folder “%APPDATA%\dsfr”. Paste the following text into dsfr.conf and save the file. rpcuser= rpc_examplecoin rpcpassword= pifw1fqxfkdd23n59rcr63sqrfiqkw184uxb0blo rpcallowip=127.0.0.1 listen=1 server=1 addnode=node1.localserver.com Open your wallet. Create a .bat file named mine.bat in the same folder where you extracted example-cli.exe and paste the following text into mine.bat. @echo off set path_cli=%cd% cd %path_cli% echo Press [CTRL+C] to stop mining. :begin  examplecoin-cli.exe generate 1 goto begin Save the file. Execute mine.bat to start mining your first block. It will take abou

How do I mine a block on Linux? (Scrypt/SHA-256/X11)

  Use the following instructions to mine a block on Ubuntu Server 18.04. Update your Ubuntu machine. sudo apt-get update sudo apt-get upgrade Install the required dependencies. sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils python3 libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libboost-all-dev libboost-program-options-dev sudo apt-get install libminiupnpc-dev libzmq3-dev libprotobuf-dev protobuf-compiler unzip software-properties-common Install Berkeley DB. sudo add-apt-repository ppa:bitcoin/bitcoin sudo apt-get update sudo apt-get install libdb4.8-dev libdb4.8++-dev Note: replace “examplecoin” with the name of your coin. Note: replace “6gs39011kick8xmqutpkrvi92xx5kwev4ykanlv1ls0ouuae5x” with the coinID of your coin. Download the daemon and tools from MyCoin.  (Available for a paid coin) wget "https://dl.walletbuilders.com/download?customer=6gs39011kick8xmq