Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
conseiljs
Advanced tools
Client-side library for building decentralized applications, currently focused on Tezos.
ConseilJS connects to Conseil for cached blockchain data and Nautilus for live chain data and operations.
Add our NPM package to your project.
$ npm i conseiljs
If you are using webpack in your project, add below lines to your webpack.config.js
file:
node: {
fs: 'empty'
}
You can find some tutorials in our wiki to help you get started with ConseilJS.
Below is the list of namespaces you can import to your project and start building immediately:
TezosConseilClient
- Functions for querying the Conseil backend REST API v2
TezosHardwareWallet
- Functions for interaction with the Tezos node via a Hardware wallet. (Only Ledger Nano S for now)
TezosMessageCodec
- A collection of functions to encode and decode various Tezos P2P message components
TezosNodeReader
- Utility functions for interacting with the Tezos node.
TezosNodeWriter
- Functions for sending operations on the Tezos network.
TezosFileWallet
- Functions for Tezos wallet functionality.
TezosTypes
- Types used to process data returned from Conseil server.
Example import:
import { TezosNodeWriter } from 'conseiljs';
npm run test
runs all unit tests.
Add a file called servers.ts
under the integration_test
with these contents:
export const servers = {
conseilServer: '',
conseilApiKey: '',
tezosServer: ''
}
The blank strings should be replaced with the details of your Conseil & Tezos servers.
After this, npm run integration-test
to run all integration tests.
Please note that some of the integration tests require the usage of a hardware wallet.
FAQs
Client-side library for Tezos dApp development.
The npm package conseiljs receives a total of 251 weekly downloads. As such, conseiljs popularity was classified as not popular.
We found that conseiljs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.