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. |
bindings/adjudicator
Package adjudicator contains the auto-generated bindings for the adjudicator smart contract.
|
Package adjudicator contains the auto-generated bindings for the adjudicator smart contract. |
bindings/assets
Package assets contains the auto-generated bindings for the asset holder contracts.
|
Package assets contains the auto-generated bindings for the asset holder contracts. |
channel
Package channel contains the Ethereum channel backend implementation.
|
Package channel contains the Ethereum channel backend implementation. |
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. |
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/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.