Skip to content

Commit 43d39ce

Browse files
authored
Merge pull request #288 from astriaorg/staging
Prod release
2 parents 00491d8 + 20fa912 commit 43d39ce

File tree

5 files changed

+248
-242
lines changed

5 files changed

+248
-242
lines changed

apps/flame-defi/app/components/eol-banner/eol-banner.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ export const EolBanner = () => {
1717
deposit TIA for gas, withdraw all assets, close LP positions, and swap
1818
tokens. However, you can no longer create new LP positions or add
1919
liquidity.
20+
<br />
21+
<br />
22+
<span className="font-bold">
23+
Note: Transfers of TIA are currently disabled due to technical
24+
issues on the Celestia network.
25+
</span>
2026
</div>
2127
{feedbackFormURL && (
2228
<a

apps/flame-defi/app/config/chain-configs/chain-configs-dawn.ts

Lines changed: 84 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -16,87 +16,87 @@ import {
1616
WrappedTiaIcon,
1717
} from "@repo/ui/icons/polychrome";
1818

19-
const CelestiaChainInfo: CosmosChainInfo = {
20-
chainType: ChainType.COSMOS,
21-
// Chain-id of the celestia chain.
22-
chainId: "mocha-4",
23-
// The name of the chain to be displayed to the user.
24-
chainName: "Celestia Mocha-4",
25-
// RPC endpoint of the chain
26-
rpc: "wss://rpc-mocha.pops.one",
27-
// REST endpoint of the chain.
28-
rest: "https://api-mocha.pops.one",
29-
// Staking coin information
30-
stakeCurrency: {
31-
// Coin denomination to be displayed to the user.
32-
coinDenom: "TIA",
33-
// Actual denom (i.e. uatom, uscrt) used by the blockchain.
34-
coinMinimalDenom: "utia",
35-
// # of decimal points to convert minimal denomination to user-facing denomination.
36-
coinDecimals: 6,
37-
// (Optional) Keplr can show the fiat value of the coin if a coingecko id is provided.
38-
// You can get id from https://api.coingecko.com/api/v3/coins/list if it is listed.
39-
// coinGeckoId: ""
40-
},
41-
// (Optional) If you have a wallet webpage used to stake the coin then provide the url to the website in `walletUrlForStaking`.
42-
// The 'stake' button in Keplr extension will link to the webpage.
43-
// walletUrlForStaking: "",
44-
// The BIP44 path.
45-
bip44: {
46-
// You can only set the coin type of BIP44.
47-
// 'Purpose' is fixed to 44.
48-
coinType: 118,
49-
},
50-
// The address prefix of the chain.
51-
bech32Config: {
52-
bech32PrefixAccAddr: "celestia",
53-
bech32PrefixAccPub: "celestiapub",
54-
bech32PrefixConsAddr: "celestiavalcons",
55-
bech32PrefixConsPub: "celestiavalconspub",
56-
bech32PrefixValAddr: "celestiavaloper",
57-
bech32PrefixValPub: "celestiavaloperpub",
58-
},
59-
// List of all coin/tokens used in this chain.
60-
currencies: [
61-
new IbcCurrency({
62-
chainId: "mocha-4",
63-
coinDenom: "TIA",
64-
coinMinimalDenom: "utia",
65-
coinDecimals: 6,
66-
isDepositable: true,
67-
isWithdrawable: true,
68-
isNative: true,
69-
ibcChannel: "channel-160",
70-
sequencerBridgeAccount: "astria1lepnry7tlpzvrukp5xej4v5wp532k2f94vxqnr",
71-
title: "TIA",
72-
IconComponent: CelestiaIcon,
73-
}),
74-
],
75-
// List of coin/tokens used as a fee token in this chain.
76-
feeCurrencies: [
77-
{
78-
// Coin denomination to be displayed to the user.
79-
coinDenom: "TIA",
80-
// Actual denom (i.e. nria, uscrt) used by the blockchain.
81-
coinMinimalDenom: "utia",
82-
// # of decimal points to convert minimal denomination to user-facing denomination.
83-
coinDecimals: 6,
84-
// (Optional) Keplr can show the fiat value of the coin if a coingecko id is provided.
85-
// You can get id from https://api.coingecko.com/api/v3/coins/list if it is listed.
86-
// coinGeckoId: ""
87-
// (Optional) This is used to set the fee of the transaction.
88-
// 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).
89-
// Currently, Keplr doesn't support dynamic calculation of the gas prices based on on-chain data.
90-
// Make sure that the gas prices are higher than the minimum gas prices accepted by chain validators and RPC/REST endpoint.
91-
gasPriceStep: {
92-
low: 0.01,
93-
average: 0.02,
94-
high: 0.1,
95-
},
96-
},
97-
],
98-
IconComponent: CelestiaIcon,
99-
};
19+
// const CelestiaChainInfo: CosmosChainInfo = {
20+
// chainType: ChainType.COSMOS,
21+
// // Chain-id of the celestia chain.
22+
// chainId: "mocha-4",
23+
// // The name of the chain to be displayed to the user.
24+
// chainName: "Celestia Mocha-4",
25+
// // RPC endpoint of the chain
26+
// rpc: "wss://rpc-mocha.pops.one",
27+
// // REST endpoint of the chain.
28+
// rest: "https://api-mocha.pops.one",
29+
// // Staking coin information
30+
// stakeCurrency: {
31+
// // Coin denomination to be displayed to the user.
32+
// coinDenom: "TIA",
33+
// // Actual denom (i.e. uatom, uscrt) used by the blockchain.
34+
// coinMinimalDenom: "utia",
35+
// // # of decimal points to convert minimal denomination to user-facing denomination.
36+
// coinDecimals: 6,
37+
// // (Optional) Keplr can show the fiat value of the coin if a coingecko id is provided.
38+
// // You can get id from https://api.coingecko.com/api/v3/coins/list if it is listed.
39+
// // coinGeckoId: ""
40+
// },
41+
// // (Optional) If you have a wallet webpage used to stake the coin then provide the url to the website in `walletUrlForStaking`.
42+
// // The 'stake' button in Keplr extension will link to the webpage.
43+
// // walletUrlForStaking: "",
44+
// // The BIP44 path.
45+
// bip44: {
46+
// // You can only set the coin type of BIP44.
47+
// // 'Purpose' is fixed to 44.
48+
// coinType: 118,
49+
// },
50+
// // The address prefix of the chain.
51+
// bech32Config: {
52+
// bech32PrefixAccAddr: "celestia",
53+
// bech32PrefixAccPub: "celestiapub",
54+
// bech32PrefixConsAddr: "celestiavalcons",
55+
// bech32PrefixConsPub: "celestiavalconspub",
56+
// bech32PrefixValAddr: "celestiavaloper",
57+
// bech32PrefixValPub: "celestiavaloperpub",
58+
// },
59+
// // List of all coin/tokens used in this chain.
60+
// currencies: [
61+
// new IbcCurrency({
62+
// chainId: "mocha-4",
63+
// coinDenom: "TIA",
64+
// coinMinimalDenom: "utia",
65+
// coinDecimals: 6,
66+
// isDepositable: true,
67+
// isWithdrawable: true,
68+
// isNative: true,
69+
// ibcChannel: "channel-160",
70+
// sequencerBridgeAccount: "astria1lepnry7tlpzvrukp5xej4v5wp532k2f94vxqnr",
71+
// title: "TIA",
72+
// IconComponent: CelestiaIcon,
73+
// }),
74+
// ],
75+
// // List of coin/tokens used as a fee token in this chain.
76+
// feeCurrencies: [
77+
// {
78+
// // Coin denomination to be displayed to the user.
79+
// coinDenom: "TIA",
80+
// // Actual denom (i.e. nria, uscrt) used by the blockchain.
81+
// coinMinimalDenom: "utia",
82+
// // # of decimal points to convert minimal denomination to user-facing denomination.
83+
// coinDecimals: 6,
84+
// // (Optional) Keplr can show the fiat value of the coin if a coingecko id is provided.
85+
// // You can get id from https://api.coingecko.com/api/v3/coins/list if it is listed.
86+
// // coinGeckoId: ""
87+
// // (Optional) This is used to set the fee of the transaction.
88+
// // 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).
89+
// // Currently, Keplr doesn't support dynamic calculation of the gas prices based on on-chain data.
90+
// // Make sure that the gas prices are higher than the minimum gas prices accepted by chain validators and RPC/REST endpoint.
91+
// gasPriceStep: {
92+
// low: 0.01,
93+
// average: 0.02,
94+
// high: 0.1,
95+
// },
96+
// },
97+
// ],
98+
// IconComponent: CelestiaIcon,
99+
// };
100100

101101
const NobleChainInfo: CosmosChainInfo = {
102102
chainType: ChainType.COSMOS,
@@ -266,7 +266,7 @@ const NeutronChainInfo: CosmosChainInfo = {
266266
};
267267

268268
export const cosmosChains: CosmosChains = {
269-
"Celestia Mocha-4": CelestiaChainInfo,
269+
// "Celestia Mocha-4": CelestiaChainInfo,
270270
"Noble Testnet": NobleChainInfo,
271271
"Neutron Testnet": NeutronChainInfo,
272272
};
@@ -326,8 +326,8 @@ const FlameChainInfo: AstriaChain = {
326326
isNative: true,
327327
isWrappedNative: false,
328328
ibcWithdrawalFeeWei: "10000000000000000",
329-
isDepositable: true,
330-
isWithdrawable: true,
329+
isDepositable: false,
330+
isWithdrawable: false,
331331
IconComponent: CelestiaIcon,
332332
}),
333333
WRAPPED_NATIVE_TOKEN,

0 commit comments

Comments
 (0)