Pages:
Author

Topic: FireFlyCoin Launched! - page 8. (Read 119272 times)

member
Activity: 108
Merit: 10
blockexp.info
May 08, 2015, 12:30:02 PM
mullick can you PM me? I have some questions on other coins

member
Activity: 108
Merit: 10
blockexp.info
May 08, 2015, 12:28:37 PM
ffc.blockexp.info
70.163.93.50

legendary
Activity: 1064
Merit: 1002
May 08, 2015, 04:31:56 AM
Any nodes out there? the explorers dns doesnt resolve to a peer ;(


My current peers  ...

fireflycoind getpeerinfo | grep addr
        "addr" : "37.187.99.136:5534",
        "addr" : "91.121.165.120:5534",
        "addr" : "72.46.152.250:5534",
        "addr" : "192.95.29.153:5534",
        "addr" : "199.68.197.33:5534",
        "addr" : "5.149.51.217:5534",
        "addr" : "94.23.32.109:5534",
        "addr" : "188.165.82.232:5534",


Thanks Smiley

Syncing now
hero member
Activity: 499
Merit: 500
May 07, 2015, 11:21:08 AM
Any nodes out there? the explorers dns doesnt resolve to a peer ;(


My current peers  ...

fireflycoind getpeerinfo | grep addr
        "addr" : "37.187.99.136:5534",
        "addr" : "91.121.165.120:5534",
        "addr" : "72.46.152.250:5534",
        "addr" : "192.95.29.153:5534",
        "addr" : "199.68.197.33:5534",
        "addr" : "5.149.51.217:5534",
        "addr" : "94.23.32.109:5534",
        "addr" : "188.165.82.232:5534",
legendary
Activity: 1064
Merit: 1002
May 07, 2015, 04:51:36 AM
Any nodes out there? the explorers dns doesnt resolve to a peer ;(
hero member
Activity: 499
Merit: 500
April 13, 2015, 10:16:28 PM
FireFlyCoin Explorer online at http://ffc.blockexp.info/


Thank you for that.  I've added it to the FFC pool.
member
Activity: 108
Merit: 10
blockexp.info
April 13, 2015, 07:30:25 PM
FireFlyCoin Explorer online at http://ffc.blockexp.info/


hero member
Activity: 499
Merit: 500
April 08, 2015, 12:31:12 AM
And here at ...

fireflycoind getinfo
{
    "version" : 90100,
    "protocolversion" : 70001,
    "walletversion" : 60000,
    "blocks" : 1152825,
    "timeoffset" : -2,
    "connections" : 8,
    "proxy" : "",
    "difficulty" : 42061.93146539,
    "testnet" : false,
    "keypoololdest" : 1426102358,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "errors" : ""
}
newbie
Activity: 27
Merit: 0
April 06, 2015, 04:15:08 PM
What block are we up to? I have 1134478 on the pools wallet right this moment, viewable at http://tompool.org:8080/ffcmine/public/index.php?page=statistics&action=pool

Worried the pool may have forked, tho the wallet has 14 connections...

Here's what I get from my Node's getmininginfo ouput



{
"blocks" : 1149210,
"currentblocksize" : 0,
"currentblocktx" : 0,
"difficulty" : 11477.77152432,
"errors" : "",
"generate" : false,
"genproclimit" : -1,
"hashespersec" : 0,
"pooledtx" : 0,
"testnet" : false
}
sr. member
Activity: 420
Merit: 250
March 31, 2015, 10:10:39 PM
What block are we up to? I have 1134478 on the pools wallet right this moment, viewable at http://tompool.org:8080/ffcmine/public/index.php?page=statistics&action=pool

Worried the pool may have forked, tho the wallet has 14 connections...
newbie
Activity: 27
Merit: 0
March 15, 2015, 11:23:53 AM
addnode=67.221.193.55
newbie
Activity: 8
Merit: 0
March 11, 2015, 10:18:21 AM

well thats not good for the coin at all......... Undecided


I got that corrected. Now the website is here:
http://www.fireflycoin.net


And there's a new coinpool for it at:
http://www.altcoinaltpool.net

You can add altcoinaltpool.net as a node if you need another node!

addnode=www.altcoinaltpool.net
full member
Activity: 168
Merit: 100
March 02, 2015, 08:10:17 PM
glad to see some definite steps forward, granted I started mining FFC based solely on my gravitational nerdiness to the syfy channel spinoff.  However over the past few months I have found myself mining quite a bit and more-so I must say I feel that even though I came around "late" in the crypto time frame of things, there is still alot going on with this coin.
hero member
Activity: 499
Merit: 500
February 28, 2015, 02:11:44 AM
No problem,  Your welcome.

The benefits of having a private pool = some connections to the network.  Smiley
sr. member
Activity: 1050
Merit: 377
February 27, 2015, 10:37:18 PM
Thanks much man!

I changed the .conf to:

addnode=151.229.177.76:5534
addnode=74.65.163.191:5534
addnode=71.103.145.178:5534
addnode=95.85.49.195:5534
addnode=91.121.165.120:5534
addnode=142.0.37.237:5534
addnode=199.68.197.33:5534
addnode=108.61.10.90:5534
addnode=72.46.152.250:5534
addnode=47.17.84.135:5534

and the QT connected.  Started at 82 wks behind and now less than 69.

Thanks again Smiley
hero member
Activity: 499
Merit: 500
February 27, 2015, 10:12:28 PM

Double check the ABE explorer values below, I never validated this install but this is what it shows....
Currency   Code   Block   Time   Started                   Age (days)                   Coins Created       Avg Coin Age      % CoinDD
fireflycoin   FFC   1068323   2015-02-27 04:22:27   2013-08-03   572.47   128177065.99999988   214.47   13.6229%


Some addnodes.....

fireflycoind getpeerinfo | grep addr
        "addr" : "71.103.145.178:5534",
        "addr" : "95.85.49.195:5534",
        "addr" : "91.121.165.120:5534",
        "addr" : "142.0.37.237:5534",
        "addr" : "199.68.197.33:5534",
        "addr" : "108.61.10.90:5534",
        "addr" : "72.46.152.250:5534",
        "addr" : "47.17.84.135:5534",
sr. member
Activity: 1050
Merit: 377
February 27, 2015, 09:54:32 PM
hello
please someone...
i need the windows wallet for Firefly coin...help me please...upload it somewhere online...
thanks and kind Regards

Only if you trust me ....

https://drive.google.com/file/d/0B1XWTNNbRnggb0JuRHVUazJtTHM/view?usp=sharing
Thanks for uploading that!  I'm trying to install and the wallet appears to initialize ok, but can't find any connections.  I tried adding a Fireflycoin.conf file with the earlier specified:

addnode Fireflycoin.com (tried .net as well)

But neither works.  Is there any other node list I can use?

Thanks!

PS. Just tried these from earlier in the thread, but same problem -- "No Block Source".

addnode=151.229.177.76:5534
addnode=74.65.163.191:5534

newbie
Activity: 8
Merit: 0
February 27, 2015, 06:16:39 AM
Find someone to add KGW to FFC and have them contact me.

I'm going to look into this if it isn't added already because we've already seen attacks occur on FFC.
I believe it can be done here: https://forum.megacoin.co.nz/index.php?topic=2791.0

And then it needs the following fix if it isn't being added already: https://bitcointalksearch.org/topic/regarding-auroracoin-tw-exploit-fix-included-552895

Ah, you are the original dev. Email me at [email protected].


I've registered Fireflycoin.net so we can get a homepage for the coin back online and I'm implementing a new pool. Right now it's just on my test system but all testing has gone well. Took me this whole week to research everything and figure it out.

I'll try to compile a block explorer for FFC later if possible from Bitcoin-abe's Github source files. I'll help out on development for free, I just want to see this coin succeed and be on the FFC team.

Read my earlier forum post to you when you get the chance: https://bitcointalksearch.org/topic/m.10595030
newbie
Activity: 8
Merit: 0
February 27, 2015, 06:00:43 AM
Quote
* This domain name (fireflycoin.com) without content is available for sale by its owner through Sedo's Domain Marketplace. Please note that all offer/counteroffer prices are inclusive of VAT (if applicable). No additional taxes and/or VAT will be added to the final price on completion of negotiation.

so ummmmmm yeah no wonder cryptsy is dragging their feet


I've registered Fireflycoin.net so we can get a homepage for the coin back online and I'm implementing a new pool.
Right now is just on my test system but all testing has gone well. Took me this whole week to research everything and figure it out.

Nothing is up on Fireflycoin.net yet either, but I'm going to mirror the old homepage and attempt to improve it.
I'd like to get some community help on getting Fireflycoin accepted at some vendors and retailers, especially online ones and try to use it to help the sci-fi community.

Anyway, please open up discussion. I'd love to see this thread more lively.
newbie
Activity: 8
Merit: 0
February 27, 2015, 05:54:27 AM
How many this coin already mined? Where i can find it

Can't answer your first question right now, but I'll try to compile a block explorer for FFC later if possible from Bitcoin-abe's Github source files. Going to pick up development on this coin as I'm able to help out the original Dev. Hopefully he sees this at some point and gets in touch.

I've also registered Fireflycoin.net so we can get a homepage for the coin back online and I'm implementing a new pool. Right now it's just on my test system but all testing has gone well. Took me this whole week to research everything and figure it out.


THERE'S A FFC WALLET FILE IN THIS POST FOR YOU AND A PROCESS TO COMPILE SOURCE CODE FOR PRACTICALLY ANY WALLET IF YOU WANT TO DO IT YOURSELF!

If you would like to donate coins for this edited process, wallet file, and dependencies I will also use these funds with the developer.
BTC 1Fh4tV2FLWndRVZsRTDK1LRpPrz5rUbA5o
FFC FiEPAfU5XCGqARYVccCfkahXXFP3eUshHc


To the forum users looking to compile the Fireflycoin wallet, the source files are on GitHub and I've included a compile process below:
https://github.com/FireFlyCoin/FireFlyCoin

I've also included a link to the Firefly Wallet on dropbox for those who would rather download it without compiling:
https://dl.dropboxusercontent.com/u/69963747/Fireflycoin.7z

Heres a link to all of the completed dependency files in case you want to download them to speed up the process a bit:
You'll still have to install programs listed in Section I, you just won't need the "Download|Extract|Build" steps.
https://dl.dropboxusercontent.com/u/69963747/deps.7z
NOTES: This needs to be extracted on the C:\ drive. Copy it there, right-click the file, and select "Extract Here" in the 7-zip menu.
       (You might need to install 7-zip from Section I first.)


You can likely use this process (I didn't write the original but I've edited it to be clear/concise/concrete) to compile the wallet:
[Credit to: cinnamon-carter (developer of cinnamoncoin) & Shak3zulas (original coin making guide) & Nitrogenetics.]
[Original post: https://cryptocointalk.com/topic/13204-how-to-build-a-windows-qt-wallet-for-any-coin-yourself-from-source-code-step-by-step-instructions/]

Original Author's Donation Links:
Bitcoin 17pwTLgVhFsozanJDwDShnc4DJEP8yTMrW
Litecoin LNPhM5ggB1nxU2yFaN4rM57go14DLWLZxm
PPC PTQMj25TnycmwbiNNv5h21RCCBAA9U2Y3u
NameCoin NBNVjEYbuftJZWkgz52vhnfYfe8VKwEiEQ
i0 Coin jYwjs5b9nK4ZzNGJSeSjKnmMpYU1ijtPGK
iX coin xnmyQQbveWtk3xnQzchSjKVyG78jL1zePn
RieCoin RAfSoDfA8ERc47yJiaz6bVRokU2ziPdcu7


THE PROCESS:

How to build a Qt Wallet on Windows (and for Windows) From GitHub Source Code
NOTICE: Be careful! Source code can have payloads or viruses and you should never install a compiled QT Wallet on any of your main machines.
USE A TEST MACHINE that you can easily clean install if necessary. Better yet, keep an image of it in a working state so it can be easily reimaged.


Section I - Preparing Your Build System

TOOLS (Download these and install them first)
Notes: a) If you have a 64 bit system install 64 bit versions (You can install 32-bit as well,
          but you NEED the 64 bit ones if you have 64-bit!) Otherwise install 32-bit versions.
       b) Use the most current version unless stated differently.
       c) When installing some programs it will ask if you want to 'add to path' always answer yes.

1) Install 7z for Windows: http://www.7-zip.org/download.html

