Skip to content

Commit a71472e

Browse files
authored
Merge pull request #754 from Web3Auth/feat/update-unity-NethereumLib-installation
Feat/update Unity docs to install Nethereum
2 parents 479a5a0 + 29ab191 commit a71472e

3 files changed

Lines changed: 62 additions & 2 deletions

File tree

docs/sdk/pnp/unity/install.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import web3uthConfigUnity from "@site/static/images/web3auth-unity.jpg";
1010

1111
## Download the Unity Package
1212

13-
Download [.unitypackage](https://github.com/Web3Auth/web3auth-unity-sdk/releases/tag/2.1.1) from our
13+
Download [.unitypackage](https://github.com/Web3Auth/web3auth-unity-sdk/releases/tag/3.0.0) from our
1414
latest release and import the package file into your existing Unity3D project.
1515

1616
:::warning

src/common/docs/unity-connect-blockchain/_evm-get-account.mdx

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,44 @@
11
In this reference, we're using the `Nethereum` library to demonstrate how to make blockchain calls
22
using it with Web3Auth.
33

4+
# Package installation instructions ([Official repository](https://github.com/Nethereum/Nethereum.Unity))
5+
6+
Install via **Package Manager** using OpenUpm
7+
8+
- open Edit/Project Settings/Package Manager
9+
10+
- add a new **Scoped Registry** (or edit the existing OpenUPM entry)
11+
12+
- Name package.openupm.com
13+
14+
- URL https://package.openupm.com
15+
16+
- Scope(s) com.nethereum.unity
17+
18+
- click Save or Apply
19+
20+
- Open **Window/Package Manager**
21+
22+
- click **+**
23+
24+
- select Add package by name... or Add package from git URL...
25+
26+
- paste **com.nethereum.unity** into name
27+
28+
- paste **4.19.2** into version (or your preferred one)
29+
30+
- click **Add**
31+
32+
# Installing package for old version
33+
434
- Download the latest `net461dllsAOT.zip` package from Nethereum's
535
[latest release](https://github.com/Nethereum/Nethereum/releases)
636

737
- Extract and the rename the folder to `NethereumLib` for easy identification.
838

939
- Move the folder to the `Assets/Plugins` folder of your Unity project.
1040

11-
- You might have to delete a few files from the `NethereumLib` folder, if you're getting any errors
41+
- You might have to delete a few files from the `NethereumLib` fold er, if you're getting any errors
1242
while building the project. For our implementation, we deleted the following files:
1343
`Newtonsoft.Json.dll`, all the files starting with `System.*`, `UnityEngine.dll`,
1444
`Nethereum.Web3Lite.dll`, `Nethereum.HdWallet.dll`, `NBitcoin.dll`, `Nethereum.RPC.Reactive.dll`

src/common/docs/unity-connect-blockchain/_evm-installation.mdx

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,36 @@
11
In this reference, we're using the `Nethereum` library to demonstrate how to make blockchain calls
22
using it with Web3Auth.
33

4+
# Package installation instructions ([Official repository](https://github.com/Nethereum/Nethereum.Unity))
5+
6+
Install via **Package Manager** using OpenUpm
7+
8+
- open Edit/Project Settings/Package Manager
9+
10+
- add a new **Scoped Registry** (or edit the existing OpenUPM entry)
11+
12+
- Name package.openupm.com
13+
14+
- URL https://package.openupm.com
15+
16+
- Scope(s) com.nethereum.unity
17+
18+
- click Save or Apply
19+
20+
- Open **Window/Package Manager**
21+
22+
- click **+**
23+
24+
- select Add package by name... or Add package from git URL...
25+
26+
- paste **com.nethereum.unity** into name
27+
28+
- paste **4.19.2** into version (or your preferred one)
29+
30+
- click **Add**
31+
32+
# Installing package for old version
33+
434
- Download the latest `net461dllsAOT.zip` package from Nethereum's
535
[latest release](https://github.com/Nethereum/Nethereum/releases)
636

0 commit comments

Comments
 (0)