Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
scrypt-ts-lib
Advanced tools
Readme
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 133 weekly downloads. As such, scrypt-ts-lib popularity was classified as not popular.
We found that scrypt-ts-lib demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.