Skip to content

Commit 6650dd9

Browse files
committed
Update dotnet SDK install instructions in code overview
Replaced outdated Unity package instructions for dotnet with NuGet-based installation steps. Also fixed a minor syntax issue in the contract creation example.
1 parent 6c14848 commit 6650dd9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

apps/dashboard/src/@/components/contracts/code-overview.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ var events = await contract.Events("{{function}}");`,
9090
unity: `// Download the .unitypackage from the latest release:
9191
// https://github.com/thirdweb-dev/unity-sdk/releases
9292
// and drag it into your project`,
93-
dotnet: `// Download the .unitypackage from the latest release:
94-
// https://github.com/thirdweb-dev/unity-sdk/releases
95-
// and drag it into your project`,
93+
dotnet: `// Install the thirdweb SDK via NuGet:
94+
// dotnet add package Thirdweb
95+
// Or search for "Thirdweb" in your NuGet package manager`,
9696
},
9797
read: {
9898
javascript: `import { readContract } from "thirdweb";
@@ -223,7 +223,7 @@ var contract = await ThirdwebManager.Instance.GetContract(
223223
var contract = await ThirdwebContract.Create(
224224
client,
225225
"{{contract_address}}",
226-
{{chainId}
226+
{{chainId}}
227227
);`,
228228
},
229229
write: {

0 commit comments

Comments
 (0)