Versions in this module Expand all Collapse all v0 v0.4.0 Apr 4, 2024 v0.3.0 Feb 28, 2024 Changes in this version + func ConvertBalanceToAlpha(eth *big.Int) uint64 + func FeeCreditRecordIDFromPublicKey(_, pubKey []byte) types.UnitID + type Client interface + GetRoundNumber func(ctx context.Context) (*wallet.RoundNumber, error) + GetTxProof func(ctx context.Context, unitID types.UnitID, txHash wallet.TxHash) (*wallet.Proof, error) + PostTransaction func(ctx context.Context, tx *types.TransactionOrder) error + type TxPublisher struct + func NewTxPublisher(backendClient Client) *TxPublisher + func (w *TxPublisher) Close() + func (w *TxPublisher) SendTx(ctx context.Context, tx *types.TransactionOrder, _ []byte) (*wallet.Proof, error) + type Wallet struct + func New(systemID types.SystemID, restUrl string, am account.Manager) (*Wallet, error) + func (w *Wallet) EvmCall(ctx context.Context, accNr uint64, attrs *evmclient.CallAttributes) (*evmclient.Result, error) + func (w *Wallet) GetBalance(ctx context.Context, accNr uint64) (*big.Int, error) + func (w *Wallet) SendEvmTx(ctx context.Context, accNr uint64, attrs *evmclient.TxAttributes) (*evmclient.Result, error) + func (w *Wallet) Shutdown()