client

package
v0.1.0-alpha-2 Latest Latest
Warning

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

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

README

  1. Run bridge-setup.go with privateKey, accountId and network as flags to generate the configurations go run ./scripts/bridge/setup.go --privateKey=/your private key/ --accountID=/your account id/ --network=/previewnet|testnet|mainnet/ --members=/int, the count of the wanted bridge custodians/

  2. Run create.go to create custom token and associate it with hedera go run ./scripts/token/native/create.go --privateKey=/your private key/ --accountID=/your account id/ --network=/previewnet|testnet|mainnet/ --memberPrKeys=/'The array of private keys from from the output of the previous step separated by ","'/ --bridgeID=/The bridge id from the output of the previous step/

  3. Run treasurial-create.go to create custom token with a bridge account treasury and associate it with hedera go run ./scripts/token/wrapped/treasurial-create.go --privateKey=/your private key/ --accountID=/your account id/ --network=/previewnet|testnet|mainnet/ --memberPrKeys=/'The array of private keys from from the output of the previous step separated by ","'/ --bridgeID=/The bridge id from the output of the previous step/

  4. Associate new account to token go run ./scripts/token/associate/associate.go --privateKey=/your private key/ --accountID=/your account id/ --network=/previewnet|testnet|mainnet/ --tokenID=/The Token id from the output of the previous step/

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(privateKey, accountID, network string) *hedera.Client

Types

This section is empty.

Directories

Path Synopsis
token

Jump to

Keyboard shortcuts

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