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
4 changes: 2 additions & 2 deletions api-references/indexer/endpoints/indexer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4823,7 +4823,7 @@
"page": 1,
"pageSize": 100
},
"orderbookContractAddress": "0xB537a160472183f2150d42EB1c3DD6684A55f74c",
"orderbookContractAddress": "0xfdb42A198a932C8D3B506Ffa5e855bC4b348a712",
"collectionAddress": "0x602d5dc17490794267c7fa5f58a453eb9159a86d",
"currencyAddresses": [
"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619",
Expand Down Expand Up @@ -4880,7 +4880,7 @@
"orderStatus": "OPEN",
"createdBy": "0xf43a1defbd32243fd83fe702f7817dde3319246e",
"blockNumber": 63027844,
"orderbookContractAddress": "0xb537a160472183f2150d42eb1c3dd6684a55f74c",
"orderbookContractAddress": "0xfdb42A198a932C8D3B506Ffa5e855bC4b348a712",
"createdAt": 1728909642
}
]
Expand Down
4 changes: 2 additions & 2 deletions api-references/marketplace/examples/get-orderbook.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ curl --request POST \
}
]
},
"orderbookContractAddress": "0xB537a160472183f2150d42EB1c3DD6684A55f74c"
"orderbookContractAddress": "0xfdb42A198a932C8D3B506Ffa5e855bC4b348a712"
}'
```

Expand Down Expand Up @@ -83,7 +83,7 @@ import fetch from "cross-fetch";
},
],
},
orderbookContractAddress: "0xB537a160472183f2150d42EB1c3DD6684A55f74c",
orderbookContractAddress: "0xfdb42A198a932C8D3B506Ffa5e855bC4b348a712",
}),
}
);
Expand Down
4 changes: 2 additions & 2 deletions api-references/marketplace/examples/get-top-orders.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ curl --request POST \
"currencyAddresses": [
"0xa9c88358862211870db6f18bc9b3f6e4f8b3eae7"
],
"orderbookContractAddress": "0xB537a160472183f2150d42EB1c3DD6684A55f74c",
"orderbookContractAddress": "0xfdb42A198a932C8D3B506Ffa5e855bC4b348a712",
"tokenIDs": ["0","1", "2", "3", "4", "5"],
"isListing": true,
"priceSort": "DESC"
Expand All @@ -38,7 +38,7 @@ curl --request POST \
body: JSON.stringify({
collectionAddress: "0x1693ffc74edbb50d6138517fe5cd64fd1c917709",
currencyAddresses: ["0xa9c88358862211870db6f18bc9b3f6e4f8b3eae7"],
orderbookContractAddress: "0xB537a160472183f2150d42EB1c3DD6684A55f74c",
orderbookContractAddress: "0xfdb42A198a932C8D3B506Ffa5e855bC4b348a712",
tokenIDs: ["0", "1", "2", "3", "4", "5"],
isListing: true,
priceSort: "DESC",
Expand Down
4 changes: 2 additions & 2 deletions api-references/marketplace/examples/get-user-activities.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Enables you to retrieve activity data for a specific user, including orders and
<CodeGroup>
```shell cURL
curl -X POST -H "Content-Type: application/json" https://marketplace-api.sequence.app/arbitrum-sepolia/rpc/Marketplace/GetUserActivities -d '{
"orderbookContractAddress": "0xB537a160472183f2150d42EB1c3DD6684A55f74c",
"orderbookContractAddress": "0xfdb42A198a932C8D3B506Ffa5e855bC4b348a712",
"collectionAddress": "0x1693ffc74edbb50d6138517fe5cd64fd1c917709",
"currencyAddresses": [
"0xa9c88358862211870db6f18bc9b3f6e4f8b3eae7"
Expand All @@ -39,7 +39,7 @@ import fetch from "cross-fetch";
"Content-Type": "application/json",
},
body: JSON.stringify({
"orderbookContractAddress": "0xB537a160472183f2150d42EB1c3DD6684A55f74c",
"orderbookContractAddress": "0xfdb42A198a932C8D3B506Ffa5e855bC4b348a712",
"collectionAddress": "0x1693ffc74edbb50d6138517fe5cd64fd1c917709",
"currencyAddresses": [
"0xa9c88358862211870db6f18bc9b3f6e4f8b3eae7"
Expand Down
10 changes: 5 additions & 5 deletions api-references/marketplace/examples/orderbook-transactions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sidebarTitle: Creating Market Orders & Listings
---


All transactions run through a contract at address `0xB537a160472183f2150d42EB1c3DD6684A55f74c` on all currently offered networks.
All transactions run through a contract at address `0xfdb42A198a932C8D3B506Ffa5e855bC4b348a712` on all currently offered networks.

## Create a Request

Expand Down Expand Up @@ -65,12 +65,12 @@ const dataCreateRequest = sequenceMarketInterface.encodeFunctionData(
);

const dataApprove = erc1155Interface.encodeFunctionData("setApprovalForAll", [
"0xB537a160472183f2150d42EB1c3DD6684A55f74c", // sequence market contract (same address on all offered networks)
"0xfdb42A198a932C8D3B506Ffa5e855bC4b348a712", // sequence market contract (same address on all offered networks)
true,
]);

const tx = {
to: "0xB537a160472183f2150d42EB1c3DD6684A55f74c", // sequence market contract (same address on all offered networks)
to: "0xfdb42A198a932C8D3B506Ffa5e855bC4b348a712", // sequence market contract (same address on all offered networks)
data: dataCreateRequest,
};

Expand Down Expand Up @@ -119,7 +119,7 @@ const sequenceMarketInterface = new ethers.Interface([
const amountBigNumber = ethers.parseUnits(String(price), 18); // currency price based on correct decimals for token contract

const dataApprove = erc20Interface.encodeFunctionData("approve", [
"0xB537a160472183f2150d42EB1c3DD6684A55f74c", // sequence market contract (same address on all offered networks)
"0xfdb42A198a932C8D3B506Ffa5e855bC4b348a712", // sequence market contract (same address on all offered networks)
amountBigNumber,
]);

Expand All @@ -134,7 +134,7 @@ const txApprove = {
};

const tx = {
to: "0xB537a160472183f2150d42EB1c3DD6684A55f74c", // sequence market contract (same address on all offered networks)
to: "0xfdb42A198a932C8D3B506Ffa5e855bC4b348a712", // sequence market contract (same address on all offered networks)
data: dataAcceptRequest,
};

Expand Down
41 changes: 25 additions & 16 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,23 +122,17 @@
"pages": [
"solutions/monetization-overview",
{
"group": "Marketplaces",
"group": "White-label Marketplace",
"pages": [
{
"group": "White-label Marketplace",
"pages": [
"solutions/marketplaces/white-label-marketplace/overview",
"solutions/marketplaces/white-label-marketplace/guide",
"solutions/marketplaces/white-label-marketplace/video-walkthrough"
]
},
{
"group": "Build your Custom Marketplace",
"pages": [
"solutions/marketplaces/orderbook/overview",
"solutions/marketplaces/orderbook/starter"
]
}
"solutions/marketplaces/white-label-marketplace/overview",
"solutions/marketplaces/white-label-marketplace/guide"
]
},
{
"group": "Build your Custom Marketplace",
"pages": [
"solutions/marketplaces/custom-marketplace/overview",
"solutions/marketplaces/custom-marketplace/getting-started"
]
},
{
Expand Down Expand Up @@ -228,6 +222,21 @@
"sdk/web/custom-connectors"
]
},
{
"group": "Marketplace SDK",
"pages": [
"sdk/marketplace-sdk/overview",
"sdk/marketplace-sdk/getting-started",
{
"group": "Hooks",
"pages": [
"sdk/marketplace-sdk/hooks/overview",
"sdk/marketplace-sdk/hooks/marketplace-actions",
"sdk/marketplace-sdk/hooks/marketplace-data-hooks"
]
}
]
},
{
"group": "Game Engine SDKs",
"pages": [
Expand Down
8 changes: 4 additions & 4 deletions guides/custom-marketplace.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ First, we check that the marketplace is approved for the contract, with some log

```js
const ERC1155Contract = '0x1693ffc74edbb50d6138517fe5cd64fd1c917709'
const MarketPlaceContract = '0xB537a160472183f2150d42EB1c3DD6684A55f74c'
const MarketPlaceContract = '0xfdb42A198a932C8D3B506Ffa5e855bC4b348a712'

function App() {

Expand Down Expand Up @@ -370,7 +370,7 @@ const createRequest = async () => {
// is not approved
const dataApprove = erc1155Interface.encodeFunctionData(
"setApprovalForAll",
["0xB537a160472183f2150d42EB1c3DD6684A55f74c", true]
["0xfdb42A198a932C8D3B506Ffa5e855bC4b348a712", true]
);

const txApprove = {
Expand Down Expand Up @@ -622,7 +622,7 @@ We begin with the same flow as before, accounting for sending multi-batch transa
setAcceptData(data) // we'll need this later, only for Web SDK enabled transactions

const tx = {
to: MarketPlaceContract, // 0xB537a160472183f2150d42EB1c3DD6684A55f74c
to: MarketPlaceContract, // 0xfdb42A198a932C8D3B506Ffa5e855bC4b348a712
data: data
}

Expand All @@ -639,7 +639,7 @@ We begin with the same flow as before, accounting for sending multi-batch transa
"function approve(address spender, uint256 amount) external returns (bool)"
]);

const spenderAddress = "0xB537a160472183f2150d42EB1c3DD6684A55f74c";
const spenderAddress = "0xfdb42A198a932C8D3B506Ffa5e855bC4b348a712";
const maxUint256 = ethers.constants.MaxUint256;
const dataApprove = erc20Interface.encodeFunctionData("approve", [spenderAddress, maxUint256]);

Expand Down
Binary file modified images/marketplace/builder_add_new_custom_currency.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading