test_config

package
v0.1.0-alpha-7 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TestConfig = config.Config{
		Node: config.Node{
			LogLevel:  "debug",
			Validator: false,
			Port:      "8080",
			Database: config.Database{
				Host:     "127.0.0.1",
				Name:     "validator",
				Password: "validator",
				Port:     "5432",
				Username: "validator",
			},
			Clients: config.Clients{
				Evm: map[int64]config.Evm{
					3: {
						NodeUrl:            "wss://ropsten.infura.io/ws/v3/64364afbcf794ff9a00deabde636b7e1",
						BlockConfirmations: 5,
						PrivateKey:         "9f6da11eecc0fd7cb081d2aee88092ee3436397916c894ad6cd80a79009c0ded",
					},
				},
				MirrorNode: config.MirrorNode{
					ClientAddress:   "",
					ApiAddress:      "",
					PollingInterval: 0,
				},
				Hedera: config.Hedera{
					Network: "testnet",
					Operator: config.Operator{
						AccountId:  "0.0.478300",
						PrivateKey: "302e020100300506032b657004220420479934e1729d3a2a25f3cdec95862d247944635113b4f4a07ec44c5ff8ec0885",
					},
					StartTimestamp: 5,
				},
			},
		},
		Bridge: config.Bridge{
			TopicId: "0.0.12389",
			Hedera: &config.BridgeHedera{
				BridgeAccount: "0.0.476139",
				PayerAccount:  "0.0.476139",
				Members:       []string{"0.0.123", "0.0.321", "0.0.231"},
				Tokens: map[string]config.HederaToken{
					"HBAR": {
						FeePercentage: 10,
					},
				},
			},
			EVMs: map[int64]config.BridgeEvm{
				3: {
					RouterContractAddress: "B5762f4159e7bFE24B5E7E9a2e829F535744d30e",
				},
			},
			Assets: config.Assets{},
		},
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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