
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
@cere-ddc-sdk/cli
Advanced tools
DDC CLI provides a flexible set of commands for developers to help setting up a DDC account, upload/download files and more.
Global installation:
npm install -g @cere-ddc-sdk/cli
As a project dependency
npm install --save-dev @cere-ddc-sdk/cli
Running with NPX will auto-install the package
npx @cere-ddc-sdk/cli [command] [options]
All interactions with DDC CLI are of the form
npx @cere-ddc-sdk/cli [command] [options]
or using named binary
cere-ddc [command] [options]
To display basic commands and arguments -
npx @cere-ddc-sdk/cli --help
Upload a file to DDC
npx @cere-ddc-sdk/cli upload ./image.jpg network=testnet --signer="seed phrase" --bucketId=123
It is possible to provide configuration file instead of adding all options to a command line
npx @cere-ddc-sdk/cli upload ./image.jpg --config ./ddc.config.json
The configuration file example
{
"network": "testnet",
"signer": "seed phrase",
"signerType": "sr25519",
"clusterId": "0x...",
}
Licensed under the Apache License
FAQs
DDC command line interface
We found that @cere-ddc-sdk/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.