Documentation ¶
Overview ¶
Package backend contains blockchain backend implementations. A blockchain backend implements all blockchain-specific functionality needed by the core Perun framework.
Directories ¶
Path | Synopsis |
---|---|
Package ethereum contains the Ethereum blockchain backend.
|
Package ethereum contains the Ethereum blockchain backend. |
bindings
Package bindings contains all automatically generated code bindings to interact with the smart contracts of the Perun Ethereum blockchain backend.
|
Package bindings contains all automatically generated code bindings to interact with the smart contracts of the Perun Ethereum blockchain backend. |
channel
Package channel contains the Ethereum channel backend implementation.
|
Package channel contains the Ethereum channel backend implementation. |
channel/errors
Package errors contains error checking and wrapping functions.
|
Package errors contains error checking and wrapping functions. |
channel/test
Package test contains utilities for testing the Ethereum channel backend, such as a simulated blockchain backend and a custom Adjudicator.
|
Package test contains utilities for testing the Ethereum channel backend, such as a simulated blockchain backend and a custom Adjudicator. |
client/test
Package test contains utilities for running client tests for Ethereum.
|
Package test contains utilities for running client tests for Ethereum. |
subscription
Package subscription contains generic event subscriptions.
|
Package subscription contains generic event subscriptions. |
wallet
Package wallet implements go-perun's wallet interface for the ethereum backend.
|
Package wallet implements go-perun's wallet interface for the ethereum backend. |
wallet/hd
Package hd contains perun wallet and accounts implementation for accessing accounts stored in an ethereum hierarchial deterministic (HD) wallet.
|
Package hd contains perun wallet and accounts implementation for accessing accounts stored in an ethereum hierarchial deterministic (HD) wallet. |
wallet/keystore
Package keystore contains perun wallet and accounts implementation for accessing accounts stored in ethereum keystore.
|
Package keystore contains perun wallet and accounts implementation for accessing accounts stored in ethereum keystore. |
wallet/simple
Package simple contains a simplistic implementation of the perun wallet, account, and transactor interfaces.
|
Package simple contains a simplistic implementation of the perun wallet, account, and transactor interfaces. |
wallet/test
Package test contains utilities for generating random ethereum accounts and addresses.
|
Package test contains utilities for generating random ethereum accounts and addresses. |
Package sim contains the simulated blockchain backend.
|
Package sim contains the simulated blockchain backend. |
channel
Package channel contains the simulated channel backend.
|
Package channel contains the simulated channel backend. |
wallet
Package wallet contains the simulated wallet backend.
|
Package wallet contains the simulated wallet backend. |
Click to show internal directories.
Click to hide internal directories.