|
1 | 1 | In this reference, we're using the `Nethereum` library to demonstrate how to make blockchain calls |
2 | 2 | using it with Web3Auth. |
3 | 3 |
|
| 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 | + |
4 | 34 | - Download the latest `net461dllsAOT.zip` package from Nethereum's |
5 | 35 | [latest release](https://github.com/Nethereum/Nethereum/releases) |
6 | 36 |
|
7 | 37 | - Extract and the rename the folder to `NethereumLib` for easy identification. |
8 | 38 |
|
9 | 39 | - Move the folder to the `Assets/Plugins` folder of your Unity project. |
10 | 40 |
|
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 |
12 | 42 | while building the project. For our implementation, we deleted the following files: |
13 | 43 | `Newtonsoft.Json.dll`, all the files starting with `System.*`, `UnityEngine.dll`, |
14 | 44 | `Nethereum.Web3Lite.dll`, `Nethereum.HdWallet.dll`, `NBitcoin.dll`, `Nethereum.RPC.Reactive.dll` |
|
0 commit comments