Skip to content
Draft
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
2 changes: 1 addition & 1 deletion packages/website/pages/create.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const Create = () => {

const token_royalty = {
split_between: {
[metadata?.mint_royalty_id?.id]: metadata?.mint_royalty_amount,
[metadata?.mint_royalty_id?.id]: Number(metadata?.mint_royalty_amount),
},
percentage: 10,
};
Expand Down
2 changes: 1 addition & 1 deletion packages/website/pages/explore/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ const SingleView = () => {
{accountId &&
<BidCreate
onBid={setBid}
maxResale={100-mint_royalty_amount}
maxResale={100-(mint_royalty_amount/100)}
/>
}
<List
Expand Down
7 changes: 3 additions & 4 deletions packages/website/utils/config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
let pck = require("../../../package.json");

export const contractAddress = pck.config.contractAddress;
export const graphUri = pck.config.graphAPI;
export const contractAddress = "test6.ashen99.testnet";
export const graphUri =
"https://api.thegraph.com/subgraphs/name/asheni99/graph_test";