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: 5 additions & 1 deletion components/Connection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Dropdown, DropdownTitle, DropdownItem, DropdownDivider } from "@/compon
/** Services */
import amp from "@/services/amp"
import { disconnect } from "~/services/wallet"
import { arabica, mocha, mainnet } from "@/services/chains"
import { arabica, mainnet, mammoth, mocha } from "@/services/chains"

/** Store */
import { useAppStore } from "@/store/app"
Expand All @@ -31,6 +31,10 @@ switch (hostname) {
appStore.network = mocha
break

case "mammoth.celenium.io":
appStore.network = mammoth
break

// case "arabica.celenium.io":
// case "localhost":
default:
Expand Down
3 changes: 2 additions & 1 deletion components/widgets/BlobsWidget.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ onMounted(async () => {
weeks.value.shift()
}

totalSize.time = DateTime.fromISO(weeks.value[0][0].time)
// totalSize.time = DateTime.fromISO(weeks.value[0][0].time)
totalSize.time = Object.values(weeks.value[0]).find(Boolean).time
})

const calculateOpacity = (val) => {
Expand Down
45 changes: 45 additions & 0 deletions services/chains.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,51 @@ export const arabica = {
},
}

export const mammoth = {
chainId: "mamo-1",
chainName: "Celestia Mammoth Testnet",
rpc: "https://rpc.ams.mamochain.com",
rest: "https://api.ams.mamochain.com",
bip44: {
coinType: 118,
},
bech32Config: {
bech32PrefixAccAddr: "celestia",
bech32PrefixAccPub: "celestia" + "pub",
bech32PrefixValAddr: "celestia" + "valoper",
bech32PrefixValPub: "celestia" + "valoperpub",
bech32PrefixConsAddr: "celestia" + "valcons",
bech32PrefixConsPub: "celestia" + "valconspub",
},
currencies: [
{
coinDenom: "TIA",
coinMinimalDenom: "utia",
coinDecimals: 6,
coinGeckoId: "celestia",
},
],
feeCurrencies: [
{
coinDenom: "TIA",
coinMinimalDenom: "utia",
coinDecimals: 6,
coinGeckoId: "celestia",
gasPriceStep: {
low: 0.01,
average: 0.025,
high: 0.3,
},
},
],
stakeCurrency: {
coinDenom: "TIA",
coinMinimalDenom: "utia",
coinDecimals: 6,
coinGeckoId: "celestia",
},
}

export const mainnet = {
bech32Config: {
bech32PrefixAccAddr: "celestia",
Expand Down