
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
zkToken | JS SDK
import { ZkEth } from "zkt-sdk";
const zkEth = new ZkEth("<ETHERJS_BROWSER_PROVIDER>");
const auth = zkEth.authentication("<SXT_ENDPOINT>", "<SECRETS_PROXY_ENDPOINT>");
console.log(zkEth);
import { ZkEth } from "zkt-sdk";
import { ethers } from 'ethers';
const provider = new ethers.BrowserProvider(window.ethereum, { name: 'polygon', chainId: 137 });
const zkEth = new ZkEth(provider, 137);
await zkEth.depositNative(33, '0x3077Bf667dBD81d3c718684Da4DE4Dc8448220E1', 0)
yarn
yarn run build-web
The build files should be available in ./dist/web
folder
yarn run test-web
A new index.html
with sample usage code should be available in the ./dist
folder. In your browser open http://localhost:9000 and check the console logs. It watches any changes to the html file
<!DOCTYPE html>
<head>
<script src="./bundle.js"></script>
<script>
// Using the auth
const zkEth = new ZkEth("<ETHERJS_BROWSER_PROVIDER>");
const auth = zkEth.authentication("<SXT_ENDPOINT>", "<SECRETS_PROXY_ENDPOINT>");
console.log(auth)
</script>
</head>
</html>
yarn
yarn run build-node
Node js version of the files will be generated to dist/node
FAQs
zkToken | JS SDK
The npm package zkt-sdk receives a total of 21 weekly downloads. As such, zkt-sdk popularity was classified as not popular.
We found that zkt-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.