Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 1.3% on proxy.golang.org
Top 0.5% dependent packages on proxy.golang.org
Top 0.7% dependent repos on proxy.golang.org
Top 1.7% forks on proxy.golang.org
Top 1.5% docker downloads on proxy.golang.org

proxy.golang.org : github.com/decred/dcrd/dcrjson/v3

Package dcrjson provides infrastructure for working with Decred JSON-RPC APIs. When communicating via the JSON-RPC protocol, all requests and responses must be marshalled to and from the wire in the appropriate format. This package provides infrastructure and primitives to ease this process. This information is not necessary in order to use this package, but it does provide some intuition into what the marshalling and unmarshalling that is discussed below is doing under the hood. As defined by the JSON-RPC spec, there are effectively two forms of messages on the wire: Request Objects {"jsonrpc":"1.0","id":"SOMEID","method":"SOMEMETHOD","params":[SOMEPARAMS]} NOTE: Notifications are the same format except the id field is null. Response Objects {"result":SOMETHING,"error":null,"id":"SOMEID"} {"result":null,"error":{"code":SOMEINT,"message":SOMESTRING},"id":"SOMEID"} For requests, the params field can vary in what it contains depending on the method (a.k.a. command) being sent. Each parameter can be as simple as an int or a complex structure containing many nested fields. The id field is used to identify a request and will be included in the associated response. When working with streamed RPC transports, such as websockets, spontaneous notifications are also possible. As indicated, they are the same as a request object, except they have the id field set to null. Therefore, servers will ignore requests with the id field set to null, while clients can choose to consume or ignore them. Unfortunately, the original Bitcoin JSON-RPC API (and hence anything compatible with it) doesn't always follow the spec and will sometimes return an error string in the result field with a null error for certain commands. However, for the most part, the error field will be set as described on failure. To simplify the marshalling of the requests and responses, the MarshalCmd and MarshalResponse functions are provided. They return the raw bytes ready to be sent across the wire. Unmarshalling a received Request object is a two step process: This approach is used since it provides the caller with access to the additional fields in the request that are not part of the command such as the ID. Unmarshalling a received Response object is also a two step process: As above, this approach is used since it provides the caller with access to the fields in the response such as the ID and Error. This package provides the NewCmd function which takes a method (command) name and variable arguments. The function includes full checking to ensure the parameters are accurate according to provided method, however these checks are, obviously, run-time which means any mistakes won't be found until the code is actually executed. However, it is quite useful for user-supplied commands that are intentionally dynamic. External packages can and should implement types implementing Command for use with MarshalCmd/ParseParams. The command handling of this package is built around the concept of registered commands. This is true for the wide variety of commands already provided by the package, but it also means caller can easily provide custom commands with all of the same functionality as the built-in commands. Use the RegisterCmd function for this purpose. A list of all registered methods can be obtained with the RegisteredCmdMethods function. All registered commands are registered with flags that identify information such as whether the command applies to a chain server, wallet server, or is a notification along with the method name to use. These flags can be obtained with the MethodUsageFlags flags, and the method can be obtained with the CmdMethod function. To facilitate providing consistent help to users of the RPC server, this package exposes the GenerateHelp and function which uses reflection on registered commands or notifications to generate the final help text. In addition, the MethodUsageText function is provided to generate consistent one-line usage for registered commands and notifications using reflection. There are 2 distinct type of errors supported by this package: The first category of errors (type Error) typically indicates a programmer error and can be avoided by properly using the API. Errors of this type will be returned from the various functions available in this package. They identify issues such as unsupported field types, attempts to register malformed commands, and attempting to create a new command with an improper number of parameters. The specific reason for the error can be detected by type asserting it to a *dcrjson.Error and accessing the ErrorCode field. The second category of errors (type RPCError), on the other hand, are useful for returning errors to RPC clients. Consequently, they are used in the previously described Response type. This example demonstrates how to unmarshal a JSON-RPC response and then unmarshal the result field in the response to a concrete type.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/decred/dcrd/dcrjson/v3
Keywords: blockchain, cryptocurrency, dcrd, decred, decred-daemon, decred-nodes, go, golang, p2p, peer-to-peer
License: ISC
Latest release: almost 1 year ago
First release: almost 5 years ago
Namespace: github.com/decred/dcrd/dcrjson
Dependent packages: 91
Dependent repositories: 72
Stars: 687 on GitHub
Forks: 281 on GitHub
Docker dependents: 5
Docker downloads: 3,117
See more repository details: repos.ecosyste.ms
Last synced: 3 days ago

