
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@terra-money/core
Advanced tools
This package provides Terra Blockchain client side APIs to support building transaction, singing, or querying chain data.
This project provides Javascript & Node.js SDK library for Core of Terra.
const mnemonic = terra.generateMnemonic()
const masterKey = terra.deriveMasterKeySync(mnemonic)
const keypair = terra.deriveKeypair(masterKey)
const accAddr = terra.getAccAddress(keypair.publicKey)
const msgSend = terra.buildSend([
{
"amount": "1000000",
"denom": "uluna"
}
], accAddr, "terra1ptdx6akgk7wwemlk5j73artt5t6j8am08ql3qv");
const stdTx = terra.buildStdTx([msgSend], {
"gas": "200000",
"amount": [
{
"amount": "1000",
"denom": "uluna"
}
]
}, "library test")
const jsonTx = stdTx.value
const txSignature = terra.sign(jsonTx, keypair, {
sequence: "0",
account_number: "167",
chain_id: "soju-0009"
})
const signedTx = terra.createSignedTx(stdTx.value, txSignature)
const broadcastBody = terra.createBroadcastBody(signedTx, "block")
// get txid
stdTx.value = signedTx
const txbytes = terra.getAminoDecodedTxBytes(stdTx)
const txhash = terra.getTxHash(txbytes)
console.log(accAddr, broadcastBody, txhash)
FAQs
This package provides Terra Blockchain client side APIs to support building transaction, singing, or querying chain data.
The npm package @terra-money/core receives a total of 1 weekly downloads. As such, @terra-money/core popularity was classified as not popular.
We found that @terra-money/core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.