Skip to content

Open Source implementation of advanced blockchain features extending the Bitcoin protocol

License

Notifications You must be signed in to change notification settings

SequentiaSEQ/sequentia

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sequentia project blockchain platform

Sequentia is a Bitcoin sidechain dedicated to asset tokenization and decentralized exchanges.

https://www.sequentia.io/

Current code is based on Elements Version: 23.2.4

Quick build - Linux

Installing prerequisistes

Install build tools

On Ubuntu (and probably Debian), you should be able to install the prerequisite build tools with the following command:

sudo apt install ccache build-essential libtool autotools-dev automake pkg-config bsdmainutils python3

YMMV on other software distributions.

Setup ccache

You may achieve speedups when building and rebuilding by using ccache, that you may install and configure as follows:

sudo /usr/sbin/update-ccache-symlinks
echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc
source ~/.bashrc

Configure and build

Prepare configuration

./autogen.sh
make -j$(nproc) -C depends NO_QT=1 NO_NATPMP=1 NO_UPNP=1 NO_ZMQ=1 NO_USDT=1
export CONFIG_SITE=$PWD/depends/x86_64-pc-linux-gnu/share/config.site NOWARN_CXXFLAGS='-Wno-deprecated -Wno-unused-result'

NOTE: For building Sequentia with clang use:

export CONFIG_SITE=$PWD/depends/x86_64-pc-linux-gnu/share/config.site NOWARN_CXXFLAGS='-Wno-deprecated -Wno-unused-result' CC=clang CXX=clang++

Configure

./configure --enable-any-asset-fees --enable-debug --disable-bench --disable-tests --disable-fuzz-binary

Note that the --enable-any-asset-fees flag is an addition by Sequentia, that will configure RPC documentation to denominate fee rates using RFU and rfa instead of BTC and sat.

Last but not least - Build

make -j$(nproc)

Run the node

Currently Sequentia supports only testnet, but you can also run the node as a custom Elements chain and create your network.

  • Testnet mode: elementsd -chain=test (syncs with Sequentia testnet)
  • Custom chain: elementsd -chain=<your_chain_name>

Elements info

Modes

Elements supports a few different pre-set chains for syncing. Note though some are intended for QA and debugging only:

  • Liquid mode: elementsd -chain=liquidv1 (syncs with Liquid network)
  • Bitcoin mainnet mode: elementsd -chain=main (not intended to be run for commerce)
  • Bitcoin testnet mode: elementsd -chain=testnet3
  • Bitcoin regtest mode: elementsd -chain=regtest
  • Elements custom chains: Any other -chain= argument. It has regtest-like default parameters that can be over-ridden by the user by a rich set of start-up options.

Confidential Assets

The latest feature in the Elements blockchain platform is Confidential Assets, the ability to issue multiple assets on a blockchain where asset identifiers and amounts are blinded yet auditable through the use of applied cryptography.

Features of the Elements blockchain platform

Compared to Bitcoin itself, Elements adds the following features:

Previous elements that have been integrated into Bitcoin:

  • Segregated Witness
  • Relative Lock Time

Elements deferred for additional research and standardization:

Additional RPC commands and parameters:

The CI (Continuous Integration) systems make sure that every pull request is built for Windows, Linux, and macOS, and that unit/sanity tests are run automatically.

License

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

What is the Elements Project?

Elements is an open source, sidechain-capable blockchain platform. It also allows experiments to more rapidly bring technical innovation to the Bitcoin ecosystem.

Learn more on the Elements Project website

https://github.com/ElementsProject/elementsproject.github.io

Secure Reporting

See our vulnerability reporting guide

About

Open Source implementation of advanced blockchain features extending the Bitcoin protocol

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • C++ 45.7%
  • C 30.2%
  • Python 20.0%
  • M4 1.1%
  • Shell 0.9%
  • Makefile 0.7%
  • Other 1.4%