Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
deso-protocol
Advanced tools
Client side typescript/javascript SDK for building web3 applications for the [DeSo blockchain](https://docs.deso.org).
Client side typescript/javascript SDK for building web3 applications for the DeSo blockchain.
npm i deso-protocol
import { configure } from 'deso-protocol';
// configure takes all of the same options that the identity
// library's configure method takes: https://github.com/deso-protocol/deso-workspace/tree/main/libs/identity#configuration
// with the addition of the MinFeeRateNanosPerKB value that will be used for all transactions.
configure({
spendingLimitOptions: {
GlobalDESOLimit: 1000000000,
TransactionCountLimitMap: {
SUBMIT_POST: 4,
},
}
// this is optional, if not passed the default of 1500 will be used.
MinFeeRateNanosPerKB: 1000,
})
See the identity configuration options for reference.
import { identity } from 'deso-protocol';
identity.login();
identity.logout();
See the identity usage docs for reference.
import { getUsersStateless, getPostsStateless } from 'deso-protocol';
const users = await getUsersStateless({
PublicKeysBase58Check: [key1, key2, ...rest],
});
const posts = await getPostsStateless({ NumToFetch: 20 });
See the backend api documentation for reference. See an exhaustive list of the available data fetching functions here.
The deso-protocol library will handle signing and submitting transactions for confirmation for you. All you need to do is construct them by providing the raw data.
import { submitPost } from 'deso-protocol';
const txInfo = submitPost({
UpdaterPublicKeyBase58Check: currentUser.publicKey,
BodyObj: {
Body: 'My first post on DeSo!',
ImageURLs: [],
VideoURLs: [],
},
});
See the transaction construction api documentation for reference. See an exhaustive list of the available transaction construction functions here
FAQs
Client side typescript/javascript SDK for building web3 applications for the DeSo blockchain.
The npm package deso-protocol receives a total of 131 weekly downloads. As such, deso-protocol popularity was classified as not popular.
We found that deso-protocol 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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.