Files
pezkuwi-sdk/bizinikiwi/pezframe/transaction-payment/asset-conversion-tx-payment/README.md
T
pezkuwichain 3139ffa25e fix: Complete snowbridge pezpallet rebrand and critical bug fixes
- snowbridge-pezpallet-* → pezsnowbridge-pezpallet-* (201 refs)
- pallet/ directories → pezpallet/ (4 locations)
- Fixed pezpallet.rs self-include recursion bug
- Fixed sc-chain-spec hardcoded crate name in derive macro
- Reverted .pezpallet_by_name() to .pallet_by_name() (subxt API)
- Added BizinikiwiConfig type alias for zombienet tests
- Deleted obsolete session state files

Verified: pezsnowbridge-pezpallet-*, pezpallet-staking,
pezpallet-staking-async, pezframe-benchmarking-cli all pass cargo check
2025-12-16 09:57:23 +03:00

22 lines
999 B
Markdown

# pezpallet-asset-conversion-tx-payment
## Asset Conversion Transaction Payment Pezpallet
This pezpallet 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 [`AssetConversionAdapter`] (implementing [`OnChargeAssetTransaction`]) determines the fee
amount by converting the fee calculated by [`pezpallet-transaction-payment`] into the desired
asset.
### Integration
This pezpallet wraps FRAME's transaction payment pezpallet and functions as a replacement. This means
you should include both pallets in your `construct_runtime` macro, but only include this
pezpallet's [`TransactionExtension`] ([`ChargeAssetTxPayment`]).
License: Apache-2.0