Dsn

module
v0.0.0-...-af1d8da Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2025 License: BSD-2-Clause

README

rockx Logo

dsn

Building & Documentation

Note: The default main branch is the latest stable branch, checkout the most recent [Latest release].

Basic Build Instructions

Go

To build dsn client, you need a working installation of Go 1.23 or higher:

wget -c https://golang.org/dl/go1.23.linux-amd64.tar.gz -O - | sudo tar -xz -C /usr/local

TIP: You'll need to add /usr/local/go/bin to your path. For most Linux distributions you can run something like:

echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.bashrc && source ~/.bashrc

Build dsn client

Once all the dependencies are installed, you can build the dsn-cli

  1. Clone the repository:

    git clone https://github.com/Bedrock-Technology/dsn.git
    cd dsn/
    

Note: The default branch main is the pro branch where the latest new features, bug fixes and improvement are in.

  1. Build:

    make dsn-cli
    
  2. Use

    ./dsn-cli --config ./yaml/dsn.yaml run
    ./dsn-cli --config ./yaml/dsn.yaml sql --rpc http://127.0.0.1:8570/dsn/load --toml-file ./toml/redeem_eth.toml
    

Directories

Path Synopsis
app
api
db
dsn
cmd
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL