Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added karat to the market #8

Merged
merged 1 commit into from
Sep 23, 2024
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
Binary file added apps/arkmarket/public/banners/karat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/arkmarket/public/collections/karat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/arkmarket/public/collections/karat.png~
Binary file not shown.
29 changes: 29 additions & 0 deletions apps/arkmarket/src/config/homepage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export enum Collections {
LOOTSURVIVOR = "lootsurvivor",
SYNDICATE = "syndicate",
DUNGEON_DUCKS = "dungeonducks",
KARAT = "karat",
}

export enum ChainId {
Expand Down Expand Up @@ -75,6 +76,12 @@ export const CollectionAddresses: {
[ChainId.SN_SEPOLIA]: "",

},
[Collections.KARAT]: {
[ChainId.SN_MAIN]:
"0x07d8ea58612a5de25f29281199a4fc1f2ce42f0f207f93c3a35280605f3b8e68",
[ChainId.SN_SEPOLIA]: "",

},
};

export const CollectionNames = {
Expand All @@ -86,6 +93,7 @@ export const CollectionNames = {
[Collections.LOOTSURVIVOR]: "Loot Survivor",
[Collections.SYNDICATE]: "Syndicate",
[Collections.DUNGEON_DUCKS]: "Dungeon Ducks",
[Collections.KARAT]: "Karat",
};

interface CollectionDescription {
Expand Down Expand Up @@ -142,6 +150,12 @@ export const CollectionDescription: Record<string, CollectionDescription> = {
description:
"A collection of feathered adventurers, initially created for the purpose of including the Ducks Everywhere community in the Loot Survivor launch tournament",
},
// @ts-expect-error It's ok compiler
[CollectionAddresses[Collections.KARAT][ChainId.SN_MAIN]]: {
created: "2024",
description:
"Karats are composable gems discovered under the Realms. A fully on-chain generative art collection made with Dojo.",
},
};

export const homepageConfig = {
Expand Down Expand Up @@ -191,6 +205,15 @@ export const homepageConfig = {
itemsCount: 300,
// floorPrice: 0.12,
},
{
bannerSrc: "/banners/karat.png",
collectionSrc: "/collections/karat.png",
name: CollectionNames[Collections.KARAT],
description: "Karat",
address: CollectionAddresses[Collections.KARAT][ChainId.SN_MAIN],
itemsCount: 512,
// floorPrice: 0.12,
},
],
exploreCategory: [
{ name: "Gaming", image: "/collection_categories/gaming.png" },
Expand Down Expand Up @@ -259,6 +282,12 @@ export const homepageConfig = {
image: "/collections/dungeon-ducks-collection.png",
banner_image: "/banners/dungeon-ducks-banner.png",
},
{
name: CollectionNames[Collections.KARAT],
address: CollectionAddresses[Collections.KARAT][ChainId.SN_MAIN],
image: "/collections/karat.png",
banner_image: "/banners/karat.png",
},
],
liveAuctions: [],
latestSales: [
Expand Down
Loading