1c0e57d984
This commit systematically rebrands various references from Parity Technologies' Polkadot/Substrate ecosystem to PezkuwiChain within the kurdistan-sdk. Key changes include: - Updated external repository URLs (zombienet-sdk, parity-db, parity-scale-codec, wasm-instrument) to point to pezkuwichain forks. - Modified internal documentation and code comments to reflect PezkuwiChain naming and structure. - Replaced direct references to with or specific paths within the for XCM, Pezkuwi, and other modules. - Cleaned up deprecated issue and PR references in various and files, particularly in and modules. - Adjusted image and logo URLs in documentation to point to PezkuwiChain assets. - Removed or rephrased comments related to external Polkadot/Substrate PRs and issues. This is a significant step towards fully customizing the SDK for the PezkuwiChain ecosystem.
22 lines
956 B
Markdown
22 lines
956 B
Markdown
# pezpallet-asset-tx-payment
|
|
|
|
## Asset Transaction Payment Pallet
|
|
|
|
This pallet allows runtimes that include it to pay for transactions in assets other than the
|
|
native token of the chain.
|
|
|
|
### Overview
|
|
It does this by extending transactions to include an optional `AssetId` that specifies the asset
|
|
to be used for payment (defaulting to the native token on `None`). It expects an
|
|
[`OnChargeAssetTransaction`] implementation analogously to [`pezpallet-transaction-payment`]. The
|
|
included [`FungiblesAdapter`] (implementing [`OnChargeAssetTransaction`]) determines the fee
|
|
amount by converting the fee calculated by [`pezpallet-transaction-payment`] into the desired
|
|
asset.
|
|
|
|
### Integration
|
|
This pallet wraps FRAME's transaction payment pallet and functions as a replacement. This means
|
|
you should include both pallets in your `construct_runtime` macro, but only include this
|
|
pallet's [`TransactionExtension`] ([`ChargeAssetTxPayment`]).
|
|
|
|
License: Apache-2.0
|