v12.0.0 - initial commit

This commit is contained in:
padreug 2025-12-31 19:04:13 +01:00
commit e2c49ea43c
1145 changed files with 97211 additions and 0 deletions

View file

@ -0,0 +1,24 @@
module.exports = {
buy,
sell,
}
function buy(cryptoAtoms, fiatCode, cryptoCode) {
console.log(
'[mock] buying %s %s for %s',
cryptoAtoms.toString(),
cryptoCode,
fiatCode,
)
return Promise.resolve()
}
function sell(cryptoAtoms, fiatCode, cryptoCode) {
console.log(
'[mock] selling %s %s for %s',
cryptoAtoms.toString(),
cryptoCode,
fiatCode,
)
return Promise.resolve()
}