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

This branch is 372 commits ahead of, 169 commits behind ElementsProject/elements:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e629de2 · Dec 24, 2024
Oct 28, 2024
Oct 28, 2022
Feb 13, 2022
Nov 18, 2024
Dec 24, 2024
Sep 27, 2023
Apr 18, 2023
Dec 24, 2024
Oct 28, 2024
Jun 30, 2023
Dec 24, 2024
Dec 24, 2024
Oct 10, 2023
Sep 7, 2021
Oct 29, 2014
Oct 28, 2024
Nov 9, 2020
Mar 4, 2019
May 6, 2024
Jul 2, 2023
Jan 2, 2022
Sep 9, 2021
Oct 7, 2024
Oct 28, 2024
Dec 24, 2024
Feb 25, 2022
May 17, 2023
Dec 29, 2019
Dec 24, 2024
May 6, 2024
Nov 19, 2019
Oct 28, 2024
Jul 19, 2024

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

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

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