Documentation ¶
Overview ¶
Package coretest provides utilities for testing Chain Core.
Index ¶
- func CreateAccount(ctx context.Context, t testing.TB, accounts *account.Manager, alias string, ...) string
- func CreateAsset(ctx context.Context, t testing.TB, assets *asset.Registry, ...) bc.AssetID
- func CreatePins(ctx context.Context, t testing.TB, s *pin.Store)
- func IssueAssets(ctx context.Context, t testing.TB, c *protocol.Chain, s txbuilder.Submitter, ...) (*legacy.TxOutput, *bc.Output, bc.Hash)
- func SignTxTemplate(t testing.TB, ctx context.Context, template *txbuilder.Template, ...)
- func Transfer(ctx context.Context, t testing.TB, c *protocol.Chain, s txbuilder.Submitter, ...) *legacy.Tx
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAccount ¶
func CreateAsset ¶
func IssueAssets ¶
func SignTxTemplate ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.