Skip to content
This repository has been archived by the owner on Jan 17, 2021. It is now read-only.

rgb-archive/bifrost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RGB - Bifröst

Bifröst, the RGB "bridge" Server.

A server to store proofs for client-side validation, as explained in RGB Protocol Specification #03 : Networking.

Installation

  1. Install Rust and Cargo: curl https://sh.rustup.rs -sSf | sh
  2. Build the project: cargo build

When the build is completed, the executable will be located at ./target/debug/bifrost.

For convenience, it can be useful to temporarily add the directory to your PATH, like so:

export PATH=$(readlink -f ./target/debug):$PATH

Make sure that you can now run the executable with:

bifrost --version

Configuration

Bifröst, like its client Kaleidoscope and Bitcoin, has a "home" data directory, which is used to store the database of proofs.

By default, the data directory is $HOME/.rgb-server. This can be overridden by adding the --datadir <NEWDIR> (or -d <NEWDIR>) to each command.

If the directory does not exist, Bifröst will create it.

Running

cargo run -- --port 80

Interacting with Bifröst

Use the client Kaleidoscope to interact with this server. In .rgb/rgb.conf set "default_server": "localhost:3000".

As proofs are uploaded, they will be stored in ~/.rgb-server.

About

Bifröst, the RGB "bridge" Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages