🐳 Ocean Provider.
Project description
provider
🐋 Provide an off-chain database store for data assets metadata and registration and perform part of access control in collaboration with the keeper-contracts. oceanprotocol.com
🐲🦑 THERE BE DRAGONS AND SQUIDS. This is in alpha state and you can expect running into problems. If you run into them, please open up a new issue. 🦑🐲
Get Started
The most simple way to start is:
git clone git@github.com:oceanprotocol/provider.git
cd provider/
export FLASK_APP=provider/run.py
export CONFIG_FILE=oceandb.ini
flask run
Requirements
You should have running a instance of BigchainDB and ganache-cli. You can start running the docker-compose in the docker directory:
docker-compose up
API documentation
Once you have your application running you can access to the documentation in:
http://127.0.0.1:5000/api/v1/docs
Configuration
In the configuration there are now three sections:
- oceandb: Contains different values to connect with oceandb. You can find more information about how to use OceanDB here.
- keeper-contracts: This section help you to connect with the network where you have deployed the contracts.
[keeper-contracts] keeper.host=0.0.0.0 keeper.port=8545 #contracts.folder=venv/contracts market.address=0xbc0be3598a31715bac5235718f96bb242804e61e auth.address=0x6ba5f72e5399aa67db5b22ee791851937d4910f5 token.address=0xfd83b273b395b1029c41bb32071500bf662e6a8a provider.address=
- resources: This section have properties to connect with the different resourcer provideres. At the moment we are only using Azure but this is going to increase quickly.
[resources] azure.account.name=testocnfiles azure.account.key=k2Vk4yfb88WNlWW+W54a8ytJm8MYO1GW9IgiV7TNGKSdmKyVNXzyhiRZ3U1OHRotj/vTYdhJj+ho30HPyJpuYQ== azure.container=testfiles
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ocean_provider-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9cc7213287bbc952c1f59a7db6078279c013b024af898dad4bd24abdbd0879a |
|
MD5 | d27932a1910cc95359854f8cd5bc2276 |
|
BLAKE2b-256 | bdf61303496c1f3533d2d8e0683a80c3d695af721a2694057a5f6139de1edaf8 |