2) Install Perl for Windows: http://www.activestate.com/activeperl/downloads

3) Install Python 2 & 3: https://www.python.org/downloads/

4) Install Notepad++: http://notepad-plus-plus.org/download

5) Install MinGW 4.6.2: https://drive.google.com/file/d/0B-eDDHZG3n6dMV9mVU9FLTRLbmM/edit?usp=sharing
  a) Check the option to use preloaded repository catalogs.
  b) On the components page select all and next,then click install.
  NOTES: You might have better luck with the newest version of MinGW instead of this older version now that coin
         wallets have newer code:
    http://sourceforge.net/projects/mingw/files/latest/download?source=files
    If you choose this route: It takes forever, but make sure to select all the packages.

6)Install Mingw gcc: https://drive.google.com/file/d/0B-eDDHZG3n6dZ2szUHJrd2VlSDg/edit?usp=sharing
  a) Unzip this file using 7-zip.
  b) Rename the folder from mingw to mingw32.
  c) Copy the foler to the mingw folder which was installed in Step 4. (If you didn't change it the path will be C:\MinGW)

7) Start the msys.bat linux shell: (This opens up a 'shell' of what is basically a linux prompt you can use in windows.)
  a) Open or access the folder C:\mingw\Msys\1.0.
  b) Double click on msys.bat
  c) When it opens up right click on the top by the MINGW32~ select properties and check 'quick edit mode'.
     (Enables copying text outside of the command prompt and then pasting it into the linux shell with a right-click.)
     [WHICH WE WILL BE DOING A LOT IN A BIT...]

