Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions apps/flame-defi/app/components/eol-banner/eol-banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ export const EolBanner = () => {
deposit TIA for gas, withdraw all assets, close LP positions, and swap
tokens. However, you can no longer create new LP positions or add
liquidity.
<br />
<br />
<span className="font-bold">
Note: Transfers of TIA are currently disabled due to technical
issues on the Celestia network.
</span>
</div>
{feedbackFormURL && (
<a
Expand Down
168 changes: 84 additions & 84 deletions apps/flame-defi/app/config/chain-configs/chain-configs-dawn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,87 +16,87 @@ import {
WrappedTiaIcon,
} from "@repo/ui/icons/polychrome";

// const CelestiaChainInfo: CosmosChainInfo = {
// chainType: ChainType.COSMOS,
// // Chain-id of the celestia chain.
// chainId: "mocha-4",
// // The name of the chain to be displayed to the user.
// chainName: "Celestia Mocha-4",
// // RPC endpoint of the chain
// rpc: "wss://rpc-mocha.pops.one",
// // REST endpoint of the chain.
// rest: "https://api-mocha.pops.one",
// // Staking coin information
// stakeCurrency: {
// // Coin denomination to be displayed to the user.
// coinDenom: "TIA",
// // Actual denom (i.e. uatom, uscrt) used by the blockchain.
// coinMinimalDenom: "utia",
// // # of decimal points to convert minimal denomination to user-facing denomination.
// coinDecimals: 6,
// // (Optional) Keplr can show the fiat value of the coin if a coingecko id is provided.
// // You can get id from https://api.coingecko.com/api/v3/coins/list if it is listed.
// // coinGeckoId: ""
// },
// // (Optional) If you have a wallet webpage used to stake the coin then provide the url to the website in `walletUrlForStaking`.
// // The 'stake' button in Keplr extension will link to the webpage.
// // walletUrlForStaking: "",
// // The BIP44 path.
// bip44: {
// // You can only set the coin type of BIP44.
// // 'Purpose' is fixed to 44.
// coinType: 118,
// },
// // The address prefix of the chain.
// bech32Config: {
// bech32PrefixAccAddr: "celestia",
// bech32PrefixAccPub: "celestiapub",
// bech32PrefixConsAddr: "celestiavalcons",
// bech32PrefixConsPub: "celestiavalconspub",
// bech32PrefixValAddr: "celestiavaloper",
// bech32PrefixValPub: "celestiavaloperpub",
// },
// // List of all coin/tokens used in this chain.
// currencies: [
// new IbcCurrency({
// chainId: "mocha-4",
// coinDenom: "TIA",
// coinMinimalDenom: "utia",
// coinDecimals: 6,
// isDepositable: true,
// isWithdrawable: true,
// isNative: true,
// ibcChannel: "channel-160",
// sequencerBridgeAccount: "astria1lepnry7tlpzvrukp5xej4v5wp532k2f94vxqnr",
// title: "TIA",
// IconComponent: CelestiaIcon,
// }),
// ],
// // List of coin/tokens used as a fee token in this chain.
// feeCurrencies: [
// {
// // Coin denomination to be displayed to the user.
// coinDenom: "TIA",
// // Actual denom (i.e. nria, uscrt) used by the blockchain.
// coinMinimalDenom: "utia",
// // # of decimal points to convert minimal denomination to user-facing denomination.
// coinDecimals: 6,
// // (Optional) Keplr can show the fiat value of the coin if a coingecko id is provided.
// // You can get id from https://api.coingecko.com/api/v3/coins/list if it is listed.
// // coinGeckoId: ""
// // (Optional) This is used to set the fee of the transaction.
// // If this field is not provided and suggesting chain is not natively integrated, Keplr extension will set the Keplr default gas price (low: 0.01, average: 0.025, high: 0.04).
// // Currently, Keplr doesn't support dynamic calculation of the gas prices based on on-chain data.
// // Make sure that the gas prices are higher than the minimum gas prices accepted by chain validators and RPC/REST endpoint.
// gasPriceStep: {
// low: 0.01,
// average: 0.02,
// high: 0.1,
// },
// },
// ],
// IconComponent: CelestiaIcon,
// };
const CelestiaChainInfo: CosmosChainInfo = {
chainType: ChainType.COSMOS,
// Chain-id of the celestia chain.
chainId: "mocha-4",
// The name of the chain to be displayed to the user.
chainName: "Celestia Mocha-4",
// RPC endpoint of the chain
rpc: "wss://rpc-mocha.pops.one",
// REST endpoint of the chain.
rest: "https://api-mocha.pops.one",
// Staking coin information
stakeCurrency: {
// Coin denomination to be displayed to the user.
coinDenom: "TIA",
// Actual denom (i.e. uatom, uscrt) used by the blockchain.
coinMinimalDenom: "utia",
// # of decimal points to convert minimal denomination to user-facing denomination.
coinDecimals: 6,
// (Optional) Keplr can show the fiat value of the coin if a coingecko id is provided.
// You can get id from https://api.coingecko.com/api/v3/coins/list if it is listed.
// coinGeckoId: ""
},
// (Optional) If you have a wallet webpage used to stake the coin then provide the url to the website in `walletUrlForStaking`.
// The 'stake' button in Keplr extension will link to the webpage.
// walletUrlForStaking: "",
// The BIP44 path.
bip44: {
// You can only set the coin type of BIP44.
// 'Purpose' is fixed to 44.
coinType: 118,
},
// The address prefix of the chain.
bech32Config: {
bech32PrefixAccAddr: "celestia",
bech32PrefixAccPub: "celestiapub",
bech32PrefixConsAddr: "celestiavalcons",
bech32PrefixConsPub: "celestiavalconspub",
bech32PrefixValAddr: "celestiavaloper",
bech32PrefixValPub: "celestiavaloperpub",
},
// List of all coin/tokens used in this chain.
currencies: [
new IbcCurrency({
chainId: "mocha-4",
coinDenom: "TIA",
coinMinimalDenom: "utia",
coinDecimals: 6,
isDepositable: true,
isWithdrawable: true,
isNative: true,
ibcChannel: "channel-160",
sequencerBridgeAccount: "astria1lepnry7tlpzvrukp5xej4v5wp532k2f94vxqnr",
title: "TIA",
IconComponent: CelestiaIcon,
}),
],
// List of coin/tokens used as a fee token in this chain.
feeCurrencies: [
{
// Coin denomination to be displayed to the user.
coinDenom: "TIA",
// Actual denom (i.e. nria, uscrt) used by the blockchain.
coinMinimalDenom: "utia",
// # of decimal points to convert minimal denomination to user-facing denomination.
coinDecimals: 6,
// (Optional) Keplr can show the fiat value of the coin if a coingecko id is provided.
// You can get id from https://api.coingecko.com/api/v3/coins/list if it is listed.
// coinGeckoId: ""
// (Optional) This is used to set the fee of the transaction.
// If this field is not provided and suggesting chain is not natively integrated, Keplr extension will set the Keplr default gas price (low: 0.01, average: 0.025, high: 0.04).
// Currently, Keplr doesn't support dynamic calculation of the gas prices based on on-chain data.
// Make sure that the gas prices are higher than the minimum gas prices accepted by chain validators and RPC/REST endpoint.
gasPriceStep: {
low: 0.01,
average: 0.02,
high: 0.1,
},
},
],
IconComponent: CelestiaIcon,
};

const NobleChainInfo: CosmosChainInfo = {
chainType: ChainType.COSMOS,
Expand Down Expand Up @@ -266,7 +266,7 @@ const NeutronChainInfo: CosmosChainInfo = {
};

export const cosmosChains: CosmosChains = {
// "Celestia Mocha-4": CelestiaChainInfo,
"Celestia Mocha-4": CelestiaChainInfo,
"Noble Testnet": NobleChainInfo,
"Neutron Testnet": NeutronChainInfo,
};
Expand Down Expand Up @@ -326,8 +326,8 @@ const FlameChainInfo: AstriaChain = {
isNative: true,
isWrappedNative: false,
ibcWithdrawalFeeWei: "10000000000000000",
isDepositable: false,
isWithdrawable: false,
isDepositable: true,
isWithdrawable: true,
IconComponent: CelestiaIcon,
}),
WRAPPED_NATIVE_TOKEN,
Expand Down
Loading