Skip to content

回复:一台电脑使用多个钱包 ​

原始发布页

打开来源页面
查看 1 个交叉存档

下面是如何使用基于账户的命令的一些伪代码。它确实让网站集成容易多了。

print "发送到 " + getaccountaddress(username) + " 以为你的账户充值" print "余额:" + getbalance(username, 0) print "可用余额:" + getbalance(username, 6)

// if you make a sale, move the money out of their account move(username, "", amount, 6)

// withdrawal sendfrom(username, bitcoinaddress, amount, 6)

英文原文 ​

展开英文原文

Here's some pseudocode of how you would use the account based commands. It sure makes website integration a lot easier.

print "send to " + getaccountaddress(username) + " to fund your account" print "balance: " + getbalance(username, 0) print "available balance: " + getbalance(username, 6)

// if you make a sale, move the money out of their account move(username, "", amount, 6)

// withdrawal sendfrom(username, bitcoinaddress, amount, 6)

为历史保存,为中文读者整理。每篇档案均附来源与英文原文。