Cool Create a dependencies directory: (This will hold all of the required programs and libraries for compiling QT source code.)
  a) Browse to C:\
  b) Create a new folder called 'deps'. (without the quotes all lower case)

9) Download OpenSSL: http://ftp://ftp.openssl.org/source/old/1.0.1/openssl-1.0.1j.tar.gz
  a) Copy this file to the C:\deps folder.
     NOTES: You may want a newer version of OpenSSL as the one referenced from the older version of this article is retired.
  b) If you want a newer version: http://ftp://ftp.openssl.org/source/openssl-1.0.2.tar.gz

10) Extract|Build OpenSSL: Only do EITHER a) OR b). (I'm giving the commands for whichever version of OpenSSL you end up choosing.)
  a) FOR OLDER OpenSSL: In the shell you opened in step 5 above copy and paste the following commands one at a time and hit
     enter and wait until completion after each.
cd /c/deps/
tar xvfz openssl-1.0.1j.tar.gz
cd openssl-1.0.1j
Configure no-shared no-dso mingw
make

  b) FOR NEWER OpenSSL: In the shell you opened in step 5 above copy and paste the following commands one at a time and hit
     enter and wait until completion after each.
cd /c/deps/
tar xvfz openssl-1.0.2.tar.gz
cd openssl-1.0.2
Configure no-shared no-dso mingw
make

