Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
@drizzle-utils/core
Advanced tools
A tool to make frontend dapp development a little bit sweeter.
A tool to make frontend dapp development a little bit sweeter.
import DrizzleUtils from "@drizzle-utils/core";
const drizzleUtils = new DrizzleUtils(); // drizzleUtils is a stateful instance
await drizzleUtils.init(); // init method returns a promise
console.log(drizzleUtils.web3); // the web3 instance wrapped by drizzle-utils
console.log(drizzleUtils.accounts); // this is always kept up-to-date
// you can also subscribe to the currentAccount$ observable
drizzleUtils.currentAccount$.subscribe(addr => console.log("addr"));
Note that, drizzleUtils.currentAccount$
is a regular RxJS 6 Observable. In its simplest usage, we simply subscribe to it and log out the current account address.
For a real usage example, see the test-app
directory. Or more specifically, test-app/src/App.js
.
FAQs
A tool to make frontend dapp development a little bit sweeter.
We found that @drizzle-utils/core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.