1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-01 15:55:34 +01:00

GITBOOK-272: Added a local setup page

This commit is contained in:
Ana Loznianu 2023-05-24 15:55:21 +00:00 committed by gitbook-bot
parent 4b940a1a6d
commit 74a1a9f32f
No known key found for this signature in database
GPG Key ID: 07D2180C7B12D0FF
2 changed files with 12 additions and 0 deletions

View File

@ -37,6 +37,7 @@
* [DDO Specification](developers/ddo-specification.md)
* [Storage Specifications](developers/storage-specifications.md)
* [Fine-Grained Permissions](developers/Fine-Grained-Permissions.md)
* [Local Setup - Ganache](developers/local-setup-ganache.md)
* [Build a Marketplace](developers/build-a-marketplace/README.md)
* [Forking Ocean Market](developers/build-a-marketplace/forking-ocean-market.md)
* [Customising a Market](developers/build-a-marketplace/customising-your-market.md)

View File

@ -0,0 +1,11 @@
# Local Setup - Ganache
I don't know where to include the information about the local setup. I've removed it from the networks tab.
### Local / Ganache
The most straightforward way for local-only development is to use [Barge](https://www.github.com/oceanprotocol/barge), which runs [Ganache](https://www.trufflesuite.com/ganache), Aquarius, and Provider. It is used extensively by the Ocean core devs and for automated integration testing.
To connect to it from MetaMask, select the network called _Localhost 8545_.
Alternatively, you can run Ganache independently. Install it according to [the Ganache docs](https://www.trufflesuite.com/ganache). Then deploy Ocean contracts onto Ganache following [docs in Ocean contracts repo](https://www.github.com/oceanprotocol/contracts). Ganache is at the RPC URL [http://localhost:8545](http://localhost:8545).