11) Download|Extract|Build Berkeley DB: (You likely want the newer version from substep b)
    http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz

  a) Copy this file to the C:\deps folder
     NOTES: You may want a newer version of Berkeley DB as the one referenced in the older version of this article caused some
            newer QTs not to start once compiled.
  b) If you want the newer version (You probably do...): http://download.oracle.com/berkeley-db/db-5.1.29.NC.tar.gz
 
  a2) FOR OLDER Berkeley DB: In the shell you opened in step 5 above copy and paste the following commands one at a time and hit
      enter and wait until completion after each.
cd /c/deps/
tar xvfz db-4.8.30.NC.tar.gz
cd db-4.8.30.NC/build_unix
../dist/configure --enable-mingw --enable-cxx --disable-shared --disable-replication

STOP HERE AND DO THE FOLLOWING BEFORE ENTERING THE LAST COMMAND.
    i. Open Notepad++.
    ii. Open the following file C:\Deps\db-4.8.30.NC\build_unix\db.h
    iii. Use CTRL+F to open the Find feature.
    iv. Type in the following in the Find window and search for it: typedef pthread_t db_threadid_t;
    v. Change that line (Line 113 in 32-bit, Line 116 in 64-bit) to: typedef u_int32_t db_threadid_t;
    vi. OK, NOW YOU CAN CLICK BACK TO THE Linux Shell from step 5 and enter the following, then press Enter and wait:
