Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
update links and typescript docs (#1104)
Browse files Browse the repository at this point in the history
* fix marketplace guide links
* add version param for deployPublishedContract

---------

Signed-off-by: Lakshay Garg <[email protected]>
  • Loading branch information
lakgarg authored Nov 28, 2023
1 parent d5e2c24 commit f28f4e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/onboarding/2 Explore/Contracts/Marketplace.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ You could use the Marketplace contract to:
<div className="col col--6" style={{ marginTop: 8 }}>
<QuickstartCard
name="Guide: Create an NFT Marketplace with the SDK"
link="https://portal.thirdweb.com/guides/nft-marketplace-with-typescript-next"
link="https://blog.thirdweb.com/guides/nft-marketplace-with-typescript-next"
image="/assets/icons/education.png"
/>
</div>
<div className="col col--6" style={{ marginTop: 8 }}>
<QuickstartCard
name="Guide: List an NFT For Auction and Place a Bid with the SDK"
link="https://portal.thirdweb.com/guides/auction-button-react"
link="https://blog.thirdweb.com/guides/auction-button-react"
image="/assets/icons/education.png"
/>
</div>
Expand Down
6 changes: 4 additions & 2 deletions docs/typescript/thirdwebsdk.sdk.contractdeployer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ const txResult = await sdk.deployer.deployPublishedContract(
"{{publisher_address_or_ens}}",
"{{contract_name}}",
[param1, param2],
version,
);
```

Expand All @@ -127,9 +128,10 @@ the name of the published contract to deploy. ex: TokenERC721

array of constructor arguments for the contract.

### version
### version (optional)

version of the published contract. defaults to 'latest'.
A `string` that needs to match the version displayed in the contract's publish page - or "latest" for the latest version.
Defaults to "latest" if not specified.

</details>

Expand Down

1 comment on commit f28f4e1

@vercel
Copy link

@vercel vercel bot commented on f28f4e1 Nov 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.