AccumulateNetwork / factom

Types and methods for the Factom blockchain and an RPC Client for factomd's and factom-walletd's APIs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

package factom

GoDoc

Package factom provides fundamental types for the Factom blockchain, and uses the factomd JSON-RPC 2.0 API to populate data.

This package was originally created as part of the Factom Asset Token Daemon to replace package github.com/FactomProject/factom.

Features

  • Oriented around the Factom data types, not the factomd API
  • UnmarshalBinary and MarshalBinary implemented for all Factom data structure types
  • Load a DBlock by Height or KeyMR
  • Load an EBlock by KeyMR and ChainID, or load the latest EBlock for a ChainID
  • Load an Entry by Hash
  • Create a new Entry for an existing ChainID or create the first Entry of a new chain
  • Work with FA/FsAddresses and EC/EcAddresses
  • Load an Identity and its IDKeys
  • Work with ID1-4Keys

Contributing

This repo is heavily influenced by the Factom Asset Token Daemon repo. As such the CONTRIBUTING.md and CODE_POLICY.md files from that repo are required reading for contributing.

About

Types and methods for the Factom blockchain and an RPC Client for factomd's and factom-walletd's APIs

License:MIT License


Languages

Language:Go 100.0%