
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@zapjs/curve
Advanced tools
This package contains objects that can parse the custom Zap bonding curve encoding used by Zap oracles. This package also enables calculations of Dot prices on a given bonding curve.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes
What things you need to install the software and how to install them
- Node 12.20 <=14.15
- Lerna
npm i
lerna bootstrap
lerna run build
lerna run test
cd packages/{package_name}
npm run build
npm run test
npm run run_test
npm install `@zapjs/provider`
import {ZapProvider, ProviderHandler} from '@zapjs/provider';
class myHandler implements ProviderHander{
handleIncoming(res:any){
}
handleSubscription(res:any) {
}
handleUnsubscription (res:string){
}
}
let myZapProvider = new ZapProvider({owner:address,handler:new myHandler()})
await myZapProvider.initiateProvider({
public_key:111,
title: "testTitle",
endpoint: "testEndpoint",
endpoint_params : ["p1","p2"]
})
const thisConstants = []
const thisParts = []
const thisDividers = []
await myZapProvider.initiateProviderCurve({
endpoint :"testEndpoint",
constants : thisConstants,
parts : thisParts,
dividers : thisDividers
})
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
See also the list of contributors
This project is licensed under the MIT License - see the LICENSE.md file for details
FAQs
Zap Curve
The npm package @zapjs/curve receives a total of 4 weekly downloads. As such, @zapjs/curve popularity was classified as not popular.
We found that @zapjs/curve 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.