Ecosyste.ms: Repos
An open API service providing repository metadata for many open source software ecosystems.
Package Usage: go: github.com/algorand/go-codec/codec
Package codec provides a
High Performance, Feature-Rich Idiomatic Go 1.4+ codec/encoding library
for binc, msgpack, cbor, json.
Supported Serialization formats are:
To install:
This package will carefully use 'unsafe' for performance reasons in specific places.
You can build without unsafe use by passing the safe or appengine tag
i.e. 'go install -tags=safe ...'. Note that unsafe is only supported for the last 3
go sdk versions e.g. current go release is go 1.9, so we support unsafe use only from
go 1.7+ . This is because supporting unsafe requires knowledge of implementation details.
For detailed usage information, read the primer at http://ugorji.net/blog/go-codec-primer .
The idiomatic Go support is as seen in other encoding packages in
the standard library (ie json, xml, gob, etc).
Rich Feature Set includes:
Users can register a function to handle the encoding or decoding of
their custom types.
There are no restrictions on what the custom type can be. Some examples:
As an illustration, MyStructWithUnexportedFields would normally be
encoded as an empty map because it has no exported fields, while UUID
would be encoded as a string. However, with extension support, you can
encode any of these however you like.
This package maintains symmetry in the encoding and decoding halfs.
We determine how to encode or decode by walking this decision tree
This symmetry is important to reduce chances of issues happening because the
encoding and decoding sides are out of sync e.g. decoded via very specific
encoding.TextUnmarshaler but encoded via kind-specific generalized mode.
Consequently, if a type only defines one-half of the symmetry
(e.g. it implements UnmarshalJSON() but not MarshalJSON() ),
then that type doesn't satisfy the check and we will continue walking down the
decision tree.
RPC Client and Server Codecs are implemented, so the codecs can be used
with the standard net/rpc package.
The Handle is SAFE for concurrent READ, but NOT SAFE for concurrent modification.
The Encoder and Decoder are NOT safe for concurrent use.
Consequently, the usage model is basically:
Sample usage model:
To run tests, use the following:
To run the full suite of tests, use the following:
You can run the tag 'safe' to run tests or build in safe mode. e.g.
Please see http://github.com/ugorji/go-codec-bench .
Struct fields matching the following are ignored during encoding and decoding
Every other field in a struct will be encoded/decoded.
Embedded fields are encoded as if they exist in the top-level struct,
with some caveats. See Encode documentation.
6 versions
Latest release: 11 months ago
75 dependent packages
View more package details: https://packages.ecosyste.ms/registries/proxy.golang.org/packages/github.com/algorand/go-codec/codec
View more repository details: https://repos.ecosyste.ms/hosts/GitHub/repositories/algorand%2Fgo-codec
Dependent Repos 103
swimricky/wormhole Fork of wormhole-foundation/wormhole
Certus One's reference implementation for the Wormhole blockchain interoperability protocol.- v1.1.8 node/go.mod
- v1.1.8 node/go.sum
Size: 76.7 MB - Last synced: about 1 year ago - Pushed: almost 2 years ago
brianolson/go-algorand Fork of algorand/go-algorand
Algorand's official implementation in Go.- v1.1.8 go.mod
- v1.1.8 go.sum
Size: 83.5 MB - Last synced: about 1 year ago - Pushed: over 1 year ago
algorand/indexer
searchable history and current state- v1.1.8 go.mod
- v1.1.7 go.sum
- v1.1.8 go.sum
Size: 6.32 MB - Last synced: 5 days ago - Pushed: 6 days ago
algorand/go-algorand-sdk
Algorand Golang SDK- v1.1.8 go.mod
- v1.1.8 go.sum
Size: 1.68 MB - Last synced: 22 days ago - Pushed: 26 days ago
algorand-devrel/demo-abi
- v1.1.8 go/go.mod
- v1.1.8 go/go.sum
Size: 195 KB - Last synced: 10 months ago - Pushed: over 1 year ago
barnjamin/go-algorand Fork of algorand/go-algorand
Algorand's official implementation in Go.- v1.1.8 go.mod
- v1.1.8 go.sum
Size: 93.1 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
winder/indexer Fork of algorand/indexer
searchable history and current state- v1.1.8 go.mod
- v1.1.8 go.sum
Size: 7.28 MB - Last synced: 13 days ago - Pushed: 7 months ago
frank-buddy/wormhole Fork of wormhole-foundation/wormhole
Certus One's reference implementation for the Wormhole blockchain interoperability protocol.- v1.1.8 event_database/cloud_functions/go.sum
- v1.1.8 event_database/functions_server/go.sum
- v1.1.8 node/go.mod
- v1.1.8 node/go.sum
Size: 124 MB - Last synced: about 1 year ago - Pushed: over 1 year ago
soheil555/tinyman-mobile-sdk
Tinyman mobile SDK- v1.1.8 go.mod
- v1.1.8 go.sum
Size: 183 KB - Last synced: 10 months ago - Pushed: about 2 years ago
Orca18/novarand
- v1.1.8 go.mod
- v0.0.0-20190507210007-269d70b6135d go.sum
- v1.1.8 go.sum
Size: 17.4 MB - Last synced: 10 months ago - Pushed: over 1 year ago
pzbitskiy/tealang
Tealang - high level language for Algorand ASC1 and TEAL- v0.0.0-20190507210007-269d70b6135d go.sum
Size: 765 KB - Last synced: 4 months ago - Pushed: about 2 years ago
bithyve/bithyve-wrapper
A server instance that wraps around electrs- v1.1.7 go.sum
Size: 191 KB - Last synced: about 1 year ago - Pushed: almost 2 years ago
YourPlace-Network/BetaSignUp
Beta Sign Up Application- v1.1.8 go.mod
- v1.1.8 go.sum
Size: 4.15 MB - Last synced: 6 months ago - Pushed: 7 months ago
Algomint/Algorand-MultiSig 📦
Algorand-MultiSig is an open source repo that allows Algorand devs to easily spin up an application that enables multi-sig signing.- v1.1.8 backend/go.mod
- v1.1.8 backend/go.sum
Size: 377 KB - Last synced: 4 months ago - Pushed: over 1 year ago
eventers/Eventers-Marketplace-Backend
- v1.1.7 go.sum
Size: 66.4 KB - Last synced: 12 months ago - Pushed: over 3 years ago
barnjamin/sdk-extras
- v1.1.8 go/go.mod
- v1.1.8 go/go.sum
Size: 239 KB - Last synced: about 1 year ago - Pushed: over 1 year ago
gatechain/crypto
A golang implementation of crypto library (mainly for blockchains) which includes various modern crypto algorithms such as BIP32-ed25519, VRF (Verifiable Random Function) and so on.- v0.0.0-20190507210007-269d70b6135d go.sum
Size: 2.92 MB - Last synced: 28 days ago - Pushed: 9 months ago
wormhole-foundation/wormhole
A reference implementation for the Wormhole blockchain interoperability protocol.- v1.1.8 node/go.mod
- v1.1.8 node/go.sum
Size: 155 MB - Last synced: 29 days ago - Pushed: 29 days ago
smonn/algorand-vanity
Find vanity address for Algorand accounts. Fast!- v1.1.8 go.mod
- v0.0.0-20190507210007-269d70b6135d go.sum
- v1.1.7 go.sum
- v1.1.8 go.sum
Size: 3.41 MB - Last synced: 10 months ago - Pushed: about 1 year ago
fabrice102/go-algorand-test-dns-bootstrap
Small software to help debug/test DNS bootstrap of Algorand- v0.0.0-20190507210007-269d70b6135d go.sum
Size: 33.2 KB - Last synced: 11 months ago - Pushed: about 3 years ago
Adg0/Jina
Jina collateralize your NFTs while you still hold it in your wallet!- v1.1.8 cmd/go.mod
- v1.1.8 go.mod
Size: 6.16 MB - Last synced: about 1 month ago - Pushed: about 2 years ago
polarbit/algorand-hdwallet
Algorand HDWallet implementation (slip-0010 & bip-32) trial in Go lang.- v1.1.7 go.mod
- v0.0.0-20190507210007-269d70b6135d go.sum
- v1.1.7 go.sum
Size: 9.99 MB - Last synced: 10 months ago - Pushed: over 2 years ago
almog-t/go-algorand-sdk Fork of algorand/go-algorand-sdk
Algorand Golang SDK- v1.1.8 go.mod
- v1.1.8 go.sum
Size: 1.58 MB - Last synced: 11 months ago - Pushed: over 1 year ago
vecno-io/algo-collection
- v1.1.7 go.mod
- v1.1.7 go.sum
Size: 49.8 KB - Last synced: 5 months ago - Pushed: over 2 years ago
Amina_ryo/Voting
A repository for voting systems using Choice Coin.- v1.1.7 Vote_Tutorial/go.mod
- v1.1.7 Vote_Tutorial/go.sum
Last synced: over 1 year ago
EugeneTeu/Learn-Go
learning to backend!- v1.1.7 ALGO/go.sum
Size: 8.4 MB - Last synced: about 1 year ago - Pushed: almost 3 years ago
YaleOpenLab/openx 📦
A platform of platforms for next generation funding models powered by cryptocurrencies- v1.1.7 go.sum
Size: 28.5 MB - Last synced: 4 months ago - Pushed: over 3 years ago
Varunram/essentials
A collection of essential cryptocurrency focused handlers in go to save you a few clicks- v1.1.7 go.sum
Size: 3.74 MB - Last synced: 6 months ago - Pushed: about 2 years ago
epequeno/algorand
random algorand stuff- v1.1.7 smart_contracts/simple/simple-go/go.sum
Size: 78.1 KB - Last synced: about 1 year ago - Pushed: over 2 years ago
imhunterand/wormhole Fork of wormhole-foundation/wormhole
Certus One's reference implementation for the Wormhole blockchain interoperability protocol.- v1.1.8 event_database/cloud_functions/go.sum
- v1.1.8 event_database/functions_server/go.sum
- v1.1.8 node/go.mod
- v1.1.8 node/go.sum
Size: 54.4 MB - Last synced: 18 days ago - Pushed: about 1 year ago
PurpleSquirrelMedia/wormhole Fork of wormhole-foundation/wormhole
Certus One's reference implementation for the Wormhole blockchain interoperability protocol.- v1.1.8 event_database/cloud_functions/go.sum
- v1.1.8 event_database/functions_server/go.sum
- v1.1.8 node/go.mod
- v1.1.8 node/go.sum
Size: 89.1 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
ernestosperanza/demo-abi Fork of algorand-devrel/demo-abi
- v1.1.8 go/go.mod
- v1.1.8 go/go.sum
Size: 120 KB - Last synced: about 1 year ago - Pushed: over 1 year ago
fromddy/Planet-Algorand-with-NFT
- v1.1.7 backend/go.sum
Size: 1.37 MB - Last synced: 4 months ago - Pushed: almost 3 years ago
liziblockchain/worm
- v1.1.7 node/go.mod
- v0.0.0-20190507210007-269d70b6135d node/go.sum
- v1.1.7 node/go.sum
Last synced: over 1 year ago
Open-Earth-Foundation/openfinance
- v1.1.7 go.sum
Size: 13.8 MB - Last synced: about 1 year ago - Pushed: about 2 years ago
dist1ll/algo-siam
Global State Manager for Algorand Applications- v1.1.7 go.mod
- v0.0.0-20190507210007-269d70b6135d go.sum
- v1.1.7 go.sum
Size: 1.05 MB - Last synced: 10 months ago - Pushed: about 2 years ago
algorandfoundation/did-algo
The "algo" DID Method specification and tools.- v1.1.8 go.mod
- v1.1.8 go.sum
Size: 17.7 MB - Last synced: 3 days ago - Pushed: 5 days ago
stackosofficial/stackos-token-bridge Fork of wormhole-foundation/wormhole
implementation for the blockchain interoperability protocol.- v1.1.8 node/go.mod
- v1.1.8 node/go.sum
Size: 68.5 MB - Last synced: about 1 year ago - Pushed: over 1 year ago
Aegir-Tactics/watchmen
Watchmen is a component which watches an Algorand Node for new blocks- v1.1.8 go.mod
- v1.1.8 go.sum
Size: 14.6 KB - Last synced: 20 days ago - Pushed: almost 2 years ago
blocktree/algorand-adapter
an algorand adapter for openwallet- v1.1.5-pre go.mod
Size: 65.4 KB - Last synced: about 1 month ago - Pushed: over 1 year ago
synycboom/tinyman-go-sdk
Tinyman Golang SDK- v1.1.8 go.mod
- v1.1.8 go.sum
Size: 107 KB - Last synced: 10 months ago - Pushed: about 2 years ago
kubetrail/algokey
CLI: Tool to generate Algorand cryptocurrency non-custodial wallet, keys and addresses using mnemonics that are optionally password protected or using hex seeds- v1.1.8 go.mod
- v1.1.8 go.sum
Size: 171 KB - Last synced: 10 months ago - Pushed: almost 2 years ago
AlgoNode/algostreamer
Stream new blocks to various services (redis/elasticsearch/...)- v1.1.7 go.mod
- v0.0.0-20190507210007-269d70b6135d go.sum
- v1.1.7 go.sum
Size: 192 KB - Last synced: 4 months ago - Pushed: 4 months ago
famendola1/arc69
Go client for interacting with ARC69-compliant ASA metadata- v1.1.7 go.sum
Size: 11.7 KB - Last synced: 10 months ago - Pushed: over 2 years ago
kubetrail/algotx
CLI: Tool to perform Algorand cryptocurrency transactions, check balances and transfer funds- v1.1.8 go.mod
- v1.1.8 go.sum
Size: 119 KB - Last synced: 10 months ago - Pushed: almost 2 years ago
VALEINC/wormhole
- v1.1.8 event_database/cloud_functions/go.sum
- v1.1.8 event_database/functions_server/go.sum
- v1.1.8 node/go.mod
- v1.1.8 node/go.sum
Size: 35.9 MB - Last synced: about 1 year ago - Pushed: over 1 year ago
pbennett/algo-export
Algorand account export tool- v1.1.7 go.sum
Size: 39.1 KB - Last synced: 10 months ago - Pushed: over 2 years ago
algoidurovic/go-algorand Fork of algorand/go-algorand
Algorand's official implementation in Go.- v0.0.0-20190507210007-269d70b6135d go.sum
- v0.0.0-20190507210007-269d70b6135d go.mod
Size: 80.6 MB - Last synced: 10 months ago - Pushed: over 1 year ago