Skip to content
/ VERGE Public
forked from vergecurrency/verge

official source code repository for VERGE cryptocurrency

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
COPYING
Notifications You must be signed in to change notification settings

alpyol/VERGE

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Build Status

____   _________________________   ________ ___________
\   \ /   /\_   _____/\______   \ /  _____/ \_   _____/
 \   Y   /  |    __)_  |       _//   \  ___  |    __)_
  \     /   |        \ |    |   \\    \_\  \ |        \ 2018 VERGE/XVG
   \___/   /_______  / |____|_  / \______  //_______  /
                   \/         \/         \/         \/

VERGE [XVG] Source Code

Specifications

Specification Value
Protocol PoW (proof of Work)
Algorithms scrypt, x17, Lyra2rev2, myr-groestl, & blake2s
Blocktime 30 seconds
Total Supply 16,500,000,000 XVG
RPC port 20102
P2P port 21102
pre-mine N/A
ICO N/A

Blockrewards

Block Number Reward
0 to 14,000 200,000 coins
14,000 to 28,000 100,000 coins
28,000 to 42,000 50,000 coins
42,000 to 210,000 25,000 coins
210,000 to 378,000 12,500 coins
378,000 to 546,000 6,250 coins
546,000 to 714,000 3,125 coins
714,000 to 2,124,000 1,560 coins
2,124,000 to 4,248,000 730 coins

Resources

Community

Wallets

Binary (pre-compiled) wallets are available on all platforms at https://vergecurrency.com.

Note: Important! Only download pre-compiled wallets from the official Verge website or official Github repos.

Note: For a fresh wallet install you can reduce the blockchain syncing time by downloading a nightly snapshot and following the setup instructions.

Windows Wallet Usage

  1. Download the pre-compiled software.

  2. Install

  3. In windows file explorer, open c:\Users\XXX\AppData\Roaming\VERGE (be sure to change XXX to your windows user)

  4. Right click and create a new file verge.txt

  5. Edit the file to have the following contents (be sure to change the password)

    rpcuser=vergerpcusername
    rpcpassword=85CpSuCNvDcYsdQU8w621mkQqJAimSQwCSJL5dPT9wQX
    rpcport=20102
    port=21102
    daemon=1
    algo=groestl
    
  6. Save and close the file

  7. Rename the file to verge.conf

  8. Start the VERGE-qt program.

  9. Open up VERGE-qt console and run getinfo (or getmininginfo) to verify settings.

Note: You must re-start the wallet after making changes to verge.conf.

OS X Wallet

  1. Download the pre-compiled software.
  2. Double click the DMG
  3. Drag the Verge-Qt to your Applications folder
  4. Double click the Verge-Qt application to open it.
  5. Go grab a β˜• while it syncs with the blockchain

Note: It may look like it is frozen or hung while it is indexing and syncing the blockchain. It's not. It's chugging away, but currently the UI doesn't give you a lot of feedback on status. We're working to fix that. Syncing takes a while to complete (ie. > 10 minutes or more) so just be patient.

Note: If you want to change your configuration the file is located at ~/Library/Application\ Support\VERGE\VERGE.conf. This isn't required by default.

Linux Wallet

  1. Compile using linux instructions.

  2. The wallet GUI is in ./verge/src/qt and the daemon in ./verge/src.

  3. Optional - the binaries to your favorite location. for use by all users, run the following commands:

    sudo cp src/VERGEd /usr/bin/
    sudo cp src/qt/VERGE-qt /usr/bin/
  4. Run ./VERGEd from wherever you put it. The output from this command will tell you that you need to make a VERGE.conf file and will suggest some good starting values.

  5. Open up your new config file that was created in your home directory in your favorite text editor

    nano ~/.VERGE/VERGE.conf
  6. Paste the output from the VERGEd command into the VERGE.conf like this: (It is recommended to change the password to something unique.)

    rpcuser=vergerpcusername
    rpcpassword=85CpSuCNvDcYsdQU8w621mkQqJAimSQwCSJL5dPT9wQX
    rpcport=20102
    port=21102
    daemon=1
    algo=groestl
    
  7. Save the file and exit your editor. If using nano type ctrl + x on your keyboard and the y and hitting enter. This should have created a VERGE.conf file with what you just added.

  8. Start the Verge daemon again

    ./path/to/VERGEd

Note: To check the status of how much of the blockchain has been downloaded (aka synced) type ./path/to/VERGEd getinfo.

Note: If you see something like 'Killed (program cc1plus)' run dmesg to see the error(s)/problems(s). This is most likely caused by running out of resources. You may need to add some RAM or add some swap space.

