Skip to content

Magnet cryptocurrency (MAG)

License

MIT, MIT licenses found

Licenses found

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

GelmutShmidt/magnet

 
 

Repository files navigation

MAGNET is a X11 POS/POW + Masternodes Network and offers a masternode-based blockchain ecosystem. Please visit our official website for more information: https://magnetwork.io

Ticker: MAG Algorithm: x11 Type: Hybrid POS/POW (50-50) Block Time: 90 secs per block. Masternode Collateral: 10 000 MAG Masternode Rewards: 50% of ALL mining rewards (POS and POW)

License

Magnet is released under the terms of the MIT license. See COPYING for more information or see http://opensource.org/licenses/MIT.

Build Magnet

Get the source:

git clone https://github.com/magnetwork/magnet.git

If all dependencies are met (see below), you can run the following command to build magnetd:

cd magnet && \
chmod +x src/leveldb/build_detect_platform && \
chmod +x src/secp256k1/autogen.sh && \
cd src/leveldb && \
make libleveldb.a libmemenv.a && \
cd .. && \
make -f makefile.unix && strip magnetd

Or with script:

cd magnet && \
chmod +x compile.sh && \
./compile.sh

Dependencies

Check the build documentation for more information

Build requirements:

sudo apt-get install build-essential libtool automake autotools-dev autoconf pkg-config libssl-dev libgmp3-dev libevent-dev bsdmainutils

All boost development packages:

sudo apt-get install libboost-all-dev    

BerkeleyDB is required for the wallet. db4.8 packages are available here. You can add the repository and install using the following commands:

sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev

miniupnpc for UPnP Support:

sudo apt-get install libminiupnpc-dev

Binaries

Download the official binaries from releases.

Trouble shooting

You may need to export the paths to OPENSSL lib to compile against 1.0.x (more details here)

export OPENSSL_INCLUDE_PATH="your_include_path_to_openssl_1.0.x"
export OPENSSL_LIB_PATH="your_lib_path_to_openssl_1.0.x"

About

Magnet cryptocurrency (MAG)

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
COPYING

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 75.1%
  • C 17.1%
  • Shell 5.1%
  • Python 1.1%
  • HTML 0.7%
  • QMake 0.3%
  • Other 0.6%