Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@xyo-network/api-address-verifier-apollo
Advanced tools
Apollo api with react codegen components for ethereum address verification
cd
into the api-address-verifier-apollo
directory.yarn
yarn dev
yarn add @xyo-network/api-address-verifier-apollo @xyo-network/tool-storybook-react
import {
VerifyType,
withVerifyAddress,
VerifyAddressProvider,
withMyVerifiedAddresses,
VerifiedAddress,
} from '@xyo-network/api-address-verifier-apollo'
import {
SignButton,
ISigningValues,
} from '@xyo-network/tool-storybook-react/dist/lib/Signing'
const SIGNING_DATA = 'I <3 XYO'
export const VerifyAddresses = withVerifyAddress()(({ mutate }) => {
const onSuccess = async ({ address, signature, error }: ISigningValues) => {
try {
if (error) throw error
await mutate({
variables: {
type: VerifyType.Sign,
data: SIGNING_DATA,
address,
signature,
},
})
} catch (e) {
// handle err
}
}
return <SignButton data={SIGNING_DATA} onSuccess={onSuccess} />
})
export const MyVerifiedAddresses = withMyVerifiedAddresses()(({ data }) => {
return <YourAddressListComponent verifiedAddresses={data.verifiedAddresses} />
})
export default () => {
return (
<VerifyAddressProvider
getRequestContext={async () => ({ headers: {
'X-Auth-Token': `${usertoken}`
...headers
} })}
>
<>
<VerifyAddresses />
<MyVerifiedAddresses />
</>
</VerifyAddressProvider>
)
}
Only for internal XY - The Persistent Company use at this time.
Made with ❄️ and 🔥 by XY - The Persistent Company
FAQs
Apollo api with react codegen
The npm package @xyo-network/api-address-verifier-apollo receives a total of 1 weekly downloads. As such, @xyo-network/api-address-verifier-apollo popularity was classified as not popular.
We found that @xyo-network/api-address-verifier-apollo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.