Versions in this module Expand all Collapse all v2 v2.3.0 Nov 29, 2026 Changes in this version + const ChainID + const GenesisHash + const ReporterMaxAge + const ReporterMnemonic + var LightClient = seedKey("light-client") + var MintAddress = aktsolana.PDA(ProgramID, []byte("mint")) + var ProgramID = seedKey("program") + var Reporter = reporterAddress() + func EncodeBridgeConfig(c BridgeConfig) []byte + func EncodeLaunchConfig(c LaunchConfig) []byte + func EncodeMint(m Mint) []byte + func EncodeTransferResolved(s TransferStatus) []byte + func EncodeTransferStatus(s TransferStatus) []byte + func Goldens() []string + func Scenarios() map[string]func() Scenario + func TransferResolvedLog(s TransferStatus) string + func TxConfig() client.TxConfig + type Account struct + Data []byte + Executable bool + Lamports uint64 + Owner solana.PublicKey + type AccountChange struct + Accounts map[solana.PublicKey]Account + AfterCalls int + Slot uint64 + type AddressTableLookup struct + AccountKey solana.PublicKey + ReadonlyIndexes []int + WritableIndexes []int + type Akash struct + Accounts []AuthAccount + AppHeight int64 + BlockMaxGas int64 + BlockTimes map[int64]time.Duration + BroadcastFaults []BroadcastFault + CatchingUp bool + ChainID string + Deliveries []Delivery + EchoOffset int64 + FailHistory []int + Height int64 + IndexLag int64 + NoTxIndex bool + NodeID string + PageOverlap bool + Params sinkv1.Params + Policies []sinkv1.ReporterPolicy + RefuseBatches bool + ReverseBatches bool + SimFailures []SimFailure + State SinkState + Transfers []Transfer + TxIndexBehind bool + UnorderedDisabled bool + Usage map[string]sinkv1.AccountUsage + type AuthAccount struct + Address string + Number uint64 + PubKey []byte + type Block struct + Transactions []Transaction + type BridgeConfig struct + ChainID string + DailyMintCap uint64 + LightClientProgram solana.PublicKey + MintDay uint64 + MintedToday uint64 + PerTransferMax uint64 + Vaults []solana.PublicKey + type BroadcastFault struct + Code uint32 + Codespace string + Kind FaultKind + Log string + type Delivery struct + Code uint32 + Codespace string + Log string + type Failure struct + Code int + HTTPStatus int + Message string + Times int + type FaultKind string + const FaultInCache + const FaultLostResponse + const FaultNonceTaken + const FaultNone + const FaultReject + const FaultTransport + type Header struct + NumReadonlySignedAccounts int + NumReadonlyUnsignedAccounts int + NumRequiredSignatures int + type LaunchConfig struct + BridgeEnabled bool + Bump uint8 + InitializedAtSlot uint64 + Initializer solana.PublicKey + Mint solana.PublicKey + MintAuthorityBump uint8 + Version uint8 + type Mint struct + Decimals uint8 + FreezeAuthority *solana.PublicKey + Initialized bool + MintAuthority *solana.PublicKey + Supply uint64 + type Minted struct + Amount uint64 + Recipient solana.PublicKey + type Node struct + CometURL string + GRPCAddr string + SolanaURL string + func Start(ctx context.Context, sc Scenario, opts Options) (*Node, error) + func (n *Node) Broadcasts() [][]byte + func (n *Node) Calls(method string) int + func (n *Node) Close() + func (n *Node) CommitBlock() + func (n *Node) Executions() map[string]int + func (n *Node) Gossip(txBytes []byte) + func (n *Node) Halt() + func (n *Node) Mutate(f func(*Scenario)) + func (n *Node) Resolve(id sinkid.ID, status sinkv1.Status, evidence ...sinkv1.Observation) + func (n *Node) SetLag(blocks int64) + type Options struct + AkashLatency time.Duration + AlignWindow bool + BlockFetchLatency time.Duration + BlockInterval time.Duration + Clock clock.Clock + SolanaLatency time.Duration + type Outcome struct + Minted *Minted + Voided *VoidReason + type Scenario struct + Akash *Akash + LightClientPin *solana.PublicKey + Passes int + Solana Solana + func Steady100k() Scenario + func (s Scenario) PassCount() int + type SimFailure struct + Error string + ID string + TypeURL string + type SinkState struct + Epoch uint64 + RefundUsage sinkv1.EpochUsage + SendUsage sinkv1.EpochUsage + Totals sinkv1.Totals + type Solana struct + Accounts map[solana.PublicKey]Account + BlockTimes map[uint64]time.Duration + Blocks map[uint64]Block + Changes []AccountChange + Failures map[string]Failure + GenesisHash string + Slot uint64 + type Transaction struct + AccountKeys []solana.PublicKey + AddressTableLookups []AddressTableLookup + Err json.RawMessage + Header Header + LoadedReadonly []solana.PublicKey + LoadedWritable []solana.PublicKey + Logs []string + Signatures []string + Version string + type Transfer struct + Height int64 + Transfer sinkv1.TransferState + type TransferStatus struct + ID sinkid.ID + Outcome Outcome + ProofHeight uint64 + ResolvedAtSlot uint64 + type VoidReason uint8 + const VoidGovernance + const VoidInvalidRecipient