daserver

command
v1.9.4 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: MIT Imports: 17 Imported by: 0

README

AltDA Server

Introduction

This simple DA server implementation supports local storage via file based storage and remote via S3. LevelDB is only recommended for usage in local devnets where connecting to S3 is not convenient. See the S3 doc for more information on how to configure the S3 client.

S3 Configuration

Depending on your cloud provider a wide array of configurations are available. The S3 client will load configurations from the environment, shared credentials and shared config files. Sample environment variables are provided below:

export AWS_ACCESS_KEY_ID=YOUR_ACCESS_KEY_ID
export AWS_SECRET_ACCESS_KEY=YOUR_SECRET_ACCESS_KEY
export AWS_SESSION_TOKEN=YOUR_SESSION_TOKEN
export AWS_REGION=YOUR_REGION

You can find out more about AWS authentication here.

Additionally, these variables can be used with a google cloud S3 endpoint as well, i.e:

export AWS_ENDPOINT_URL="https://storage.googleapis.com"
export AWS_ACCESS_KEY_ID=YOUR_GOOGLE_ACCESS_KEY_ID
export AWS_SECRET_ACCESS_KEY=YOUR_GOOGLE_ACCESS_KEY_SECRET

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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