All Projects → TrueBlocks → Trueblocks Core

TrueBlocks / Trueblocks Core

Licence: gpl-3.0
The main repository for the TrueBlocks system

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Trueblocks Core

Status React
a free (libre) open source, mobile OS for Ethereum
Stars: ✭ 3,307 (+788.98%)
Mutual labels:  blockchain, ethereum
Embark
Framework for serverless Decentralized Applications using Ethereum, IPFS and other platforms
Stars: ✭ 3,478 (+834.95%)
Mutual labels:  blockchain, ethereum
Khipu
An enterprise blockchain platform based on Ethereum
Stars: ✭ 301 (-19.09%)
Mutual labels:  blockchain, ethereum
Unlock
Ʉnlock is a protocol for memberships built on a blockchain.
Stars: ✭ 365 (-1.88%)
Mutual labels:  blockchain, ethereum
Ethlist
The Comprehensive Ethereum Reading List
Stars: ✭ 3,576 (+861.29%)
Mutual labels:  blockchain, ethereum
Awesome Blockchains
A collection about awesome blockchains - open distributed public databases w/ crypto hashes incl. git ;-). Blockchains are the new tulips 🌷🌷🌷. Distributed is the new centralized.
Stars: ✭ 3,243 (+771.77%)
Mutual labels:  blockchain, ethereum
Squeezer
Squeezer Framework - Build serverless dApps
Stars: ✭ 3,242 (+771.51%)
Mutual labels:  blockchain, ethereum
Eventeum
A resilient Ethereum event listener that bridges your smart contract events and backend microservices
Stars: ✭ 272 (-26.88%)
Mutual labels:  blockchain, ethereum
Love Ethereum
区块链学习
Stars: ✭ 323 (-13.17%)
Mutual labels:  blockchain, ethereum
Ethvm
⚡️EthVM: Open Source Processing Engine and Block Explorer for Ethereum ⚡️
Stars: ✭ 319 (-14.25%)
Mutual labels:  blockchain, ethereum
Web3j
Lightweight Java and Android library for integration with Ethereum clients
Stars: ✭ 3,537 (+850.81%)
Mutual labels:  blockchain, ethereum
Buidl
A browser-based IDE for creating, deploying, and sharing blockchain apps (DApps, or decentralized apps). Publish your first blockchain DApps in 5 minutes! Here is how: https://docs.secondstate.io/buidl-developer-tool/getting-started
Stars: ✭ 376 (+1.08%)
Mutual labels:  blockchain, ethereum
0xdeca10b
Sharing Updatable Models (SUM) on Blockchain
Stars: ✭ 285 (-23.39%)
Mutual labels:  blockchain, ethereum
Uport Connect
Main uPort library for front end developers
Stars: ✭ 295 (-20.7%)
Mutual labels:  blockchain, ethereum
Yearn Protocol
Yearn smart contracts
Stars: ✭ 277 (-25.54%)
Mutual labels:  blockchain, ethereum
Cryptolist
Curated collection of blockchain & cryptocurrency resources.
Stars: ✭ 3,501 (+841.13%)
Mutual labels:  blockchain, ethereum
Celo Monorepo
Official repository for core projects comprising the Celo platform
Stars: ✭ 269 (-27.69%)
Mutual labels:  blockchain, ethereum
Weiwallet Ios
Wei Wallet is an open source Ethereum wallet for iOS
Stars: ✭ 271 (-27.15%)
Mutual labels:  blockchain, ethereum
Contracts
[DEPRECATED] 0x smart contracts and tests.
Stars: ✭ 317 (-14.78%)
Mutual labels:  blockchain, ethereum
Colonynetwork
Colony Network smart contracts
Stars: ✭ 351 (-5.65%)
Mutual labels:  blockchain, ethereum

TrueBlocks Core

GitHub repo size GitHub contributors GitHub stars GitHub forks Twitter Follow

TrueBlocks allows you to build local-first, fully-decentralized applications using data directly from an Ethereum node. It does this through two mechanisms:

  1. A lightning-fast index of every appearance of every addresses on the chain, and
  2. A binary cache of only the data your application extracts.

Local-first means your application is private by default, the client-side cache means your application is fast, and extraction-on-demand means your application will remain minimal.

How does TrueBlocks Work?

Prerequisites


Before building TrueBlocks, you need to make sure you have git, cmake, clang-format, and go available.

Follow these instructions for installing golang on your system.

Complete these commands to install git, cmake, and clang-format:

On Linux:

sudo apt install build-essential git cmake python python-dev libcurl3-dev clang-format jq

On Mac:

brew install cmake
brew install git
brew install clang-format
brew install jq

Building TrueBlocks

Currently, you must build TrueBlocks from source:

git clone [email protected]:TrueBlocks/trueblocks-core.git
cd trueblocks-core
mkdir build && cd build
cmake ../src
make

This will create a series of executables in the ./bin folder at the top of the repo. The following instructions assume you've added this folder to your $PATH.

Does TrueBlocks Work on Windows?

Testing Installation


After building TrueBlocks, you may test your configuration with this command:

chifra --version

For a complete list of available commands, run this command:

chifra --help

Next, let's see if you can get a block from your Ethereum node. Enter this command:

chifra blocks 1000

This should return valid JSON data for block 1,000 (type getBlock --help for more options on this tool.) If you get an error, such as this:

Warning: The Ethereum RPC: 'http://localhost:8545' was not found. Quitting...

You need to edit the file ~/.quickBlocks/quickBlocks.toml to provide the URL of an available Ethereum RPC provider. Enter this text (adding the settings sections if it's not present):

[settings]
rpcProvider="<url-to-your-rpc-provider>

Once you get chifra blocks to return JSON data, you are ready to test your installtion. While optional, one of the tools (ethslurp) requires an Etherscan key. Get an EtherScan API key now, then run:

make tests

Using TrueBlocks


The chifra tool is the basis for everything related to TrueBlocks. (chifra is derived from the Arabic word for chipher.) It helps you decipher chain data.

Running the API

Using the Command Line

Using the Libraries

Where to Go from Here...

Full Documentation...

Contributing to TrueBlocks


Please see information about our work flow before proceeding.

  1. Fork this repository into your own repo.
  2. Create a branch: git checkout -b <branch_name>.
  3. Make changes and commit them: git commit -m '<commit_message>'
  4. Push to the original branch: git push origin TrueBlocks/trueblocks-core
  5. Create the pull request.

Contributors


Thanks to the following people who have contributed to this project:

Contact


If you have specific requests, contact us here [email protected].

License


This project licensed under the Apache License Version 2.0.

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].