Zilliqa is the world's first high-throughput public blockchain platform - designed to scale to thousands ​of transactions per second.
Switch branches/tags
Feature/EventLog Fix/ExecuteCmd Fix/mbsubmission-buffer-crash Haichuan/LookupDispatcher Kaustubh/AddInitApi Kaustubh/ApisforSC Kaustubh/CoinbaseDelta Kaustubh/IPfiltering Kaustubh/LookupDispatcher Kaustubh/PoWTestPerfFix Kaustubh/PoWVerification Kaustubh/addLookupBatchDispatcher Kaustubh/fix/serverAPI LookupDispacther/AWSTest Test_libCrypto amrit/KudelskiFix ant_vctest1 antonio changeRefBlock combine/dsmb/txblock comm-branch consensus_subsets constants_local-patch-2 cosig_verify dev/smart-contract feature/AccountDelta feature/ArchivalNode1.1 feature/ArchivalNodesAWS feature/DSCoinbase feature/Improvised_gossip_hashes_only feature/Limit-Gossip-Logging feature/Limit-gossip-logging-master feature/LookupArchival feature/LookupReward feature/MessengerBytesSizeCheck feature/MongoDB feature/MultiIndex feature/NAT feature/Remove_LookUpMacro_Dependency feature/RemoveForwardDelta feature/TxBlockVerif feature/TxOrder feature/accounts feature/add-delay-for-simulation feature/add-tolerance-txn-ordering feature/adding-logging-for-benchmark feature/additional_stats feature/blockhash feature/chunking feature/clang-tidy feature/cleanTx feature/committeehash feature/consensus_error_no feature/consensus_subsets feature/constant feature/constants_tuning feature/crypto-utils feature/datasender feature/difficultyAdjust feature/dirBlockRetrv feature/dirBlocksConsolidation feature/ds-info-retrieve feature/ds-info-storage feature/ds-info-verify feature/ds_not_allowed_to_submit_pow feature/ds_pow feature/dsblockhashset feature/dsblockheaderhasheschecks feature/dsmicroblock feature/earlyforward feature/elect_mulitple_ds feature/epochNumInDSBlock feature/fallback feature/fbcommhashcheck feature/fetch_missing_txns feature/forwardContainer feature/forwardEaly feature/gasmechanism feature/gaspricer feature/gasrewards feature/gossip_additional_usecases feature/gossip_benchmarking_support feature/gossip_network_layer_changes feature/guard_identity_update feature/guard_mode feature/improve_logging feature/latestScillaAPI feature/lazy-push-response-optional feature/libRumorSPreading feature/limit-input-send-queue feature/logging feature/lognumnodes feature/lognumnodes2 feature/logsForCoinbase feature/lookup-send-txnpkt-through-gossip feature/lookupdispatcher/dsmicroblock feature/maxdepth feature/mbinfohash feature/mbinfotxroothash feature/mergeblockchain feature/mergepow feature/new-lookup-join feature/powsubmission-packet feature/proctxn feature/profile_time feature/protoErrormsg feature/protoPeer feature/protoPeerSWInfo feature/protoSWInfo feature/protobuf7 feature/protobufaccounts feature/protoerrmsg feature/prototransaction feature/randomized-rumor-spreading-protocol feature/randomshardleader feature/remote_mine feature/rep_manager feature/request/GetContractAddress feature/retrieve-dirblocks feature/robust_consensus_subset feature/scilla-checker feature/scilla_testsuite feature/scillaerror feature/shard_size_adjustment feature/shrptr_ds_shard feature/signal-handling feature/smart-contract feature/statestrings feature/support-archival feature/tranreceipt feature/transactions feature/treebased-cluster-broadcasting-benchmarking feature/treebased_cluster_broadcasting feature/utils_ip_converter feature/vcdsblock feature/viewchange_v2 feature/viewchange_v4 feature/whitelist_ds feature/1000-nodes-testnet-large-tps-constants_setting fix/ASTemp fix/Account fix/BlockCount fix/BranchForTesting fix/CallActOn fix/Check_State_Before_FB_Buffering fix/Check_State_Before_FBlk_Buffering fix/CircularArray fix/DsLeaderDelection fix/FinalBlockConsensusMessage fix/JsonRPCSpecs fix/NewNodeJoin fix/NoStoreTxBodies fix/ParseOutStringType fix/ParseOutput fix/RejoinAsNormal fix/Schnorr_oom_handling_2 fix/SendMBToDS fix/ServerAPIs fix/ServerAmount fix/SetLookupSetMicroBlock fix/SetPoWState fix/TBC fix/TxEarlyThanMB fix/UpdateM_MyConsesusID fix/UpdateVCRetrieve fix/VerifyTxOrder fix/accountdelta_cv fix/accountstoredeserialize fix/asdeadlock fix/asmutex fix/assert_in_rel_mode fix/bad-pow-ordering fix/blocklinkchain fix/blocklinkchainFunc fix/blocklinkchainVar fix/blockmessage fix/boost-mint-conversion fix/bufferoverflow fix/check-nonce fix/check_for_null_ptr fix/checkbeforestatechange fix/checkmbhashes fix/checkmbs fix/checkmicroblocks fix/checkstateroot fix/circularArray fix/clean_local_run_storage fix/cleanlogs fix/cleanup-hashstore fix/cleanup_code fix/code_formatting fix/coinbasetype fix/committeesize_testnetv3 fix/committeesize fix/commitwin_v4 fix/commitwin fix/consensus_leader_old_msg fix/consensus_null_obj_fix fix/consensus_obj_not_created fix/consensus_race_condition fix/consensus_request_missing_Txn fix/consensus fix/consensusMsgOrder fix/consensusMsgOrder2 fix/constants fix/contract_address fix/contractstate fix/crash-on-unsufficient-commits-for-fb fix/createdtxnmutex fix/cv_wait_for fix/daemon fix/datatype fix/deadlock-mutexLookupNodes fix/deleteFromDSMap fix/disablefallback fix/div_signint fix/dmtests fix/dockerfile fix/dsRejoin fix/dsblockwaittime fix/dsmbfail fix/dsmicroblocksending fix/dsrejoin2 fix/error-state fix/fallback fix/fbskipms fix/fetchstate fix/finalblockbuffer_v4 fix/finalblockbuffer fix/foundNoShardID fix/gentxn fix/getchallenge fix/getshardid fix/getshardindex fix/gossiptxnintw fix/headeroperatro fix/hellosig fix/ignoretxn fix/improvetxngen fix/incorrect_statecheck_for_fbconsesus fix/initialize fix/installg3logfail fix/islookupnode fix/jsoncpprpc-build fix/jsonspec fix/leaderkeysig fix/libCrypto fix/libProtoServerCheck fix/libServer/GetBalance fix/libServerBuild fix/libeventerr fix/log_time fix/lookupSend fix/lookupSendToLeader fix/luckydraw fix/mac-build fix/make-image fix/mb-txn-datasender fix/mediator-initialization fix/micperform fix/micperformhashed fix/minor_logs_message fix/missing_header_guard fix/msgsize fix/multiple-txn-pkt-processed fix/multipleLookup fix/mutex-removal fix/ncc-audit-potential-crash fix/network_parameters fix/nodedist fix/normal-node-loose-pow fix/null_consensus_obj fix/nullref fix/octNum08 fix/openssl-1.1 fix/out-of-order-message fix/out-of-order-msg fix/outofbounds fix/packetbuffer fix/partialRetrieve fix/powmask fix/powsolutions_testnetv3 fix/powsolutions fix/powtolerance fix/powtolerance2 fix/prefill fix/privkeyprint fix/processpingall fix/protoStateDelta fix/randomnesscheat fix/readme fix/rebug fix/recovery fix/reduce_log_ProcessForwardTransaction fix/refactordelta fix/rejectdswhenrejoin fix/remove-txn-limitation-in-mb fix/remove-unnecessary-cv-from-threadpool fix/remove_insecure_function fix/remove_txbody_db fix/remove_unsafe_strcmp fix/remove_unused_aux_util fix/remove_unused_constant fix/removehbpulse fix/removembroothash fix/removesha3 fix/removeskipdsmb fix/removetxgetnummbhashes fix/retrieveBug fix/revertproto fix/safe_math_comments fix/safemath fix/sc2 fix/schnorr_oom_handling fix/scillaType fix/scillaparse fix/security_bugs fix/select_gpu fix/server-tran fix/setstate fix/sha2_wrapper_assertion fix/shard_guard_enhancements fix/shardsize fix/smart-contract fix/speedtxnproc fix/state-root-check fix/submitTxn fix/tbc-cluster fix/temp_logging fix/tesnetv3-dev-incorrect_statecheck_for_fbconsesus fix/testnet-multiple-txn-processed fix/testnet/sendlookupsendMB fix/testnetv3-fixes fix/testnetv3 fix/testnetv5/normal-node-loose-pow fix/timestampverify fix/timing-issue-bf fix/trimshardnodes fix/trycatch fix/tx_receipt fix/txndist fix/txnpool fix/txnstatencontractlog fix/unusedvardsmbobjtimeout fix/vc_ds_leader_transition fix/vc_faulty_c_leader fix/vccheckstateroot fix/vcdscommhash fix/verifytxnordermutex fix/viewchange_fix fix/wrong_ins_handler fixes/block_num_fix fixes/consensus_out_of_order fixes/dsblock_difficulty fixes/microblock_announce_bug gmtime hotfix/disable_dspersistence_test hotfix/kube_dep hotfix/random_ds_leader_selection_bugs hotfix/wrong_size_check_node_missing_txn ifx/MB2FB kaikawaliu-patch-1 libProtoServer master merge/423N426 misc/readme_grammar_fixes nat/test network parameter/constants_sharding_local parameters/constants_update quickfix/log readme/update-git refactor/blockbase refactor/calc_leader refactor/microblockhash refactore/parsecontract refine/verifytxntolerance rejoin revert-452-fix/vc_faulty_c_leader revert-909-fix/gentxn revert-974-fix/lookupSendToLeader revert/testnetv4/libserverproto sid/getCodeAPI stable staging-dev staging state/pow1_state_fix test/BigPR test/CircularArray test/Data test/LogEntry test/Transaction test/fallback test/gossip-experimetal test/libConsensus test/libMediator_gmock test/libMediator test/libPOW test/libUtils_SWInfo test/messenger_consensus_v4 test/migrationv3tov4 test/pr324 testnet-v3-instructions testnetv3-dev testnetv4-dev testnetv4/fix/scillaparse testnetv5-dev tests/migration tests/vcfixes unittest/accountstore update/fix_additional_slash update/genesis_addr update/gitter_badge update/pr_template update/read_me_fix update/readme_ide v3/fix/vcdscommhash v4/fix/protostatedelta v5-fix/asdeadlock v5-fix/asmutex v5-fix/createdtxnmutex v5-fix/fetchstate
Nothing to show
Clone or download
ansnunez Merge pull request #1055 from Zilliqa/fix/dsmicroblocksending
Fix DS nodes not sending DS microblock to Lookups
Latest commit 87068b4 Dec 15, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github fix typo in PULL_REQUEST_TEMPLATE.md Sep 4, 2018
cmake use find_packge for libjsonrpccpp Nov 23, 2018
daemon Add daemon delay and fetching data from offline lookup nodes. Nov 21, 2018
docker Ensure that zilliqa/scilla is up-to-date Dec 4, 2018
img add logo to README.md Aug 11, 2018
scripts update osx xcode version and cleanup in CI Nov 13, 2018
src Fix DS nodes not sending DS microblock to Lookups Dec 14, 2018
tests Enhance state log and enhance script to fetch info from it Dec 13, 2018
.clang-format use google flavor coding style Oct 8, 2018
.clang-tidy clang-tidy: fix inconsistent declaration name Sep 14, 2018
.codecov.yml Remove the graphics from the code coverage report and suppress commit… Feb 21, 2018
.gitattributes Add initial .gitattributes Jan 6, 2018
.gitignore add compile_commands.json back to .gitignore Jun 19, 2018
.gitmodules Revert "Feature/lib serverproto" Nov 5, 2018
.travis.yml update osx xcode version and cleanup in CI Nov 13, 2018
CMakeLists.txt migrate crypto utils from tests to src/cmd Dec 12, 2018
LICENSE rename COPYRIGHT to LICENSE Oct 25, 2018
README.md fix CUDA and OpenCL link in README Dec 3, 2018
VERSION Fix crash after recovering and ValidateStates failed. Oct 1, 2018
build.sh Add dm6 flag Nov 29, 2018
constants.xml Merge branch 'master' into feature/LookupArchival Dec 14, 2018
constants_local.xml Merge branch 'master' into feature/LookupArchival Dec 14, 2018
release.sh Fix daemon re-launch failed issue Nov 13, 2018

