Categorygithub.com/dxchainnetwork/godx
modulepackage
1.0.1
Repository: https://github.com/dxchainnetwork/godx.git
Documentation: pkg.go.dev

# README

Go DX

Welcome to the official Go implementation of DxChain protocol!

CircleCI Go Report Card Coverage Golang release License Open Source Love

gdx program is built on top of the DxChain protocol. DxChain is a blockchain based P2P network for data storage. The core feature is that user can upload data to the network as storage client or provide data storage service for other peers in the network as a storage host. In addition, DxChain also contains features that are supported by other blockchain, such as distributed ledger and smart contracts.

NOTE: the master branch will always contain the most active code. However, it is not stable.

Table of contents:

Section 1. Getting Started

To build the project from the source code, please following the following instructions:

  • For MacOS or Linux, please click here
  • For Windows, please click here

Section 2. Running gdx

To run the node, please use the following command:

$ gdx

Section 3. Tutorial

Before looking through specific tutorials, please following the preparation instructions first

For the storage tutorial, please click here

For the DPoS tutorial, please click here

License

GoDx is released under the Apache 2.0 License. See LICENSE for more information.

Appendix

Templates

Contribution is welcome, see Contributing for more details

Contact

Thank you so much for your support and your confidence in this project. If you have any question, please do not hesitated to contact us via [email protected]

# Packages

Package accounts implements high level Ethereum account management.
No description provided by the author
No description provided by the author
Package consensus implements different Ethereum consensus engines.
No description provided by the author
No description provided by the author
No description provided by the author
Package ethstats implements the network stats reporting service.
No description provided by the author
Package light implements on-demand retrieval capable state and chain objects for the Ethereum Light Client.
No description provided by the author
Package miner implements Ethereum block creation and mining.
No description provided by the author
No description provided by the author

# Variables

NotFound is returned by API methods if the requested item does not exist.

# Structs

CallMsg contains parameters for contract calls.
FilterQuery contains options for contract log filtering.
SyncProgress gives progress indications when the node is synchronising with the Ethereum network.

# Interfaces

ChainReader provides access to the blockchain.
ChainStateReader wraps access to the state trie of the canonical blockchain.
ChainSyncReader wraps access to the node's current sync status.
A ContractCaller provides contract calls, essentially transactions that are executed by the EVM but not mined into the blockchain.
GasEstimator wraps EstimateGas, which tries to estimate the gas needed to execute a specific transaction based on the pending state.
GasPricer wraps the gas price oracle, which monitors the blockchain to determine the optimal gas price given current fee market conditions.
LogFilterer provides access to contract log events using a one-off query or continuous event subscription.
PendingContractCaller can be used to perform calls against the pending state.
A PendingStateEventer provides access to real time notifications about changes to the pending state.
A PendingStateReader provides access to the pending state, which is the result of all known executable transactions which have not yet been included in the blockchain.
Subscription represents an event subscription where events are delivered on a data channel.
TransactionReader provides access to past transactions and their receipts.
TransactionSender wraps transaction sending.