Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
bitcoin-sfox-client
Advanced tools
This is used by My-Wallet-V3.
npm install bitcoin-sfox-client --save
Three things are needed:
delegate
object (see example) with functions that provide the following:function () { return JSON.stringify(this._sfox);
}email()
-> String : the users email addressisEmailVerified()
-> Boolean : whether the users email is verifiedgetEmailToken()
-> stringify : JSON web token {email: 'me@example.com'}monitorAddress(address, callback)
: callback(amount)
if btc receivedcheckAddress(address)
: look for existing transaction at addressgetReceiveAddress(trade)
: return the trades receive addressreserveReceiveAddress()
commitReceiveAddress()
releaseReceiveAddress()
serializeExtraFields(obj, trade)
: e.g. obj.account_index = ...
deserializeExtraFields(obj, trade)
var object = {user: 1, offline_token: 'token'};
var sfox = new SFOX(object, delegate);
sfox.api.apiKey = ...;
sfox.delegate.save.bind(sfox.delegate)();
// "{"user":1, ...}"
To use a local version of bitcoin-exchange-client, create a symlink:
cd ..
rm -rf bitcoin-coinify-client/node_modules/bitcoin-exchange-client
ln -s ../../bitcoin-exchange-client bitcoin-coinify-client/node_modules/bitcoin-exchange-client
To use a local version of this repo inside my-wallet-v3, create a symlink:
cd ..
rm -rf My-Wallet-V3/node_modules/bitcoin-sfox-client
ln -s ../../bitcoin-sfox-client My-Wallet-V3/node_modules/bitcoin-sfox-client
Note that Grunt won't detect these changes.
Change version in package.json
.
git commit -a -m "v0.1.0"
git push
git tag -s v0.1.0
git push --tags
FAQs
Buy and sell Bitcoin using SFOX API.
The npm package bitcoin-sfox-client receives a total of 21 weekly downloads. As such, bitcoin-sfox-client popularity was classified as not popular.
We found that bitcoin-sfox-client 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.