Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@web3-storage/aggregate-client
Advanced tools
The aggregate client for https://web3.storage
The @web3-storage/aggregate-client
package provides the "low level" client API for aggregating data uploaded with the w3up platform. It is based on [web3-storage/specs/w3-aggregation.md])https://github.com/web3-storage/specs/blob/feat/filecoin-spec/w3-aggregation.md) and is not intended for web3.storage end users.
Install the package using npm:
npm install @web3-storage/aggregate-client
aggregateOffer
function aggregateOffer(
conf: InvocationConfig,
offers: Offer[],
): Promise<{ status: string }>
Ask the service to create an aggregate offer and put it available for Storage Providers.
More information: InvocationConfig
aggregateGet
function aggregateGet(
conf: InvocationConfig,
commitmentProof: string, // TODO: ProofLink
): Promise<unkown> // TODO: type
Ask the service to get deal details of an aggregate.
More information: InvocationConfig
Offer
An offered CAR to be part of an Aggregate.
export interface Offer {
link: CARLink
size: number
commitmentProof: string // TODO: ProofLink
src: OfferSrc[]
}
InvocationConfig
This is the configuration for the UCAN invocation. It is an object with issuer
, audience
, resource
and proofs
:
issuer
is the signing authority that is issuing the UCAN invocation(s).audience
is the principal authority that the UCAN is delegated to.resource
(with
field) points to a storage space.proofs
are a set of capability delegations that prove the issuer has the capability to perform the action. These might not be required.Feel free to join in. All welcome. Please open an issue!
Dual-licensed under MIT + Apache 2.0
FAQs
The web3.storage aggregate client
The npm package @web3-storage/aggregate-client receives a total of 1 weekly downloads. As such, @web3-storage/aggregate-client popularity was classified as not popular.
We found that @web3-storage/aggregate-client 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.