make

  b2) FOR NEWER Berkeley DB: In the shell you opened in step 5 above copy and paste the following commands one at a time and hit
      enter and wait until completion after each.
cd /c/deps/
tar xvfz db-5.1.29.NC.tar.gz
cd db-5.1.29.NC/build_unix
../dist/configure --enable-mingw --enable-cxx --disable-shared --disable-replication

STOP HERE AND DO THE FOLLOWING BEFORE ENTERING THE LAST COMMAND.
    i. Open Notepad++.
    ii. Open the following file C:\Deps\db-5.1.29.NC\build_unix\db.h.
    iii. Use CTRL+F to open the Find feature.
    iv. Type in the following in the Find window and search for it: typedef pthread_t db_threadid_t;
    v. Change that line (Line 113 in 32-bit, Line 116 in 64-bit) to: typedef u_int32_t db_threadid_t;
    vi. OK, NOW YOU CAN CLICK BACK TO THE Linux Shell from step 5 and enter the following, then press Enter and wait:
make

12) Download|Extract|Build boost: http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.7z/download
  a) Create the folder C:\deps\boost_1_55_0
  b) Unzip the contents of boost_1_55_0 and copy all of those files to C:\deps\boost_1_55_0.
     NOTES: The newest version of boost is currently boost_1_57_0 and by editing these steps slightly
            (like in Steps 10&11) you can use that version instead: http://sourceforge.net/projects/boost/files/boost/1.57.0/
  d) Open a Windows command line.
    i. For windows 7 click on the start button, type cmd into Search, then right-click the cmd.exe entry at the top of
       the Start Menu and left-click "Run as Administrator".
    ii. In windows 8: hold x and the windows key, then left-click on command prompt.
  e) Copy and paste the following commands one at a time and hit enter and wait until completion after each.
cd C:\deps\boost_1_55_0\
bootstrap.bat mingw
b2 --build-type=complete --with-chrono --with-filesystem --with-program_options --with-system --with-thread toolset=gcc variant=release link=static threading=multi runtime-link=static stage

    NOTES: Windows 7 users may experience some issues in this step.
           For boost versions 1.55 and earlier the following alternative build method can be used:
           http://petrkout.com/windows-2/compile-c-boost-libraries-in-windows-7-using-mingw32-and-masm32/
           IF YOU ARE STILL EXPERIENCING ISSUES AFTER TRYING ALTERNATIVE METHOD, see Section iv of this article.

13) Download|Extract|Build Miniupnpc: http://miniupnp.free.fr/files/download.php?file=miniupnpc-1.9.tar.gz
  a) Copy this file to C:\deps\
  b) In the shell you opened in step 5 above copy and paste the following commands one at a time and hit enter
     and wait until completion after each:
cd /c/deps/
tar xvfz miniupnpc-1.9.tar.gz

  c) Rename the extracted folder from miniupnpc-1.9 to miniupnpc
  d) Click back to the Windows command prompt opened in Step 12.
  e) Copy and paste the following commands one at a time and hit enter and wait until completion after each:
cd C:\deps\miniupnpc..mingw32-make -f Makefile.mingw init upnpc-static

14) Install Qt-MinGW32 4.8.5: http://download.qt-project.org/archive/qt/4.8/4.8.5/ (Third one down called qt-win-opensource-4.8.5-mingw.exe)
  a) Download and run it.
  b) When it asks where your mingw folder is tell it c:\mingw
  c) After this is installed open the Qt Command Prompt: Start>All Programs>Qt by Digia v4.8.5 (MinGW OpenSource)>Qt 4.8.5 Command Prompt
     NOTES BEFORE STEP 15: Some older versions of coins or clones may not have leveldb and you can skip this step.
                           If there is a file inside your [coinSourceFilesFromGitHub]/src folder called 'leveldb' you cannot skip the step.
                           If leveldb directory/file is not there skip it.

15) Compile leveldb
  a) Go back to our msys linux shell (opened in Step 5...) and copy and paste the following:
cd /C/photon/src/leveldb
TARGET_OS=NATIVE_WINDOWS make libleveldb.a libmemenv.a

(Now the fun begins your build system is ready! See section IV if you had problems.
Everything above only has to be done once (normally) NOT every time you build a wallet! [Unless the dependencies are different])



