@theqrl/web3-qrl-iban
v1.0.3
Published
This package converts QRL addresses to IBAN addresses and vice versa.
Readme
@theqrl/web3.js - IBAN
This is a sub-package of @theqrl/web3.js.
@theqrl/web3-qrl-iban This package converts QRL addresses to IBAN addresses a vice versa.
⚠️ Deprecated. The IBAN/ICAP namespace is deprecated and kept only for API compatibility, mirroring the deprecation of IBAN/ICAP in Ethereum web3.js. Direct address ↔ IBAN conversion is not feasible for 64-byte post-quantum QRL addresses (a 512-bit SHAKE-256 hash cannot round-trip through a ≤34-char IBAN), so
fromAddress/toAddress/toIbanthrow. If this is ever revived, the intended approach is the standards-compliant indirect IBAN form — encoding a QRNS name that resolves to the address (via@theqrl/web3-qrl-qrns), not the raw address. See the@deprecatednote on theIbanclass for details.
Installation
You can install the package either using NPM or using pnpm
Using NPM
npm install @theqrl/web3-qrl-ibanUsing pnpm
pnpm add @theqrl/web3-qrl-ibanGetting Started
- :writing_hand: If you have questions submit an issue or join us on Discord
Prerequisites
Package.json Scripts
| Script | Description |
| ---------------- | -------------------------------------------------- |
| clean | Uses rimraf to remove dist/ |
| build | Uses tsc to build package and dependent packages |
| lint | Uses eslint to lint package |
| lint:fix | Uses eslint to check and fix any warnings |
| format | Uses prettier to format the code |
| test | Uses jest to run unit tests |
| test:integration | Uses jest to run tests under /test/integration |
| test:unit | Uses jest to run tests under /test/unit |
