Skip to content

SequentiaSEQ/SEQ-Core-Elements

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4ec0b2c · Oct 28, 2024
May 24, 2024
Oct 28, 2022
Feb 13, 2022
Oct 10, 2023
May 6, 2024
Sep 27, 2023
Apr 18, 2023
May 6, 2024
Oct 28, 2024
Jun 30, 2023
Sep 9, 2024
Oct 28, 2024
Oct 10, 2023
Sep 7, 2021
Oct 29, 2014
Jun 4, 2024
Nov 9, 2020
Mar 4, 2019
May 6, 2024
Jul 2, 2023
Jan 2, 2022
Sep 9, 2021
Jun 15, 2023
Oct 28, 2024
Jul 19, 2024
Feb 25, 2022
May 17, 2023
Dec 29, 2019
May 6, 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://sequentia.io/

Current code is based on Elements Version: 23.2.1

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'

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)

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