All Projects → onflow → Flow Go

onflow / Flow Go

Licence: agpl-3.0
A fast, secure, and developer-friendly blockchain built to support the next generation of games, apps, and the digital assets that power them.

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects
flow
126 projects

Projects that are alternatives of or similar to Flow Go

Ark Js
An ARK Client for JavaScript.
Stars: ✭ 103 (-4.63%)
Mutual labels:  blockchain
Web3js Tracker Example
Blockchain transactions tracker example for ETH and ERC20 tokens made with web3.js
Stars: ✭ 107 (-0.93%)
Mutual labels:  blockchain
Iroha Android
Android library for Iroha, a Distributed Ledger Technology (blockchain) platform.
Stars: ✭ 108 (+0%)
Mutual labels:  blockchain
Dcrdata
Decred block explorer, with packages and apps for data collection and storage. Written in Go.
Stars: ✭ 104 (-3.7%)
Mutual labels:  blockchain
Chainweb Node
Chainweb: A Proof-of-Work Parallel-Chain Architecture for Massive Throughput
Stars: ✭ 106 (-1.85%)
Mutual labels:  blockchain
Learn Solidity With Examples
A repo full of smart contracts written in Solidity
Stars: ✭ 106 (-1.85%)
Mutual labels:  blockchain
Smart Contract Sanctuary
🐦🌴🌴🌴🦕 A home for ethereum smart contracts. 🏠
Stars: ✭ 99 (-8.33%)
Mutual labels:  blockchain
Dex Protocols
A list of protocols for decentralized exchange
Stars: ✭ 109 (+0.93%)
Mutual labels:  blockchain
Klaytn
Official Go implementation of the Klaytn protocol
Stars: ✭ 107 (-0.93%)
Mutual labels:  blockchain
Ergo
The Language for Smart Legal Contracts
Stars: ✭ 108 (+0%)
Mutual labels:  blockchain
Gxchain Explorer
GXChain explorer(GXChain区块链浏览器)
Stars: ✭ 105 (-2.78%)
Mutual labels:  blockchain
Dai Universe
Money legos all the way down
Stars: ✭ 106 (-1.85%)
Mutual labels:  blockchain
Truffle
A tool for developing smart contracts. Crafted with the finest cacaos.
Stars: ✭ 11,909 (+10926.85%)
Mutual labels:  blockchain
Magiccube
Bottos Blockchain Service Layer, Decentralized App Platform
Stars: ✭ 104 (-3.7%)
Mutual labels:  blockchain
Flow Go Sdk
Tools for building Go applications on Flow 🌊
Stars: ✭ 109 (+0.93%)
Mutual labels:  blockchain
Todo List Fabricv1
A todo list application using Hyperledger Fabric V1 as a data source
Stars: ✭ 103 (-4.63%)
Mutual labels:  blockchain
Ot Node
OriginTrail network node
Stars: ✭ 107 (-0.93%)
Mutual labels:  blockchain
Awesome Iota
A community driven list of useful IOTA blogs, articles, videos and tools.
Stars: ✭ 109 (+0.93%)
Mutual labels:  blockchain
Polkadot Secure Validator
Polkadot Validator Secure Setup
Stars: ✭ 108 (+0%)
Mutual labels:  blockchain
Ouroboros Network
An implementation of the Ouroboros family of consensus algorithms, with its networking support
Stars: ✭ 108 (+0%)
Mutual labels:  blockchain

Flow GoDoc

Flow is a fast, secure, and developer-friendly blockchain built to support the next generation of games, apps and the digital assets that power them. Read more about it here.

Table of Contents

Getting started

Documentation

You can find an overview of the Flow architecture on the documentation website.

Development on Flow is divided into work streams. Each work stream has a home directory containing high-level documentation for the stream, as well as links to documentation for relevant components used by that work stream.

The following table lists all work streams and links to their home directory and documentation:

Work Stream Home directory
Access Node /cmd/access
Collection Node /cmd/collection
Consensus Node /cmd/consensus
Execution Node /engine/execution
Verification Node /cmd/verification
HotStuff /consensus/hotstuff
Storage /storage
Ledger /ledger
Networking /network
Cryptography /crypto

Installation

Clone Repository

  • Clone this repository
  • Clone this repository's submodules:
git submodule update --init --recursive

Install Dependencies

  • Install Go (Flow supports Go 1.13 and later)
  • Install CMake, which is used for building the crypto library
  • Install Docker, which is used for running a local network and integration tests
  • All remaining dependencies can be installed automatically:
make install-tools

At this point, you should be ready to build, test, and run Flow! 🎉

Note: if there is error about "relic" or "crypto", trying force removing the relic build and reinstall the tools again:

rm -rf crypto/relic
make install-tools

Development Workflow

Testing

Flow has a unit test suite and an integration test suite. Unit tests for a module live within the module they are testing. Integration tests live in integration/tests.

Run the unit test suite:

make test

Run the integration test suite:

make integration-test

Building

The recommended way to build and run Flow for local development is using Docker.

Build a Docker image for all nodes:

make docker-build-flow

Build a Docker image for a particular node role (replace $ROLE with collection, consensus, etc.):

make docker-build-$ROLE

Local Network

A local version of the network can be run for manual testing and integration. See the Local Network Guide for instructions.

Code Generation

Generated code is kept up to date in the repository, so should be committed whenever it changes.

Run all code generators:

make generate

Generate protobuf stubs:

make generate-proto

Generate mocks used for unit tests:

make generate-mocks
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].