You can also check out this Linux Wallet Video Tutorial.

Building From Source

Developer Notes

The Easy Method:

Note: Sometimes linux user permissions are not set up properly, and causes failed compiling in linux. Please ensure your user has access or do the install from root if these problems arise.

sudo rm -Rf ~/VERGE  #(if you already have it)
sudo apt-get -y install git && cd ~ && git clone https://github.com/vergecurrency/VERGE && cd VERGE && sh go.sh

The slightly longer version:

  1. Install the dependencies. Note: If you are on debian, you will also need to apt-get install libcanberra-gtk-module.

    sudo add-apt-repository ppa:bitcoin/bitcoin
    sudo apt-get update
    sudo apt-get install \
        libdb4.8-dev libdb4.8++-dev build-essential \
        libtool autotools-dev automake pkg-config libssl-dev libevent-dev \
        bsdmainutils git libboost-all-dev libminiupnpc-dev libqt5gui5 \
        libqt5core5a libqt5dbus5 libevent-dev qttools5-dev \
        qttools5-dev-tools libprotobuf-dev protobuf-compiler libqrencode-dev \
        libseccomp-dev libcap-dev
  2. Clone the git repository and compile the daemon and gui wallet:

    git clone https://github.com/vergecurrency/verge && cd verge && ./autogen.sh && ./configure && make

Note: If you get a "memory exhausted" error, make a swap file. (https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-16-04)

Mac OS X Wallet

Note: This has only been confirmed to work on OS X Sierra (10.12) and OS X High Sierra (10.13) with XCode 9.2 and Apple LLVM version 9.0.0 (clang-900.0.39.2).

  1. Ensure you have mysql and boost installed.

    brew install mysql boost
  2. Ensure you have python 2.7 installed and in your path (OS X comes with this by default)

    python --version
  3. Export the required environment variables

    export VERGE_PLATFORM='mac'
    export CXX=clang++
    export CC=clang
  4. Run your build commands

    ./building/common.sh
    ./building/mac/requirements.sh
    ./building/mac/build.sh
  5. Grab a β˜• and wait it out

  6. Create the .dmg file

    ./building/mac/dist.sh

Windows Wallet

TODO. Take a look as building/windows.

Docker Images

Check out the contrib/readme for more information.

Mining

Solo mining

Instead of joining a mining pool you can use the wallet to mine all by yourself. You need to specify the algorithm (see below) and set the "gen" flag. For instance, in the configuration specify gen=1.

Using different algorithms

To use a specific mining algorithm use the algo switch in your configuration file (.conf file) or from the command line (like this --algo=x17). Here are the possible values:

algo=x17
algo=scrypt
algo=groestl
algo=lyra
algo=blake

TestNet

Here is a list of active testnet nodes: ddvnucmtvyiemiuk.onion (sunerok)

Donations

We believe in keeping Verge free and open. Any donations to help fuel the development effort are greatly appreciated! πŸ˜„

  • Address for donations in Verge (XVG): DDd1pVWr8PPAw1z7DRwoUW6maWh5SsnCcp
  • Address for donations in Bitcoin (BTC): 142r3vCAH3AzABiQjFPmcrSCp6TDzEDuB1

Special Shout Outs

Special thanks to the following people that have helped make Verge possible. πŸ™Œ

Sunerok, CryptoRekt, MKinney, BearSylla, Hypermist, Pallas1, FuzzBawls, BuZz, glodfinch, InfernoMan, AhmedBodi, BitSpill, MentalCollatz, ekryski and the entire #VERGE community!

Bug Reporting

If you think you've found a bug or a problem with VERGE, please let us know! First, search our issue tracker to search to see if someone has already reported the problem. If they haven't, click here to open a new issue, and fill out the template with as much information as possible. The more you can tell us about the problem and how it occurred, the more likely we are to fix it.

Please do not report security vulnerabilities publicly.

How to report a bug

Code issues

Since we are a 100% open-source project we strongly prefer if you create a pull-request on Github in the proper repository with the necessary fix.

Alternatively, If you would like to make a suggestion regarding a potential fix please send an email to [email protected]

Security-related issues

Contact the developers privately by sending an e-mail to [email protected] with the details of the issue. Do not post the issue on github or anywhere else until the issue has been resolved.

About

official source code repository for VERGE cryptocurrency

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
COPYING

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 58.2%
  • C++ 36.1%
  • M4 2.6%
  • Python 1.4%
  • Shell 0.9%
  • Makefile 0.2%
  • Other 0.6%