mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
fixing formatting
This commit is contained in:
parent
9126ef19b4
commit
3cfd3e4db4
11
README.md
11
README.md
@ -45,12 +45,15 @@ This is in alpha state and you can expect running into problems. If you run into
|
|||||||
- [🏛 License](#-license)
|
- [🏛 License](#-license)
|
||||||
|
|
||||||
## 📚 Prerequisites
|
## 📚 Prerequisites
|
||||||
|
|
||||||
- node.js ([Install from here](https://nodejs.org/en/download/))
|
- node.js ([Install from here](https://nodejs.org/en/download/))
|
||||||
- Docker ([Managed as a non-root user](https://docs.docker.com/engine/install/linux-postinstall/))
|
- Docker ([Managed as a non-root user](https://docs.docker.com/engine/install/linux-postinstall/))
|
||||||
- A Unix based operating system (Mac or Linux)
|
- A Unix based operating system (Mac or Linux)
|
||||||
|
|
||||||
### Note:
|
### Note
|
||||||
Any function that uses `getPastEvents()` will only work on Eth (see: https://github.com/oceanprotocol/ocean.js/issues/741). This includes:
|
|
||||||
|
Any function that uses `getPastEvents()` will only work on Eth (see: <https://github.com/oceanprotocol/ocean.js/issues/741>). This includes:
|
||||||
|
|
||||||
- searchPoolforDT()
|
- searchPoolforDT()
|
||||||
- getPoolsbyCreator()
|
- getPoolsbyCreator()
|
||||||
- getPoolSharesByAddress()
|
- getPoolSharesByAddress()
|
||||||
@ -60,6 +63,7 @@ Any function that uses `getPastEvents()` will only work on Eth (see: https://git
|
|||||||
- getExchangesbyCreator()
|
- getExchangesbyCreator()
|
||||||
- getExchangeSwaps()
|
- getExchangeSwaps()
|
||||||
- getAllExchangesSwaps()
|
- getAllExchangesSwaps()
|
||||||
|
|
||||||
## 🏗 Installation
|
## 🏗 Installation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -87,6 +91,7 @@ async function init() {
|
|||||||
return ocean
|
return ocean
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Beginners Guide
|
### Beginners Guide
|
||||||
|
|
||||||
This introduction is aimed at developers who are completely new to blockchain, no coding experience is required.
|
This introduction is aimed at developers who are completely new to blockchain, no coding experience is required.
|
||||||
@ -156,11 +161,13 @@ cd barge
|
|||||||
You can then proceed to run in another terminal.
|
You can then proceed to run in another terminal.
|
||||||
|
|
||||||
Let ocean.js know where to pickup the smartcontract addresses:
|
Let ocean.js know where to pickup the smartcontract addresses:
|
||||||
|
|
||||||
```
|
```
|
||||||
export ADDRESS_FILE="${HOME}/.ocean/ocean-contracts/artifacts/address.json"
|
export ADDRESS_FILE="${HOME}/.ocean/ocean-contracts/artifacts/address.json"
|
||||||
```
|
```
|
||||||
|
|
||||||
Build metadata:
|
Build metadata:
|
||||||
|
|
||||||
```
|
```
|
||||||
npm run build
|
npm run build
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user