All Projects → ArkEcosystem → Ark Node

ArkEcosystem / Ark Node

💸 CryptoCurrency for all

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Ark Node

Node
The core of Po.et
Stars: ✭ 192 (-5.42%)
Mutual labels:  blockchain
Iavl
Merkleized IAVL+ Tree implementation in Go
Stars: ✭ 197 (-2.96%)
Mutual labels:  blockchain
Client
The nOS Client
Stars: ✭ 202 (-0.49%)
Mutual labels:  blockchain
Pyquarkchain
Python implementation of QuarkChain
Stars: ✭ 194 (-4.43%)
Mutual labels:  blockchain
Resources
This repo is a one stop destination to find resources for learning various domains. You can find the roadmap for any domain here.
Stars: ✭ 198 (-2.46%)
Mutual labels:  blockchain
Bitcoin On Nodejs
《Node.js区块链开发》,注:新版代码已开源!请star支持哦-^-:
Stars: ✭ 2,321 (+1043.35%)
Mutual labels:  blockchain
Congress
Helping humanity evolve
Stars: ✭ 191 (-5.91%)
Mutual labels:  blockchain
Adamant Im
ADAMANT Decentralized Messenger. Progressive Web Application (PWA)
Stars: ✭ 202 (-0.49%)
Mutual labels:  blockchain
Iov Core
Client library for secure key management and multi-blockchain communication
Stars: ✭ 198 (-2.46%)
Mutual labels:  blockchain
Cleargdpr
GDPR Compliance Solution
Stars: ✭ 201 (-0.99%)
Mutual labels:  blockchain
Merit
Merit aims to be the world's most adopted digital currency.
Stars: ✭ 196 (-3.45%)
Mutual labels:  blockchain
Factomd
Factom Daemon
Stars: ✭ 197 (-2.96%)
Mutual labels:  blockchain
Bsc
A Binance Smart Chain client based on the go-ethereum fork
Stars: ✭ 190 (-6.4%)
Mutual labels:  blockchain
Blockchain Crypto Mpc
Protecting cryptographic signing keys and seed secrets with Multi-Party Computation.
Stars: ✭ 193 (-4.93%)
Mutual labels:  blockchain
Blockchain
A simple implementation of blockchain in java
Stars: ✭ 201 (-0.99%)
Mutual labels:  blockchain
Ipfs Internals
IPFS 从入门到精通
Stars: ✭ 192 (-5.42%)
Mutual labels:  blockchain
Manticore
Symbolic execution tool
Stars: ✭ 2,599 (+1180.3%)
Mutual labels:  blockchain
Fabric Starter
Starter Application and Deployment Scripts for Hyperledger Fabric
Stars: ✭ 202 (-0.49%)
Mutual labels:  blockchain
Bitconch Core
A new distributed web protocol for smart contracts and decentralized applications.
Stars: ✭ 203 (+0%)
Mutual labels:  blockchain
Golden Wallet React Native
Golden - Best Wallet Ever
Stars: ✭ 201 (-0.99%)
Mutual labels:  blockchain

Ark

⚠️ DEPRECATED IN FAVOR OF https://github.com/ArkEcosystem/core ⚠️*

Ark is a next generation crypto-currency and decentralized application platform, written entirely in JavaScript. For more information please refer to our website: https://ark.io/.

The Token Exchange Campaign is up at https://tec.ark.io

This version is still alpha, use at your own risks

Install, Upgrade etc...

You need to provision a linux (ubuntu tested) server (digital ocean, vultur or other).

Then use the excellent ark-commander script

cd
wget https://ark.io/ARKcommander.sh
bash ARKcommander.sh

For developers, please read below in section "Developer Installation"

Details

This is a fork from Lisk with the following features:

  • Removed sidechains (deprecated in favor of smartbridge)
  • Removed custom node version
  • Removed UI for stability and security reasons
  • Changed some constants (block rewards, blocktime etc...)
  • Added simple PBFT before forging new block
  • Ditch addresses from the protocol in favor of bitcoin like system, enabling HD Wallet as for BIP32
  • Completely rewritten node management using a single NodeManager and messaging system
  • Completely rewritten round management (removed mem_round, reward block fees to forger)
  • Added 64 bytes vendorField as first iteration of smart bridge
  • Made peers management entirely in-memory for efficiency
  • Strengthened the transaction management and broadcast (reject often, reject soon)
  • Rearchitect with relay nodes and forging nodes
  • Nodes broadcast only block headers.

### Planned features:

  • Simple blockchain validation for SPV and use in lite clients
  • Add IPFS as first class citizen (using smartbridge addressing)
  • Protocol improvements (uncle forging, voting weights).
  • Remove unsecured API
  • Routing tables

### Performance

  • stable on testnet at 5tx/s
  • pushed to 10tx/s on devnet

Developer Installation

Install essentials:

sudo apt-get update
sudo apt-get install -y curl build-essential python git

Install PostgreSQL (min version: 9.5.2)

sudo apt-get install -y postgresql postgresql-contrib
sudo -u postgres createuser --createdb --password $USER
createdb ark_test

Install Node.js (tested with version 6.9.2, but any recent LTS release should do):

sudo apt-get install -y nodejs
sudo npm install -g n
sudo n 6.9.2

Install grunt-cli (globally):

sudo npm install grunt-cli -g

Clone this repository

git clone https://github.com/arkecosytem/ark-node.git
cd ark-node

Install node modules:

npm install libpq secp256k1
npm install

Launch

To launch Ark on testnet:

createdb ark_testnet
node run start:testnet

To launch Ark on devtnet:

createdb ark_devnet
node run start:devnet

To launch Ark on mainnet (when launched):

createdb ark_mainnet
node run start:mainnet

NOTE: The port, address, genesis block and config-path can be overridden by providing the relevant command switch:

node app.js -p [port] -a [address] -c [config-path] -g [genesisBlock-path]

This allow you to run several different networks, or your own private chain

Launch your own private or public chain

Generate a genesisBlock.json + a default config.json containing all passphrases of genesis delegates

node tasks/createGenesisBlock.js

You can find generated files in tasks/

  • genesisBlock.json
  • config.json
  • delegatesPassphrases.json (containing details about the genesis delegates)
  • genesisPassphrase.json (containing the details of account having all premined arks)

Obviously you can hack away tasks/createGenesisBlock.js for your own custom use.

You can the start with your own chain on a single node (all delegates will forge on your single node) using:

createdb ark_newtest
npm run start:newtest

Then you can distribute the config.json (without the delegates secrets inside, and with custom peers settings) to peers to let them join your chain

Tests

Load git submodule ark-js:

git submodule init
git submodule update

You should run using test configurations

npm run start:test

Run the test suite:

npm test

Run individual tests:

npm test -- test/api/accounts.js
npm test -- test/api/transactions.js

NOTE: The master passphrase for this test genesis block is as follows:

peace vanish bleak box tuna woman rally manage undo royal lucky since

Authors

License

The MIT License (MIT)

Copyright (c) 2016 Ark Copyright (c) 2016 Lisk Copyright (c) 2014-2015 Crypti

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].