Secion II - Basic Compile
ABOUT THIS SECTION: If you chose to download the newer version of MinGW earlier in this guide or if you chose to download a newer
version of boost, the boost library file names will need to be properly defined in the [coinSourceFiles]/[examplecoinname]-qt.pro
file before a compile will complete properly.

1) Download your desired coin's wallet source code from GitHub by clicking 'download zip' on its GitHub page

2) Place the file on the C:\ drive and extract the 7-zip archive.

3) Use Notepad++ to open the .pro file.

4) Copy the following into the appropriate area of the .pro file. (Near the top, it will look very similar.)

windows:LIBS += -lshlwapi
LIBS += $$join(BOOST_LIB_PATH,,-L,) $$join(BDB_LIB_PATH,,-L,) $$join(OPENSSL_LIB_PATH,,-L,) $$join(QRENCODE_LIB_PATH,,-L,)
LIBS += -lssl -lcrypto -ldb_cxx$$BDB_LIB_SUFFIX
windows:LIBS += -lws2_32 -lole32 -loleaut32 -luuid -lgdi32
LIBS += -lboost_system-mgw46-mt-d-1_55 -lboost_filesystem-mgw46-mt-d-1_55 -lboost_program_options-mgw46-mt-d-1_55 -lboost_thread-mgw46-mt-d-1_55
BOOST_LIB_SUFFIX=-mgw46-mt-d-1_55
BOOST_INCLUDE_PATH=C:/deps/boost_1_55_0
BOOST_LIB_PATH=C:/deps/boost_1_55_0/stage/lib
BDB_INCLUDE_PATH=C:/deps/db-5.1.29.NC/build_unix
BDB_LIB_PATH=C:/deps/db-5.1.29.NC/build_unix
OPENSSL_INCLUDE_PATH=C:/deps/openssl-1.0.1j/include
OPENSSL_LIB_PATH=C:/deps/openssl-1.0.1j
MINIUPNPC_LIB_SUFFIX=-miniupnpc
MINIUPNPC_INCLUDE_PATH=C:/deps/miniupnpc
MINIUPNPC_LIB_PATH=C:/deps/miniupnpc
QRENCODE_INCLUDE_PATH=C:/deps/qrencode-3.4.4
QRENCODE_LIB_PATH=C:/deps/qrencode-3.4.4/.libs
LIBPNG_INCLUDE_PATH=C:/deps/libpng-1.6.14
#QRENCODE_LIB_PATH=C:/deps/qr/.libs

5) In the qt command line prompt you opened in step 12 copy and past the following commands:
cd c:\photon
qmake "USE_UPNP=1" photon-qt.pro
make -f Makefile.Release

6) After it is finished (which can take several minutes) the wallet will be in the Release folder inside the source code.

7) Copy this file to...
  a) 32-bit system: C:\Program Files\[Coinnamehere]\
  b) 64-bit system: C:\Program Files (x86)\[Coinnamehere]\

Cool You will need several dynamic link library (.dll) files:
  https://drive.google.com/file/d/0B-eDDHZG3n6dNnlVeXNZdXkxUEE/edit?usp=sharing
 
  a) Extract these files in the same folder that you copied the wallet file to.    i. 32-bit system: C:\Program Files\[Coinnamehere]\
    ii. 64-bit system: C:\Program Files (x86)\[Coinnamehere]\

9) Doubleclick the coinname-qt.exe to start it.


Congratulations on compiling your first coin wallet. If you had problems or got stuck see section IV.



Section III: Extras- Static Wallet|QR Code Support
(You can skip this part of the guide but here I will cover a few ways to do a little bit more.)
NOTES: Additional Download|Extract|Build steps in this section are not yet included in the deps folder I provided.

Static Wallet (Does not need those dll files in it's folder to run)

1) Open your coinname-qt.pro file in Notepad++.

2) On line 10 add this: CONFIG += static

3) Search for this line: win32:QMAKE_LFLAGS *= -Wl,--large-address-aware (Use CRTL+F)

4) Change it to: win32:QMAKE_LFLAGS *= -Wl,--large-address-aware -static

5) Save your .pro file.

6) Download|Extract|Build: qt-everywhere-opensource-src-4.8.5.zip
  a) Download: http://download.qt-p...ve/qt/4.8/4.8.5
  b) Extract to C:\Qt\485 (Create the folder if it doesn't exist)
  c) Open a Windows command prompt and type:
