
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
Library to integrate bitsign to your project. For further information please go to the documentation.
Bitsignjs its a library that lets you interact easily with BitSign Federation blockchain to create notary transactions, deploy smart contracts, make calls and ejecute state changer contracts functions.
To begin using our library you must instanciate the library with your token. To create your access token you can click this link.
const bitsignjs = require('bitsignjs');
let api = bitsignjs.init(<your_token>);
To create, deploy and interact with Smart Contrat we have several methods that connect with our webservice endpoints.
If you want to deploy a new contract you can use the endpoint deploy as shown below. For more information you can check our official documentation here
api.contracts.deploy({
password: '<your_password>',
type: '<type>',
args: {}
}).then(data => console.log(data))
api.contracts.send({
password: '<your_password>',
method: '<method>',
args: {},
address: '<contract_address>'
}).then(data => console.log(data))
api.contracts.call({
password: '<your_password>',
method: '<method>',
args: {},
address: '<contract_address>'
}).then(data => console.log(data))
api.contracts.docs(<type>).then(data => console.log(data))
api.contracts.deployed().then(data => console.log(data))
api.eth.status().then(data => console.log(data))
api.transactions.notarizeTx({
address: '0x...',
data: '<data>',
password: '<your_password>'
}).then(data => console.log(data))
api.transactions.notarizeTx().then(data => console.log(data))
api.transactions.notarizeTx('0x...').then(data => console.log(data))
In order to use create and/or send a raw tx you don't need to init the library or pass the token.
You must send:
const bitsignjs = require('bitsignjs');
bitsignjs.createRawTx({
sender: '0x',
privateKey: '...',
to: '0x...',
value: ''
}).then(signedTx => console.log(signedTx))
const bitsignjs = require('bitsignjs');
bitsignjs.signedRawTx(signedTx).then(data => console.log(data))
FAQs
Client side lib for interact with bitsign
The npm package bitsignjs receives a total of 3 weekly downloads. As such, bitsignjs popularity was classified as not popular.
We found that bitsignjs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.