Documentation ¶
Index ¶
- func Account() (*crypto.Account, error)
- func Clients(userAddress string) (*algod.Client, *tinyman.Client, error)
- func CreateAsset(assetName, unitName string, decimals uint32, totalIssuance uint64, ...) (uint64, error)
- func OptInAppIfNeeded(ctx context.Context, tinymanCli *tinyman.Client, account *crypto.Account) error
- func OptInAssetIfNeeded(ctx context.Context, tc *tinyman.Client, account *crypto.Account, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAsset ¶
func CreateAsset( assetName, unitName string, decimals uint32, totalIssuance uint64, userAddress string, account *crypto.Account, ac *algod.Client, tc *tinyman.Client, ) (uint64, error)
CreateAsset create a new asset
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.