-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update codeExamples dependencies (#1742)
* update compute examples depandancies * Checking for the decimals on the feeToken * Adding tests to check if the number of decimals is correct for the publishMarketFee * Feature/sepolia (#1749) * add sepolia * bump contracts * update install dependacies step in code and compute examples readmes * commented out update docs for the moment * Updating CodeExamples.md * Updating ComputeExamples.md --------- Co-authored-by: Jamie Hewitt <[email protected]> Co-authored-by: Jamie Hewitt <[email protected]> Co-authored-by: Alex Coseru <[email protected]> Co-authored-by: GitHub Actions Bot <>
- Loading branch information
1 parent
a7c68e9
commit a95d563
Showing
5 changed files
with
32 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,23 +61,12 @@ cat > marketplace.js | |
# On linux press CTRL + D to save | ||
``` | ||
|
||
## 3. Install dependancies | ||
## 3. Install dependencies | ||
|
||
Open the package.json file in a text editor and update the dependancies to include the following: | ||
|
||
```JSON | ||
"dependencies": { | ||
"@oceanprotocol/contracts": "1.0.0-alpha.28", | ||
"@oceanprotocol/lib": "1.0.0-next.37", | ||
"crypto-js": "^4.1.1", | ||
"ethers": "^5.7.2" | ||
} | ||
``` | ||
|
||
Now in your terminal run the following command: | ||
Install dependencies running the following command in your terminal: | ||
|
||
```bash | ||
npm install | ||
npm install @oceanprotocol/lib crypto-js [email protected] typescript @types/node ts-node | ||
``` | ||
|
||
## 4. Import dependencies and add variables and constants | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,23 +61,12 @@ | |
/// # On linux press CTRL + D to save | ||
/// ``` | ||
|
||
/// ## 3. Install dependancies | ||
/// ## 3. Install dependencies | ||
|
||
/// Open the package.json file in a text editor and update the dependancies to include the following: | ||
|
||
/// ```JSON | ||
/// "dependencies": { | ||
/// "@oceanprotocol/contracts": "1.0.0-alpha.28", | ||
/// "@oceanprotocol/lib": "1.0.0-next.37", | ||
/// "crypto-js": "^4.1.1", | ||
/// "ethers": "^5.7.2" | ||
/// } | ||
/// ``` | ||
|
||
/// Now in your terminal run the following command: | ||
/// Install dependencies running the following command in your terminal: | ||
|
||
/// ```bash | ||
/// npm install | ||
/// npm install @oceanprotocol/lib crypto-js [email protected] typescript @types/node ts-node | ||
/// ``` | ||
|
||
/// ## 4. Import dependencies and add variables and constants | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters