Security News
NVD Backlog Tops 20,000 CVEs Awaiting Analysis as NIST Prepares System Updates
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
@oceanprotocol/keeper-contracts
Advanced tools
💧 Integration of TCRs, CPM and Ocean Tokens in Solidity oceanprotocol.com
Ocean Keeper implementation where we put the following modules together:
For local developmenty you can either use Docker, or setup the development environment on your machine.
The most simple way to get started is with Docker:
git clone git@github.com:oceanprotocol/keeper-contracts.git
cd keeper-contracts/
docker build -t keeper-contracts:0.1 .
docker run -d -p 8545:8545 keeper-contracts:0.1
Which will expose the Ethereum RPC client with all contracts loaded under localhost:8545, which you can add to your truffle.js
:
module.exports = {
networks: {
development: {
host: 'localhost',
port: 8545,
network_id: '*',
gas: 6000000
},
}
}
As a pre-requisite, you need Node.js >= v6.11.5.
Clone the project and install all dependencies:
git clone git@github.com:oceanprotocol/keeper-contracts.git
cd keeper-contracts/
# install dependencies
npm i
# install RPC client globally
npm install -g ganache-cli
Compile the solidity contracts:
truffle compile
In a new terminal, launch an Ethereum RPC client, e.g. ganache-cli:
ganache-cli
Switch back to your other terminal and deploy the contracts:
truffle migrate
# for redeployment run this instead
truffle migrate --reset
Note:
gas = 5000000
from : 0x3424ft...
in truffle.js
and it will use the first account in testRPC or ganache-cli by default.Run tests with truffle test
, e.g.:
truffle test test/registry.js
We use GitHub as a means for maintaining and tracking issues and source code development.
If you would like to contribute, please fork this repository, do work in a feature branch, and finally open a pull request for maintainers to review your changes.
Ocean Protocol uses C4 Standard process to manage changes in the source code. Find here more details about Ocean C4 OEP.
Copyright 2018 Ocean Protocol Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
FAQs
Integration of SEAs, DID and OceanToken in Solidity
The npm package @oceanprotocol/keeper-contracts receives a total of 159 weekly downloads. As such, @oceanprotocol/keeper-contracts popularity was classified as not popular.
We found that @oceanprotocol/keeper-contracts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.