cd C:\Qt\485

configure -release -opensource -confirm-license -static -no-sql-sqlite -no-qt3support -no-opengl -qt-zlib -no-gif -qt-libpng -qt-libmng -no-libtiff -qt-libjpeg -no-dsp -no-vcproj -no-openssl -no-dbus -no-phonon -no-phonon-backend -no-multimedia -no-audio-backend -no-webkit -no-script -no-scripttools -no-declarative -no-declarative-debug -no-style-plastique -no-style-cleanlooks -no-style-motif -no-style-cde -nomake demos -nomake examples

mingw32-make

7) Wait until this completes...

Cool Delete everything in C:\[coinsourcefiles]\build

9) Delete the following 5 files if they exist in your [coinsourcefiles] folder:
Makefile
Makefile.Debug
Makefile.Release
object_script.[coinname-qt].Debug
object_script.[coinname].qt.Release

10) From a Windows command prompt type the following (EDIT THIS WITH THE PROPER COIN INFO):
set PATH=%PATH%;C:\Qt\485\bin
cd C:\[coinsourcefiles]\
qmake "USE_UPNP=1" [coinname]-qt.pro
mingw32-make -f Makefile.Release

11) Your newly compiled "Static" wallet will be in the Release folder.



QR Code Support: (qrencode & libpng)
Note: Most coins based on the 8.x codebase have qr support built into them.
      Not many coins built on 'earlier' codebased have it built in.

1) Download|Extract|Build: qrencode & libpng
  a) Download libpng: http://prdownloads.sourceforge.net/libpng/libpng-1.6.12.tar.gz?download
  a2) Download qrencode: http://fukuchi.org/works/qrencode/qrencode-3.4.3.tar.gz
  b) Place both in your C:\deps folder.

  c) Open an msys shell copy and paste these commands:
tar xvfz libpng-1.6.12.tar.gz
tar xvfz qrencode-3.4.3.tar.gz
cd /c/deps/libpng-1.6.12
configure --disable-shared
make

cp .libs/libpng16.a .libs/libpng.a
cd /c/deps/qrencode-3.4.3
LIBS="../libpng-1.6.12/.libs/libpng.a ../../mingw32/i686-w64-mingw32/lib/libz.a" \
png_CFLAGS="-I../libpng-1.6.12" \
png_LIBS="-L../libpng-1.6.12/.libs" \
configure --enable-static --disable-shared --without-tools
make

NOTES: If you get an error here try adding: PKG_CONFIG_PATH=/c/deps/libpng-1.6.12 before the make command.


2) To build the wallet with QR Code Support:
  a) Delete everything in C:\[coinsourcefiles]\build
  b) Delete the following 5 files if they exist in your [coinsourcefiles] folder:
Makefile
Makefile.Debug
Makefile.Release
object_script.[coinname-qt].Debug
object_script.[coinname].qt.Release

3) From the qt command prompt type the following (EDIT THIS WITH THE PROPER COIN INFO):
qmake "USE_QRCODE=1" "USE_UPNP=1" [coinname]-qt.pro
make -f Makefile.Release

4) Your newly compiled wallet with QR Code Support will be in the Release folder.



Section IV: Troubleshooting - Errors|Problems|Issues

THE REST BELOW THIS LINE HASN'T BEEN COMPLETELY EDITED BY ME YET, AND I'M TIRED. I'll get to it soon...

If you tried to build a wallet before and used a different version of
msys /mingw you may need to build boost to match the version of mingw.

I am working here with version 4.6 so in your boost file is a file called
stage and inside that lib look here and make sure you see
files that look like libboost_chrono-mgw46-d-1_55.dll

if they have a different number just follow the directions in section i #10
to rebuild boost with the proper version of mingw.

If you have problems getting boost to compile in section 10 part i
you may want to try boost_1_53_1

Download it here http://sourceforge.net/projects/boost/files/boost/1.53.0/

and put it in the deps file name it boost_1_53_0

build it, change everything in your Photo[Suspicious link removed]o file that says boost_1_55_0
to boost_1_53_0


If you got errors at any point and did not install things in the folders like
I named them make sure no folders have a space. For example in windows if you
install these programs into a folder like Program Files it can cause issues.
Mingw does not like empty spaces one of the reasons you have folders with the underscore.


