Sitelet https://github.com/DomeNetwork/dome-lib
Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ḎOME Network - Library

Requirements

  • docker
  • docker-compose
  • go v1.18+
  • godoc
  • swag
  • swagger

Build

The build system takes advantages of build tags to allow the inclusion of specific files for targeted architectures.

There is no direct building of this library.

Test

To test the Go code run bash scripts/test.sh in a console.

Structure

A generalized overview of the folder structure.

  • /config - environment specific configurations
  • /pkg - various packages
    • /cfg - configuration helpers
    • /codec - standardized encodings (gob, hex, json)
    • /coin - supported wallet coins
    • /common - global types and utilities
    • /crypto - convenience functions
    • /db - key-value stores and SQL databases
    • /eth - a Go+JS compatible Ethereum client
    • /fetch - HTTP client that automatically handles authorization using the identity key
    • /io - IO interface for local persistence (file system, JS localStorage)
    • /log - internal log functions
    • /metric - Prometheus compatible VictoriaMetrics client adapter with Gin handler
    • /valid - validation functions for common types
    • /wallet - HD wallet interface definition and basic implementation
  • /scripts - helpful bash scripts
    • /build.sh - simplified building options
    • /test.sh - run tests, runs go test ./... but used to do more

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages