devnetkeys

package
v0.89.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package devnetkeys provides the local-only credentials used by Dingo's single-node development network.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstallLocalTestFaucet added in v0.82.0

func InstallLocalTestFaucet(dir string) error

InstallLocalTestFaucet copies only the bundled faucet credentials into dir with owner-only permissions, preserving existing producer credentials.

func InstallLocalTestFaucetInRoot added in v0.87.0

func InstallLocalTestFaucetInRoot(root *os.Root, dir string) error

InstallLocalTestFaucetInRoot copies the bundled faucet credentials into dir, resolving every operation beneath root.

func InstallLocalTestKeys

func InstallLocalTestKeys(dir string) error

InstallLocalTestKeys copies the local DevNet producer and faucet credentials into dir with owner-only permissions. Replacement is atomic on Unix; Windows uses os.Root.Rename and does not guarantee atomic replacement.

func InstallLocalTestKeysInRoot added in v0.87.0

func InstallLocalTestKeysInRoot(root *os.Root, dir string) error

InstallLocalTestKeysInRoot copies the local DevNet credentials into dir, resolving every operation beneath root.

func RestrictLocalTestDirectory added in v0.87.0

func RestrictLocalTestDirectory(root *os.Root) error

RestrictLocalTestDirectory limits an opened DevNet directory to its owner.

Types

This section is empty.

Jump to

Keyboard shortcuts

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