ghost-portal/packages/react-hooks
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
..
src Relay Chain - Coretime Sale UI (#11091) 2024-12-29 13:38:57 +13:00
.skip-build
.skip-npm
package.json [CI Skip] bump/beta 0.146.2-23-x 2024-12-27 15:55:23 +00:00
README.md
tsconfig.build.json Switch on tsconfig composite (#9465) 2023-05-19 15:11:59 +03:00
tsconfig.xref.json Switch on tsconfig composite (#9465) 2023-05-19 15:11:59 +03:00

@polkadot/react-hooks

WARNING: This is an internal package to polkadot-js/apps so is not inteded (yet) for broad use. Since these are generic components, they will move to the polkadot-js/ui repo once deemed stable and usable.

For the existing sharable components usable in external React-based projects, take a look at the polkadot-js/ui documentation