
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
chainpoint-client-web
Advanced tools
Embeddable Components for Creating and Verifying Proofs on the Chainpoint Network
This library provides react components for creating and verifying Chainpoint proofs using the Tierion Network.
There are two ways to embed the UI components into the site.
NPM
npm i --save chainpoint-client-web
YARN
yarn add chainpoint-client-web
chainpoint-client-web provides two files for use in html pages:
Steps:
Create script and link tag for bundled css and js files.
Add a container with id proof-app-client.
Chainpoint web client will render application directly in this container.
<html>
<head>
<link rel="stylesheet" href="./node_modules/chainpoint-client-web/dist/bundle.css" />
</head>
<body>
<div
id="proof-app-client"
data-onAppearCreate="onAppearCreate"
data-onAppearVerify="onAppearVerify"
data-onChangeProofCount="onChangeProofCount"
data-onChangeCreateStatus="onChangeCreateStatus"
data-onChangeVerifyFailStatus="onChangeVerifyFailStatus"
data-onChangeVerifySuccessStatus="onChangeVerifySuccessStatus"
data-onChangeVerifyAnalysisStatus="onChangeVerifyAnalysisStatus"
></div>
<script type="text/javascript">
function onAppearCreate() {
console.log('onAppearCreate');
}
function onAppearVerify() {
console.log('onAppearVerify');
}
function onChangeProofCount() {
console.log('onChangeProofCount');
}
function onChangeCreateStatus() {
console.log('onChangeCreateStatus');
}
function onChangeVerifyFailStatus() {
console.log('onChangeVerifyFailStatus');
}
function onChangeVerifySuccessStatus() {
console.log('onChangeVerifySuccessStatus');
}
function onChangeVerifyAnalysisStatus() {
console.log('onChangeVerifyAnalysisStatus');
}
</script>
<script type="text/javascript" src="./node_modules/chainpoint-client-web/dist/bundle.js"></script>
</body>
</html>
chainpoint-client-web provides set of react components for use in react application:
import ProofClient from 'chainpoint-client-web/dist/react/index.js'
import 'chainpoint-client-web/dist/react/index.css'
export default props => (
<ProofClient
onAppearCreate={() => {}}
onAppearVerify={() => {}}
onChangeProofCount={() => {}}
onChangeCreateStatus={() => {}}
onChangeVerifyAnalysisStatus={() => {}}
onChangeVerifySuccessStatus={() => {}}
onChangeVerifyFailStatus={() => {}}
/>
)
FAQs
Embeddable Components for Creating and Verifying Proofs on the Chainpoint Network
The npm package chainpoint-client-web receives a total of 2 weekly downloads. As such, chainpoint-client-web popularity was classified as not popular.
We found that chainpoint-client-web demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.