{"id":1653,"date":"2019-04-25T07:27:04","date_gmt":"2019-04-25T07:27:04","guid":{"rendered":"http:\/\/blog.mathwallet.net\/?p=1653"},"modified":"2019-04-25T10:26:58","modified_gmt":"2019-04-25T10:26:58","slug":"ru-he-zai-binance-chain-shang-chuang-jian-zi-chan","status":"publish","type":"post","link":"https:\/\/blog.mathwallet.xyz\/?p=1653","title":{"rendered":"\u5982\u4f55\u5728 Binance Chain \u4e0a\u521b\u5efa\u8d44\u4ea7"},"content":{"rendered":"<p>\u76ee\u524d\u53ea\u6709\u901a\u8fc7\u547d\u4ee4\u884c\u7684\u65b9\u5f0f\u5728 Binance Chain \u4e0a\u521b\u5efa\u8d44\u4ea7<\/p>\n<h2 id=\"toc_0\">\u5b89\u88c5\u548c\u914d\u7f6e CLI<\/h2>\n<p>\u53c2\u8003\uff1a<a href=\"https:\/\/docs.binance.org\/api-reference\/cli.html\">https:\/\/docs.binance.org\/api-reference\/cli.html<\/a><\/p>\n<p>\u4ecegithub\u4e0b\u8f7d\u547d\u4ee4\u884c\u5ba2\u6237\u7aef<br \/>\n<code><br \/>\ngit clone https:\/\/github.com\/binance-chain\/node-binary.git<br \/>\n<\/code><\/p>\n<p>\u8fdb\u5165\u76ee\u5f55\uff08\u672c\u6559\u7a0b\u4e2d\u4f7f\u7528\u6700\u65b0\u7248 0.5.8.1\uff0c\u548cMac\u7535\u8111\uff0c\u5176\u5b83\u5ba2\u6237\u70b9\u7535\u8111\u53c2\u8003\u4e0a\u9762\u7684\u5b98\u65b9\u6587\u6863\uff09<br \/>\n<code><br \/>\ncd cli\/prod\/0.5.8.1\/mac<br \/>\n<\/code><\/p>\n<h2 id=\"toc_1\">\u521b\u5efa\u8d26\u53f7<\/h2>\n<p>.\/bnbcli keys add newtokenowner<\/p>\n<p>\u6ce8\uff1a\u52a1\u5fc5\u5907\u4efd\u8d26\u53f7\u52a9\u8bb0\u8bcd\uff0c\u5e76\u4ece\u5e01\u5b89\u63d0\u73b0 BNB \u5230\u8fd9\u4e2a\u8d26\u53f7<\/p>\n<h2 id=\"toc_2\">\u521b\u5efa\u8d44\u4ea7<\/h2>\n<p>\u53c2\u8003\uff1a<a href=\"https:\/\/docs.binance.org\/tokens.html\">https:\/\/docs.binance.org\/tokens.html<\/a><\/p>\n<p>\u9996\u5148\u4ece\u4e0b\u9762\u7684\u7f51\u9875\u8f93\u51fa\u91cc\u9762\u627e\u5230\u4e00\u4e2a\u53ef\u4ee5\u7528\u7684\u8fdc\u7a0b\u8282\u70b9\u670d\u52a1\u5668<br \/>\n<a href=\"https:\/\/dex.binance.org\/api\/v1\/peers\">https:\/\/dex.binance.org\/api\/v1\/peers<\/a><\/p>\n<p>\u7528\u4e00\u4e0b\u547d\u4ee4\u53ef\u4ee5\u6d4b\u8bd5\u54ea\u4e2a\u8282\u70b9\u53ef\u7528\uff08\u6ca1\u6709\u8fd4\u56de\u9519\u8bef\uff0c\u800c\u662f\u8fd4\u56de\u4e00\u4e32json\uff0c\u5373\u662f\u53ef\u7528\uff09<\/p>\n<pre><code>.\/bnbcli status --node=https:\/\/seed1.4leapbnb.com:443\r\n<\/code><\/pre>\n<p>\u7136\u540e\u5c31\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\u884c\u53d1\u884cToken<br \/>\n\u6ce8\uff1a<br \/>\n1\u3001total-supply \u91cc\u9762\u5305\u542b\u4e868\u4f4d\u5c0f\u6570<br \/>\n2\u3001mintable \u53c2\u6570\u662f\u5c06\u6765\u53ef\u4ee5\u589e\u53d1\uff0c\u5982\u679c\u4e0d\u80fd\u589e\u53d1\u53bb\u6389\u8fd9\u4e2a\u53c2\u6570\u5373\u53ef<br \/>\n3\u3001node \u53c2\u6570\u540e\u9762\u662f\u4e0a\u9762\u63d0\u5230\u53ef\u7528\u7684\u8282\u70b9<br \/>\n4\u3001\u4e3b\u7f51\u53d1\u884c\u4e00\u4e2aToken\u7684\u624b\u7eed\u8d39\u662f 1000 BNB<\/p>\n<pre><code>.\/bnbcli token issue --token-name \"TEST\" --total-supply 10000000000000000 --symbol TEST --mintable --from newtokenowner --chain-id Binance-Chain-Tigris   --node  https:\/\/seed1.4leapbnb.com:443 --trust-node\r\n<\/code><\/pre>\n<h2 id=\"toc_3\">\u63d0\u4ea4\u8d44\u4ea7\u7ed9\u9ea6\u5b50\u94b1\u5305<\/h2>\n<p>\u53d1\u884c\u6210\u529f\u540e\u5373\u53ef\u5c06\u60a8\u7684 Token \u901a\u8fc7\u4e0b\u9762\u7684\u94fe\u63a5\u63d0\u4ea4\u7ed9\u9ea6\u5b50\u94b1\u5305<\/p>\n<p><a href=\"https:\/\/m.maiziqianbao.net\/submit\/token?type=binance\">https:\/\/m.maiziqianbao.net\/submit\/token?type=binance<\/a><\/p>\n<p>\u9ea6\u5b50\u94b1\u5305\u9700\u8981\u5927\u69821\u5929\u65f6\u95f4\u5bf9\u63d0\u4ea4\u7684Token\u8fdb\u884c\u5ba1\u6838<\/p>\n<h2 id=\"toc_4\">\u5728\u9ea6\u5b50\u94b1\u5305\u4e2d\u8fdb\u884c\u8d44\u4ea7\u64cd\u4f5c<\/h2>\n<p>\u4e0b\u8f7d\u5b89\u88c5\u9ea6\u5b50\u94b1\u5305\u00a0<a href=\"https:\/\/links.jianshu.com\/go?to=https%3A%2F%2Fmaiziqianbao.net%2F\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">https:\/\/maiziqianbao.net<\/a><\/p>\n<p>\u6253\u5f00\u9ea6\u5b50\u7684 Binance \u94b1\u5305\uff0c\u70b9\u51fb + \u53f7\uff0c\u6dfb\u52a0\u60a8\u7684\u8d44\u4ea7\u5373\u53ef\u8fdb\u884c\u8f6c\u8d26\u3001\u4ea4\u6613\u7b49\u64cd\u4f5c<\/p>\n<h2 id=\"toc_5\">\u66f4\u591a\u8d44\u4ea7\u64cd\u4f5c\uff08\u589e\u53d1\u3001\u9500\u6bc1\u7b49\uff09<\/h2>\n<p>\u53c2\u8003\uff1a<a href=\"https:\/\/docs.binance.org\/tokens.html\">https:\/\/docs.binance.org\/tokens.html<\/a><\/p>\n<p>\u4e3b\u7f51\u5404\u79cd\u64cd\u4f5c\u7684\u624b\u7eed\u8d39\uff082019\/4\/25\uff09\uff1a<\/p>\n<div>\u521b\u5efaToken: 1,000 BNB<\/div>\n<div>\u589e\u53d1Token: 200 BNB<\/div>\n<div>\u4e0a\u67b6\u7533\u8bf7: 2,000 BNB<\/div>\n<div>\u53d1\u8d77\u63d0\u8bae: 10 BNB<\/div>\n<div>\u9500\u6bc1Token: 1 BNB<\/div>\n<div><\/div>\n<div>\u4ea4\u6613\u8d39<\/div>\n<div>\u6302\u5355: 0 BNB<\/div>\n<div>\u53d6\u6d88\u6302\u5355: 0.0001 BNB<\/div>\n<div>\u6302\u5355\u8d85\u65f6: 0.0001 BNB<\/div>\n<div>\u8f6c\u8d26: 0.000625 BNB<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u76ee\u524d\u53ea\u6709\u901a\u8fc7\u547d\u4ee4\u884c\u7684\u65b9\u5f0f\u5728 Binance Chain \u4e0a\u521b\u5efa\u8d44\u4ea7 \u5b89\u88c5\u548c\u914d\u7f6e CLI \u53c2\u8003\uff1ahttps:\/\/docs.binance.org\/api-reference\/cli.html \u4ecegithub\u4e0b\u8f7d\u547d\u4ee4\u884c\u5ba2\u6237\u7aef git clone https:\/\/github.com\/binance-chain\/node-binary.git \u8fdb\u5165\u76ee\u5f55\uff08\u672c\u6559\u7a0b\u4e2d\u4f7f\u7528\u6700\u65b0\u7248 0.5.8.1\uff0c\u548cMac\u7535\u8111\uff0c\u5176\u5b83\u5ba2\u6237\u70b9\u7535\u8111\u53c2\u8003\u4e0a\u9762\u7684\u5b98\u65b9\u6587\u6863\uff09 cd cli\/prod\/0.5.8.1\/mac \u521b\u5efa\u8d26\u53f7 .\/bnbcli keys add newtokenowner \u6ce8\uff1a\u52a1\u5fc5\u5907\u4efd\u8d26\u53f7\u52a9\u8bb0\u8bcd\uff0c\u5e76\u4ece\u5e01\u5b89\u63d0\u73b0 BNB \u5230\u8fd9\u4e2a\u8d26\u53f7 \u521b\u5efa\u8d44\u4ea7 \u53c2\u8003\uff1ahttps:\/\/docs.binance.org\/tokens.html \u9996\u5148\u4ece\u4e0b\u9762\u7684\u7f51\u9875\u8f93\u51fa\u91cc\u9762\u627e\u5230\u4e00\u4e2a\u53ef\u4ee5\u7528\u7684\u8fdc\u7a0b\u8282\u70b9\u670d\u52a1\u5668 https:\/\/dex.binance.org\/api\/v1\/peers \u7528\u4e00\u4e0b\u547d\u4ee4\u53ef\u4ee5\u6d4b\u8bd5\u54ea\u4e2a\u8282\u70b9\u53ef\u7528\uff08\u6ca1\u6709\u8fd4\u56de\u9519\u8bef\uff0c\u800c\u662f\u8fd4\u56de\u4e00\u4e32json\uff0c\u5373\u662f\u53ef\u7528\uff09 .\/bnbcli status &#8211;node=https:\/\/seed1.4leapbnb.com:443 \u7136\u540e\u5c31\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\u884c\u53d1\u884cToken \u6ce8\uff1a 1\u3001total-supply \u91cc\u9762\u5305\u542b\u4e868\u4f4d\u5c0f\u6570 2\u3001mintable \u53c2\u6570\u662f\u5c06\u6765\u53ef\u4ee5\u589e\u53d1\uff0c\u5982\u679c\u4e0d\u80fd\u589e\u53d1\u53bb\u6389\u8fd9\u4e2a\u53c2\u6570\u5373\u53ef 3\u3001node \u53c2\u6570\u540e\u9762\u662f\u4e0a\u9762\u63d0\u5230\u53ef\u7528\u7684\u8282\u70b9 4\u3001\u4e3b\u7f51\u53d1\u884c\u4e00\u4e2aToken\u7684\u624b\u7eed\u8d39\u662f 1000 BNB .\/bnbcli token issue &#8211;token-name &#8220;TEST&#8221; &#8211;total-supply 10000000000000000 &#8211;symbol TEST &#8211;mintable &#8211;from newtokenowner &#8211;chain-id [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[62],"_links":{"self":[{"href":"https:\/\/blog.mathwallet.xyz\/index.php?rest_route=\/wp\/v2\/posts\/1653"}],"collection":[{"href":"https:\/\/blog.mathwallet.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mathwallet.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mathwallet.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mathwallet.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1653"}],"version-history":[{"count":4,"href":"https:\/\/blog.mathwallet.xyz\/index.php?rest_route=\/wp\/v2\/posts\/1653\/revisions"}],"predecessor-version":[{"id":1657,"href":"https:\/\/blog.mathwallet.xyz\/index.php?rest_route=\/wp\/v2\/posts\/1653\/revisions\/1657"}],"wp:attachment":[{"href":"https:\/\/blog.mathwallet.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1653"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mathwallet.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1653"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mathwallet.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}