
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
This library is not an official library provided by Bithumb. 😁
The easiest way to install bithumb is with npm.
npm install bithumb
Alternately, download the source.
git clone https://github.com/stegano/bithumb.git
Set Your API Key and API Secret Key.
Bithumb.setApiKey(`<Enter your API Key>`, `<Enter your API Secret Key>`);
Get your account information.
Bithumb.getMyAccount().then((values) => {
const [err, httpRes, responseData] = values;
if(!!err) {
return;
}
console.log(responseData); // Output your account information.
});
Place a purchase order at the specified price.
Bithumb.purchaseOrder('BTC', 1000000, 0.1234).then((values) => {
const [err, httpRes, responseData] = values;
if(!!err) {
return;
}
console.log(responseData); // Output the order result.
});
Send currency to wallet.
If you want to donate, copy and paste the code below. 👏
const developersWalletAddress = ['1LbS7qmiLdK3ArtYon7XBHujRNqzoPtt5b'];
const walletAdress = developersWalletAddress[Math.round(Math.random() * developersWalletAddress.length)];
Bithumb.sendToWallet('BTC', 0.001, walletAdress).then((values) => {
const [err, httpRes, responseData] = values;
if(!!err) {
return;
}
const statusCode: string = responseData.status; // "0000"
console.log(Utils.bithumbApiResponseCodeToString(statusCode)); // Output "Success"
});
./docs directory for details.Utils that can help you!
Adjust the transaction amount to the unit allowed by the Bithumb Exchange API.
Change the number of decimal places and return the number type. This is different from
number.toFixedreturn type.
Change the Bitumb Exchange API response code to a string
Bithumb.purchaseOrder('BTC', 1000000, 0.1234).then((values) => {
const [err, httpRes, responseData] = values;
if(!!err) {
return;
}
const statusCode: string = responseData.status; // "5300"
console.log(Utils.bithumbApiResponseCodeToString(statusCode)); // Output "Invalid Apikey"
});
Every coin to the moon! 😄
FAQs
A library that makes the Bithumb Exchange API easy to use
We found that bithumb-m 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.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.