If you got errors that say MUTEX in them when you try to compile your wallet try changing
line 7 of the Photon-qt.pro file to this

DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE BOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN __NO_SYSTEM_INCLUDES

The extra commands may help.

If you are building a different coin other than Photon as this guide can help
you build almost any coins wallet remember you need to change the names of folders to fit that coin !!

If you get errors that files are not found check your paths
go to my computer, right click properties, advanced system settings, look under environment variables

You should see things like this

C:\MinGW\mingw32\bin;

in this case for mingw , if it is not there add it, same for perl and python.

I have built over 100 different coin wallets so the directions are good but cannot make up for trying to
compile source code of a coin that is missing files.

i.e. you go to compile the wallet and it says yourcoin\src\qt\res\icons bitcoin.ico does not exist

You may be trying to compile source code that is missing things - many coins are.

This is often seen when a new coin is launched. If it is something simple like an icon use an icon from another coin and
place it where the missing icon or splash screen file is supossed to be.

On windows 7 I often have problems building static wallets and wallets with qr code support.
You may have better results on win 8.1

If you have previously tried to compile a coin and had problems or got stuck I recommend not using
qt 5.2 or 5.3 , stick with 4.8.4 , 4.8.5 or 4.8.3

Note: A few coins like the latest 9.2 version of bitcoin cannot be built with these directions and
require qt 5.3. In the future I may expand this guide to cover how to compile those coins.
As of now very few (I know of 2) coins other than bitcoin use the 9.x codebase.


A few coins like maxcoin need additional items installed.
(thanks to Tranz and Bluedragon747 for this tip)

If you see -crypto in the .pro file install it http://www.cryptopp.com/#download
and using 7z extract it to your deps folder.

Add these lines to the top of the .pro file where you see similar commands:
CRYPTO_LIB_PATH=C:/deps/cryptopp562
$$join(CRYPTO_LIB_PATH,,-L,)


Only a few coins use this but they are out there.

Most coins that use this will have at least the $$join (CRYPTO_LIB_PATH,,-L)
and you may just need to add the path of where your files are in your deps folder.


In most coins .pro file you have to 'uncomment' some commands for them to compile on windows
by removing the # in front of the line.

Search for a line like this in your .pro file (Use CTRL+F to search for genleveldb):
#genleveldb.commands = cd $$PWD/src/leveldb && CC=$$QMAKE_CC CXX=$$QMAKE_CXX TARGET_OS=OS_WINDOWS_CROSSCOMPILE $(MAKE) OPT=\"$$QMAKE_CXXFLAGS $$QMAKE_CXXFLAGS_RELEASE\"

libleveldb.a libmemenv.a && $$QMAKE_RANLIB $$PWD/src/leveldb/libleveldb.a && $$QMAKE_RANLIB $$PWD/src/leveldb/libmemenv.a


Note, i have this line commented out with the #

You need it uncommented to build on linux & osx so almost every coin source you download before you compile the windows wallet
as I described above you have to comment this out or you will get a 'cross compile error' real fast.

Another thing to remember is while I included these lines in my own .pro file to make it easy to build:

BOOST_LIB_SUFFIX=-mgw46-mt-sd-1_55
BOOST_INCLUDE_PATH=C:\deps\boost_1_55_0
BOOST_LIB_PATH=C:\deps\boost_1_55_0\stage\lib
BDB_INCLUDE_PATH=C:\deps\db-4.8.30.NC\build_unix
BDB_LIB_PATH=C:\deps\db-4.8.30.NC\build_unix
OPENSSL_INCLUDE_PATH=C:\deps\openssl-1.0.1j\include
OPENSSL_LIB_PATH=C:\deps\openssl-1.0.1j
MINIUPNPC_LIB_SUFFIX=-miniupnpc
MINIUPNPC_INCLUDE_PATH=C:\deps\miniupnpc
MINIUPNPC_LIB_PATH=C:\deps\miniupnpc

most coin source codes do not have them and you may need to insert them.

Finally some developers launch a coin and don't want it to compile for people easily.
If you get runtime errors it is usually related to problems with qt.

Please master building regular (non static) wallets before you try to compile a static wallet.
Pages:
Jump to: