Skip to content

Commit d425ceb

Browse files
fix: OpenZeppelin contracts dependency for asset tokenization (#92)
…on of OpenZeppelin contracts dependency for asset tokenization features ## Summary by Sourcery Documentation: - Update asset tokenization guide to include instructions for installing OpenZeppelin contracts dependency.
1 parent 9c24368 commit d425ceb

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

docs/developer-guides/asset-tokenization.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,17 @@ With the IDE open in fullscreen, create a new file for your Asset Tokenization s
127127
2. Right Click and select `New File...`
128128
3. Create a new file called `AssetTokenization.sol`
129129

130-
After the file is created, copy and paste the Solidity code below:
130+
Before adding the contract code, you'll need to install the OpenZeppelin contracts dependency. This provides the base contracts we'll inherit from for features like upgradability and access control.
131+
132+
Open the terminal in the IDE and run:
133+
134+
```bash
135+
npm install @openzeppelin/contracts-upgradeable
136+
```
137+
138+
This package provides the base contracts we'll use like `UUPSUpgradeable`, `OwnableUpgradeable`, and `ERC1155SupplyUpgradeable`.
139+
140+
After installing the dependency, copy and paste the Solidity code below:
131141

132142
<details>
133143
<summary>Solidity Code</summary>

0 commit comments

Comments
 (0)