Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
@blocto/sdk
Advanced tools
[![npm (lastest)](https://img.shields.io/npm/v/@blocto/sdk/latest)](https://www.npmjs.com/package/@blocto/sdk) [![npm (beta)](https://img.shields.io/npm/v/@blocto/sdk/beta)](https://www.npmjs.com/package/@blocto/sdk) [![npm bundle size](https://img.shield
Use Blocto SDK in your dApp to provide excellent user experience!
https://docs.blocto.app/blocto-sdk/javascript-sdk
$ yarn add @blocto/sdk
# or
$ npm i @blocto/sdk
import BloctoSDK from '@blocto/sdk';
const bloctoSDK = new BloctoSDK({
// advance settings please refer to docs
ethereum: {
// (required) chainId to be used
chainId: '0x5',
// (required for Ethereum) JSON RPC endpoint
rpc: 'https://mainnet.infura.io/v3/YOUR_INFURA_ID',
},
// (optional) Blocto app ID
appId: 'YOUR_BLOCTO_APP_ID',
});
yarn
# generate local https cert
brew install mkcert
mkcert -install
cd dev-cert
mkcert localhost
# make dev directory
mkdir dev
ln -s src/main.js dev/main.js
build
: build dist
start
: run live-reload dev server on https://localhost:7777
open browser and navigate to https://localhost:7777/test.html
FAQs
[![npm (lastest)](https://img.shields.io/npm/v/@blocto/sdk/latest)](https://www.npmjs.com/package/@blocto/sdk) [![npm (beta)](https://img.shields.io/npm/v/@blocto/sdk/beta)](https://www.npmjs.com/package/@blocto/sdk) [![npm bundle size](https://img.shield
The npm package @blocto/sdk receives a total of 17,997 weekly downloads. As such, @blocto/sdk popularity was classified as popular.
We found that @blocto/sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.