Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@eth-optimism/atst
Advanced tools
atst is a typescript / javascript sdk and cli around AttestationStation
Visit Docs for general documentation on AttestationStation.
Install
npm install @eth-optimism/atst wagmi @wagmi/core ethers@5.7.0
The typescript sdk provides a clean wagmi based interface for reading and writing to AttestationStation.
See sdk docs for usage instructions.
The cli provides a convenient cli for interacting with the AttestationStation contract
See cli docs for usage instructions.
For react hooks we recomend using the wagmi cli with the etherscan plugin and react plugin to automatically generate react hooks around AttestationStation.
Use createKey
and createValue
to convert your raw keys and values into bytes that can be used in AttestationStation contract calls
Use parseString
, parseBool
, parseAddress
and parseNumber
to convert values returned by AttestationStation to their correct data type.
For convenience we also export the hooks here:
useAttestationStationAttestation
- Reads attestations with useContractReaduseAttestationStationVersion
- Reads attestation versionuseAttestationStationAttest
- Wraps useContractWrite with AttestationStation abi calling attestusePrepareAttestationStationAttest
- Wraps usePrepare with AttestationStation abi calling attestuseAttestationStationAttestationCreatedEvent
- Wraps useContractEvents for Created eventsAlso some more hooks exported by the cli but these are likely the only ones you need.
Please see our contributing.md. No contribution is too small.
Having your contribution denied feels bad. Please consider opening an issue before adding any new features or apis.
If you have any problems, these resources could help you:
FAQs
@eth-optimism/atst The officia
The npm package @eth-optimism/atst receives a total of 2 weekly downloads. As such, @eth-optimism/atst popularity was classified as not popular.
We found that @eth-optimism/atst demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.