Commit Graph

14 Commits

Author SHA1 Message Date
Arjun Porwal
bdfcedae72
AssetHub: Fee payment with any sufficient asset (#11229)
* feat: created useAssetIds and useAssetInfo hook

* feat: created pay with asset component

* feat: add paywith asset component with Transfer modal

* fix: signer options as prop

* fix: payment info

* feat: created PayWithAsset provider and integrated with transfer form

* chore: rename variable

* fix: PayWithAsset provider wrapping

* feat: integrate PayWithAsset context and enhance asset info fetching

* fix: some build errors

* refactor: update imports and simplify getFeeAssetLocation function

* refactor: simplify component structure and update PayWithAsset import paths

* fix: all build errors

* fix: avoid redundant type

* feat: added translation

* feat: enhance fee payment info & fee asset handling

* fix: translations ordering

* fix: remove redundant types and hooks

* chore: added statemine chain

* refactor: generalize fee acceptance check for non-native assets

* fix: remove constants and generalize palletIndex
2025-02-06 21:20:08 +05:30
Tarik Gul
384049fb6b
2025 (#11172)
* 2025

* update ci scripts to add access to scripts
2025-01-03 03:59:53 +02:00
Daria
5e80322362
Relay Chain - Coretime Sale UI (#11091)
* added sales tab

* draft for the progress bar

* draft for calculating values for the coretime progress timeline

* lint

* added historical data on sales, button to see transactions on subscan

* breaking down utils file logically

* improving calculations of phase configuration, sale details, etc

* lint

* correctly calculated sale start/end blocks, dates and ts

* added core price calculation

* chainName type, adjustments for westend and paseo

* ts fixes

* used helper funcitons for getting relay blocks

* moved functionality to a new helper

* moved constants from types file in react-hooks, page-broker, page-coretime

* added dynamic coretime constants, wrapped page coretime in a context for dynamic functions

* moved coretime constants to a separate hook for reusability

* removed coretime consts and added useCoretimeConsts in page-broker

* passing a correct block number for coretime price calculation
2024-12-29 13:38:57 +13:00
Daria
4e80393ba9
Reflecting changes to Identity pallet (#10959)
* showing discord, github and matrix

* restored other attribute for backwards compatibility
2024-09-30 19:01:06 +08:00
Tarik Gul
478cd03e7e
Use apiSystemPeople for identities on {relay | system} chains, and keep compat for parachains (#10598)
* Use apiSystemPeople for identities on relay chains

* Add apiIdentity support

* add config

* Fix nits

* Get working condition for all chains!

* add enableIdentity for correct support

* Add comments to EndpointOption type

* Add some inline comments
2024-05-21 21:28:03 +03:00
Tarik Gul
c615b4354a
Backwards compatibility for identityOf (#10570)
* Backwards compatibility for identityOf

* Fix null check

* nit
2024-05-13 20:17:51 +03:00
Nikhil Ranjan
46fa32472b
Identity fix. Username has been introduced in identity pallet. (#10491)
* Identity fix

* Identity fix
2024-04-22 10:20:48 -04:00
Jaco
0649261a5d
2024 (#10152) 2024-01-08 15:06:30 +02:00
Paco Yang
1f0d910d11
Fix transfer button disappearance (#10081)
* fix: removed transfer call in polkadot v1.2 causing button disappearance

* fix: fallback to transfer call
2023-12-12 17:38:20 +02:00
Jaco
e23c8cf152
Bump pjs deps (#9794)
* Bump pjs deps

* Some cleanups

* Additional fixes

* Additional fixes

* kilt

* Additional fixes

* Headers

* Additional headers

* Additional

* Additional

* Additional

* Additional

* It seems to lint... locally.

* It seems to build... locally.

* Review adjustments
2023-08-19 09:38:42 +03:00
Jaco
4d329a1e88
Adjust i18n types (prepare for i18next-react update) (#9688) 2023-07-13 09:54:48 +03:00
Jaco
8f9919c834
Adjust object indexing (#9564)
* Add tsconfig override

* JSON Comments

* Adjust object indexing

* Dedupe yarn.lock

* Bump deps
2023-06-12 09:11:39 +03:00
Jaco
e0e2605564
Bump dev (w/ eslint config updates) (#9472) 2023-05-21 09:04:36 +03:00
Jaco
1e7ebdee40
Break (some) circular dependencies (#9464)
* Break (some) circular dependencies

* Rebuild translations
2023-05-19 10:26:23 +03:00