Skip to content

Commit

Permalink
feat: add klaytn chain (#273)
Browse files Browse the repository at this point in the history
Co-authored-by: Leonardo Cascianelli <[email protected]>
  • Loading branch information
myz1237 and H3xept authored Sep 5, 2024
1 parent e8a1b1e commit 107a3ff
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 1 deletion.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [15.9.0](https://github.com/lifinance/types/compare/v15.8.0...v15.9.0) (2024-09-05)


### Features

* add klaytn chain ([0a76b5c](https://github.com/lifinance/types/commit/0a76b5c5e3aba4076e0dcbca559d9e6e98382d16))
* from amount in contract calls ([#272](https://github.com/lifinance/types/issues/272)) ([4788192](https://github.com/lifinance/types/commit/47881922b6366b531219c3712375f13cd8c2cfdf))


### Bug Fixes

* icon and chain name for Kaia ([a2c60f5](https://github.com/lifinance/types/commit/a2c60f53522f675b41ea3795e0b42c19a0584c47))

## [15.8.0](https://github.com/lifinance/types/compare/v15.7.0...v15.8.0) (2024-09-04)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lifi/types",
"version": "15.8.0",
"version": "15.9.0",
"description": "Types for the LI.FI stack",
"keywords": [
"sdk",
Expand Down
4 changes: 4 additions & 0 deletions src/assets/icons/chains/kaia.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/chains/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export enum ChainKey {
TAI = 'tai',
GRA = 'gra',
IMX = 'imx',
KAI = 'KAI',

// None-EVM
SOL = 'sol',
Expand Down Expand Up @@ -86,6 +87,7 @@ export enum ChainId {
TAI = 167000,
GRA = 1625,
IMX = 13371,
KAI = 8217,

// None-EVM (IDs are made up by the LI.FI team)
SOL = 1151111081099710,
Expand Down
2 changes: 2 additions & 0 deletions src/tokens/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export enum CoinKey {
SEI = 'SEI',
G = 'G',
IMX = 'IMX',
KLAY = 'KLAY',

// Solana
SOL = 'SOL',
Expand Down Expand Up @@ -57,4 +58,5 @@ export enum CoinKey {
WG = 'WG', // Wrapped G Token on Gravity chain
WIMX = 'WIMX', // Wrapped IMX Token
WPOL = 'WPOL', // Wrapped POL Token
WKLAY = 'WKLAY', // Wrapped KLAY Token
}

0 comments on commit 107a3ff

Please sign in to comment.