
Security News
PyPI Expands Trusted Publishing to GitLab Self-Managed as Adoption Passes 25 Percent
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads
scrypt-ts-lib
Advanced tools
A collection of contracts and libraries for writing smart contracts with scrypt-ts.
You can install scrypt-ts-lib to your project with this command:
npm install scrypt-ts-lib
You can use the contracts or libraries by importing them like this:
import { Mimc7 } from "scrypt-ts-lib";
or
import { Mimc7 } from "scrypt-ts-lib/dist/hash/mimc7";
Then use them in your contract like:
class MyContract extends SmartContract {
@method
public unlock(x: bigint, k: bigint, h: bigint) {
// call imported library method
assert(Mimc7.hash(x, k) == h);
}
}
Pull requests are welcome.
You can learn more about how to write smart contracts with scrypt-ts from here.
FAQs
A collection of smart contract libraries for `scrypt-ts`.
The npm package scrypt-ts-lib receives a total of 58 weekly downloads. As such, scrypt-ts-lib popularity was classified as not popular.
We found that scrypt-ts-lib demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.