Top 7.4% on proxy.golang.org
github.com/mladenmarkov/blockbook v0.4.2
3 versions - Latest release: about 1 month ago
Top 8.2% on proxy.golang.org
github.com/decred/lnd v0.6.0
23 versions - Latest release: 4 months ago
Top 4.1% on proxy.golang.org
github.com/decred/dcrlnd v0.5.0
Decred Lightning Network Daemon ⚡️
21 versions - Latest release: 6 months ago - 3 dependent packages - 5 dependent repositories - 33 stars on GitHub
Top 2.2% on proxy.golang.org
decred.org/dcrdex v0.6.3
The Decred Decentralized Exchange (DEX), powered by atomic-swaps.
43 versions - Latest release: 9 months ago - 22 dependent packages - 18 dependent repositories - 144 stars on GitHub
Top 5.2% on proxy.golang.org
github.com/decred/dcrdex v0.6.3
The Decred Decentralized Exchange (DEX), powered by atomic-swaps.
43 versions - Latest release: 9 months ago - 1 dependent package - 144 stars on GitHub
github.com/cryptohub-digital/blockbook-fork v0.0.0-20230713133354-673c927af7f1
:blue_book: Trezor address/account balance backend
1 version - Latest release: 11 months ago - 0 stars on GitHub
Top 1.7% on proxy.golang.org
github.com/decred/dcrd/rpcclient/v6 v6.0.3
Package rpcclient implements a websocket-enabled Decred JSON-RPC client. This client provides a ...
4 versions - Latest release: almost 1 year ago - 14 dependent packages - 20 dependent repositories - 687 stars on GitHub
Top 1.6% on proxy.golang.org
github.com/decred/dcrd/rpcclient/v5 v5.0.2
Package rpcclient implements a websocket-enabled Decred JSON-RPC client. This client provides a ...
3 versions - Latest release: almost 1 year ago - 24 dependent packages - 11 dependent repositories - 687 stars on GitHub
Top 1.7% on proxy.golang.org
github.com/decred/dcrd/rpcclient/v4 v4.0.1
Package rpcclient implements a websocket-enabled Decred JSON-RPC client. This client provides a ...
2 versions - Latest release: almost 1 year ago - 14 dependent packages - 22 dependent repositories - 687 stars on GitHub
Top 3.3% on proxy.golang.org
github.com/decred/dcrd/rpcclient/v3 v3.0.1
Package rpcclient implements a websocket-enabled Decred JSON-RPC client. This client provides a ...
2 versions - Latest release: almost 1 year ago - 11 dependent packages - 687 stars on GitHub
Top 1.4% on proxy.golang.org
github.com/decred/dcrd/rpc/jsonrpc/types/v2 v2.3.1
Package types implements concrete types for marshalling to and from the dcrd JSON-RPC commands, r...
5 versions - Latest release: almost 1 year ago - 63 dependent packages - 36 dependent repositories - 687 stars on GitHub
Top 8.2% on proxy.golang.org
decred.org/dcrd/rpc/jsonrpc/types/v2 v2.3.1
5 versions - Latest release: almost 1 year ago
Top 8.2% on proxy.golang.org
decred.org/dcrd/rpc/jsonrpc/types v1.0.2
3 versions - Latest release: almost 1 year ago
Top 1.4% on proxy.golang.org
github.com/decred/dcrd/rpc/jsonrpc/types v1.0.2
Decred daemon in Go (golang).
3 versions - Latest release: almost 1 year ago - 56 dependent packages - 37 dependent repositories - 687 stars on GitHub
Top 1.6% on proxy.golang.org
github.com/decred/dcrd/dcrjson/v2 v2.2.1
Package dcrjson provides primitives for working with the Decred JSON-RPC API. When communicating...
4 versions - Latest release: almost 1 year ago - 123 dependent packages - 9 dependent repositories - 687 stars on GitHub
github.com/matheusd/dcrlnd v0.4.0
Decred Lightning Network Daemon ⚡️
22 versions - Latest release: about 1 year ago - 1 dependent repositories - 1 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/chadouming/blockbook v0.0.0-20230522201718-fae8f5aff8a3
:blue_book: Trezor address/account balance backend
3 versions - Latest release: about 1 year ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/trezor/blockbook v0.4.0 💰
:blue_book: Trezor address/account balance backend
15 versions - Latest release: over 1 year ago - 527 stars on GitHub
Top 9.1% on proxy.golang.org
github.com/cerberus-wallet/blockbook v0.4.0
:blue_book: Trezor address/account balance backend
15 versions - Latest release: over 1 year ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/MIPPLTeam/blockbook-sin v0.4.0
:blue_book: Trezor address/account balance backend
15 versions - Latest release: over 1 year ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/mipplteam/blockbook-sin v0.4.0
:blue_book: Trezor address/account balance backend
15 versions - Latest release: over 1 year ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/nikunjvaghasiya01/blockbook v1.0.0
:blue_book: Trezor address/account balance backend
1 version - Latest release: over 1 year ago - 0 stars on GitHub
Top 2.4% on proxy.golang.org
github.com/decred/politeia v1.4.0
9 versions - Latest release: almost 2 years ago - 29 dependent packages - 15 dependent repositories - 108 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/Decred-Next/dcrnd v1.5.1
dcrd is a full-node Decred implementation written in Go. The default options are sane for most u...
39 versions - Latest release: about 2 years ago
Top 8.2% on proxy.golang.org
github.com/btclinux/blockbook v0.3.6
:blue_book: Trezor address/account balance backend
14 versions - Latest release: over 2 years ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/mosqueiro/blockbook v0.3.6
:blue_book: Trezor address/account balance backend
14 versions - Latest release: over 2 years ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/crptec/blockbook v0.3.6
:blue_book: Trezor address/account balance backend
14 versions - Latest release: over 2 years ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/liquid369/blockbook v0.3.6
:blue_book: Trezor address/account balance backend
14 versions - Latest release: over 2 years ago - 0 stars on GitHub
Top 9.0% on proxy.golang.org
github.com/pingexchange/blockbook v0.3.6
14 versions - Latest release: over 2 years ago - 0 stars on GitHub
Top 4.3% on proxy.golang.org
github.com/decred/dcrdata/gov/v4 v4.0.0
Decred block explorer, with packages and apps for data collection and storage. Written in Go.
1 version - Latest release: almost 3 years ago - 1 dependent package - 1 dependent repositories - 124 stars on GitHub
Top 10.0% on proxy.golang.org
github.com/ukane-philemon/dcrdex v0.2.2
The Decred Decentralized Exchange (DEX), powered by atomic-swaps.
11 versions - Latest release: almost 3 years ago - 0 stars on GitHub
Top 4.1% on proxy.golang.org
github.com/chappjc/dcrdex v0.2.1 removed
9 versions - Latest release: almost 3 years ago
Top 5.9% on proxy.golang.org
github.com/decred/dcrpool v1.2.0
decred mining pool
11 versions - Latest release: almost 3 years ago - 22 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/decred-next/dcrnpool v1.2.0
11 versions - Latest release: almost 3 years ago
Top 9.8% on proxy.golang.org
github.com/sebitt27/dcrpool v1.2.0
decred mining pool
11 versions - Latest release: almost 3 years ago - 0 stars on GitHub
Top 9.0% on proxy.golang.org
github.com/stibits-inc/blockbook v0.3.6
:blue_book: Trezor address/account balance backend
14 versions - Latest release: almost 3 years ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/phoreproject/blockbook v0.3.6
:blue_book: TREZOR address/account balance backend
14 versions - Latest release: about 3 years ago - 1 stars on GitHub
Top 6.4% on proxy.golang.org
github.com/almightyhelp/blockbook v0.4.1
20 versions - Latest release: about 3 years ago - 2 dependent packages
Top 8.2% on proxy.golang.org
github.com/sillyghost/blockbook v0.3.5
:blue_book: Trezor address/account balance backend
13 versions - Latest release: about 3 years ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/funcoin-project/blockbook v0.3.5
📘 Trezor address/account balance backend
13 versions - Latest release: about 3 years ago - 0 stars on GitHub
Top 4.1% on proxy.golang.org
github.com/raininfotech18/OduwaBlockbook v1.0.1 removed
1 version - Latest release: about 3 years ago
Top 5.0% on proxy.golang.org
github.com/Decred/dcrwallet v1.7.1
A secure Decred wallet daemon written in Go (golang).
57 versions - Latest release: about 3 years ago - 196 stars on GitHub
Top 9.5% on proxy.golang.org
github.com/dcrnofficial/dcrnwallet v1.7.1
57 versions - Latest release: about 3 years ago - 1 stars on GitHub
Top 2.0% on proxy.golang.org
github.com/decred/dcrwallet v1.7.1
A secure Decred wallet daemon written in Go (golang).
57 versions - Latest release: about 3 years ago - 28 dependent packages - 27 dependent repositories - 196 stars on GitHub
Top 9.0% on proxy.golang.org
github.com/junyang100/dcrnwallet v1.7.1
57 versions - Latest release: about 3 years ago - 0 stars on GitHub
Top 9.0% on proxy.golang.org
github.com/ji394vul3m6/dcrwallet v1.7.1
A secure Decred wallet daemon written in Go (golang).
57 versions - Latest release: about 3 years ago - 0 stars on GitHub
Top 8.1% on proxy.golang.org
github.com/decred-next/dcrnwallet v1.7.1
57 versions - Latest release: about 3 years ago - 1 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/decred/btcwallet v1.7.1
57 versions - Latest release: about 3 years ago
Top 2.0% on proxy.golang.org
decred.org/dcrwallet v1.7.1
A secure Decred wallet daemon written in Go (golang).
57 versions - Latest release: about 3 years ago - 30 dependent packages - 34 dependent repositories - 208 stars on GitHub
github.com/matheusd/dcrwallet v1.7.1
A secure Decred wallet daemon written in Go (golang).
57 versions - Latest release: about 3 years ago - 1 dependent repositories - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/vikingshield/dcrwallet v1.7.1
A secure Decred wallet daemon written in Go (golang).
62 versions - Latest release: about 3 years ago - 0 stars on GitHub
Top 8.1% on proxy.golang.org
github.com/Decred-Next/dcrnwallet v1.7.1
57 versions - Latest release: about 3 years ago - 1 stars on
Top 4.1% on proxy.golang.org
github.com/decred/dcrctl v1.6.2 removed
2 versions - Latest release: about 3 years ago
Top 7.0% on proxy.golang.org
decred.org/dcrctl v1.6.2
Command-line client for interacting with the JSON-RPC servers of dcrd and dcrwallet
2 versions - Latest release: about 3 years ago - 1 dependent repositories - 4 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/decred-next/dcrnctl v1.6.2
2 versions - Latest release: about 3 years ago
Top 8.1% on proxy.golang.org
github.com/John-Tonny/vclsuite_vcld/rpc/jsonrpc/types/v2 v2.3.4
Package types implements concrete types for marshalling to and from the dcrd JSON-RPC commands, r...
4 versions - Latest release: about 3 years ago - 2 dependent packages - 0 stars on GitHub
Top 8.1% on proxy.golang.org
github.com/John-Tonny/vclsuite_vcld/rpcclient/v6 v6.0.6
Package rpcclient implements a websocket-enabled Decred JSON-RPC client. This client provides a ...
5 versions - Latest release: about 3 years ago - 2 dependent packages - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/John-Tonny/vclsuite_vclwallet v1.6.2
A secure bitcoin wallet daemon written in Go (golang)
4 versions - Latest release: over 3 years ago - 0 stars on GitHub
Top 4.1% on proxy.golang.org
github.com/john-tonny/vclsuite_vclwallet v1.6.2 removed
4 versions - Latest release: over 3 years ago
Top 8.2% on proxy.golang.org
github.com/chappjc/dcrwallet v1.6.2
A secure decred wallet daemon written in Go (golang)
55 versions - Latest release: over 3 years ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/C-ollins/dcrwallet v1.6.0
A secure Decred wallet daemon written in Go (golang).
53 versions - Latest release: over 3 years ago - 0 stars on GitHub
Top 9.0% on proxy.golang.org
github.com/c-ollins/dcrwallet v1.6.0
A secure Decred wallet daemon written in Go (golang).
53 versions - Latest release: over 3 years ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/decred-next/dcrnd/rpc/jsonrpc/types/v2 v2.3.0
4 versions - Latest release: over 3 years ago
Top 1.4% on proxy.golang.org
github.com/Decred-Next/dcrnd/rpc/jsonrpc/types/v2 v2.3.0 removed
4 versions - Latest release: over 3 years ago - 12 dependent packages
Top 1.6% on proxy.golang.org
github.com/hdfchain/hdfd/rpc/jsonrpc/types v1.3.0 removed
5 versions - Latest release: over 3 years ago - 7 dependent packages
Top 8.6% on proxy.golang.org
github.com/hdfchain/hdfd v1.5.2
hdfd is a full-node Decred implementation written in Go. The default options are sane for most u...
5 versions - Latest release: over 3 years ago - 1 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/marcopeereboom/dcrpool v1.1.0
decred mining pool
7 versions - Latest release: almost 4 years ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/Decred-Next/dcrnd/rpcclient/v5 v5.0.1
2 versions - Latest release: almost 4 years ago
Top 8.2% on proxy.golang.org
github.com/decred-next/dcrnd/rpcclient/v5 v5.0.1
2 versions - Latest release: almost 4 years ago
Top 8.2% on proxy.golang.org
github.com/decred/github-tracker v0.1.1
2 versions - Latest release: about 4 years ago
Top 8.2% on proxy.golang.org
github.com/Eacred/ecrd/rpcclient/v5 v5.0.8
8 versions - Latest release: over 4 years ago
Top 7.2% on proxy.golang.org
github.com/raedahgroup/dcrwallet v1.5.1
37 versions - Latest release: over 4 years ago - 1 dependent repositories
Top 8.2% on proxy.golang.org
github.com/justinsantoro/dcrwallet v1.5.1
A secure Decred wallet daemon written in Go (golang).
44 versions - Latest release: over 4 years ago - 0 stars on GitHub
Top 5.0% on proxy.golang.org
github.com/jrick/dcrwallet v1.5.1
A secure Decred wallet daemon written in Go (golang).
44 versions - Latest release: over 4 years ago - 0 stars on GitHub
Top 4.0% on proxy.golang.org
github.com/Eacred/ecrwallet/rpc/jsonrpc/types v1.4.4 removed
5 versions - Latest release: over 4 years ago - 2 dependent packages - 2 dependent repositories
Top 5.1% on proxy.golang.org
github.com/Eacred/ecrd/rpc/jsonrpc/types/v2 v2.0.2 removed
3 versions - Latest release: over 4 years ago - 3 dependent packages - 1 dependent repositories
Top 1.8% on proxy.golang.org
github.com/decred/dcrwallet/rpc/jsonrpc/types v1.4.0
Package types implements concrete types for the dcrwallet JSON-RPC API. When communicating via t...
5 versions - Latest release: over 4 years ago - 50 dependent packages - 35 dependent repositories - 196 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/Decred-Next/dcrnwallet/rpc/jsonrpc/types v1.4.0
5 versions - Latest release: over 4 years ago
Top 8.2% on proxy.golang.org
github.com/decred-next/dcrnwallet/rpc/jsonrpc/types v1.4.0
5 versions - Latest release: over 4 years ago
Top 5.0% on proxy.golang.org
decred.org/dcrwallet/rpc/jsonrpc/types v1.4.0
Package types implements concrete types for the dcrwallet JSON-RPC API. When communicating via t...
5 versions - Latest release: over 4 years ago - 210 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/Eacred/ecrwallet v1.5.0
9 versions - Latest release: over 4 years ago
Top 3.9% on proxy.golang.org
github.com/decred/dcrdata/gov/v3 v3.0.0
Decred block explorer, with packages and apps for data collection and storage. Written in Go.
1 version - Latest release: over 4 years ago - 1 dependent package - 2 dependent repositories - 124 stars on GitHub
Top 2.8% on proxy.golang.org
github.com/Eacred/dcrwallet/rpc/jsonrpc/types v1.3.0 removed
1 version - Latest release: over 4 years ago - 1 dependent package
Top 4.1% on proxy.golang.org
github.com/John-Tonny/vclsuite_vcld/rpc/jsonrpc/types v1.0.1 removed
1 version - Latest release: over 4 years ago
Top 8.2% on proxy.golang.org
github.com/Decred-Next/dcrnd/rpc/jsonrpc/types v1.0.1
2 versions - Latest release: over 4 years ago
Top 9.0% on proxy.golang.org
github.com/matheusd/dcrd/rpc/jsonrpc/types v1.0.1
Decred daemon in Go (golang).
2 versions - Latest release: over 4 years ago - 0 stars on GitHub
Top 2.3% on proxy.golang.org
github.com/Eacred/ecrd/rpc/jsonrpc/types v1.0.1 removed
1 version - Latest release: over 4 years ago - 2 dependent packages
Top 8.2% on proxy.golang.org
github.com/decred-next/dcrnd/rpc/jsonrpc/types v1.0.1
2 versions - Latest release: over 4 years ago
Top 8.2% on proxy.golang.org
github.com/hiroshiz/dcrd/rpc/jsonrpc/types v1.0.1
1 version - Latest release: over 4 years ago
Top 8.2% on proxy.golang.org
github.com/john-tonny/vclsuite_vcld/rpc/jsonrpc/types v1.0.1
An alternative full node bitcoin implementation written in Go (golang)
1 version - Latest release: over 4 years ago - 0 stars on GitHub
Top 4.1% on proxy.golang.org
github.com/Eacred/ecrd/dcrjson/v2 v2.2.0 removed
1 version - Latest release: almost 5 years ago