README.md

Zilliqa (codename Durian)

Build Status codecov Gitter chat

Overview

Zilliqa is a new blockchain platform capable of processing thousands of transactions per second with sharding built into it. With sharding, Zilliqa has the potential to match throughput benchmarks set by traditional payment methods (such as VISA and MasterCard). More importantly, Zilliqa’s transaction throughput increases (roughly) linearly with its network size.

Mao Shan Wang public testnet

Mao Shan Wang small-scale testnet for developers

Available features

The current release has the following features implemented:

  • Single Ethash Proof of Work (PoW) for joining the network
  • Network sharding
  • Transaction sharding
  • Directory Service Committee with Multiple-In, Multiple-Out (MIMO)
  • pBFT Consensus for DS block (with sharding structure), Shard microblock, DS microblock, and Final block
  • EC-Schnorr signature
  • Data layer and accounts store
  • Lookup nodes to allow new nodes to join and dispatch transactions to correct shards
  • Persistent storage for transactions and state
  • Merkle Patricia tree
  • Transaction verification and receipt
  • View change mechanism
  • Smart contract implementation
  • GPU (OpenCL and CUDA) support for PoW
  • State delta forwarding
  • Gossip protocol for network message broadcasting
  • Protocol upgrade mechanism
  • Node recovery mechanism
  • Archival nodes
  • Gas rewards and pricer
  • Coinbase rewards

In the coming months, we plan to have the following features:

  • Mining curve structure
  • Further unit and integration tests
  • Enhancement of existing features
  • More operating system support
  • And much more ...

Minimum system requirements

To run Zilliqa, we recommend the following minimum system requirements:

  • x64 Linux operating system such as Ubuntu
  • Intel i5 processor or later
  • 2 GB RAM or higher

Note: Presently, we are in active development on Ubuntu 16.04. We also support macOS. Support for building on other Debian-based distributions are pending.

Dependencies

  • Ubuntu 16.04:

    sudo apt-get update
    sudo apt-get install git libboost-system-dev libboost-filesystem-dev libboost-test-dev \
        libssl-dev libleveldb-dev libjsoncpp-dev libsnappy-dev cmake libmicrohttpd-dev \
        libjsonrpccpp-dev build-essential pkg-config libevent-dev libminiupnpc-dev \
        libprotobuf-dev protobuf-compiler libcurl4-openssl-dev
  • macOS:

    brew install boost pkg-config jsoncpp leveldb libjson-rpc-cpp libevent miniupnpc protobuf

Running Zilliqa locally

  1. Build Zilliqa from the source.

    ./build.sh
    
  2. Run the local testnet script in build directory

    cd build && ./tests/Node/pre_run.sh && ./tests/Node/test_node_lookup.sh && ./tests/Node/test_node_simple.sh
    
  3. Logs of each node can be found at ./local_run

  4. To terminate Zilliqa,

    pkill zilliqa
    

Joining the Mao Shan Wang public testnet

Please visit the Mining wiki to find out more.

Further enquiries

  • General question: Slack
  • Development discussion: Gitter
  • Bug report: Github Issues
  • Security contact: security 🌐 zilliqa.com

Licence

You can view our licence here.