Giter Site home page Giter Site logo

bos-account's Introduction

bos-account

在bos-testnet上部署了创建账号合约signupbosbos

  • 合约创建账号过程:

    通过eosio.token 的transfer动作向signupbosbos转账“2 BOS”,

    其中“0.1 BOS”用户购买CPU,“0.1 BOS”用于购买NET,其余代币用于买ram.

    转账的BOS币数量不一定为2 BOS,但必须大于0.2 BOS

  • 创建账号密钥

    cleos create key --to-console

    Private key: 5JxkEiiCnYEeS2FYnRgrFEK2Lhxujiy2kFbhNQ382HybaAr1ti5 Public key: EOS76VqrCpuK5dKsGfGP9aPuxpRTAoJcPMfEknVy47n6xkh6zNRrh

  • 合约创建账号

    用已有的BOS 账号 bosboseoseos 创建新账号 boscreator11

    eosio.token的transfer, memo: new_account + public key

    new_account:boscreator11

    publick key: EOS76VqrCpuK5dKsGfGP9aPuxpRTAoJcPMfEknVy47n6xkh6zNRrh

    cleos push action eosio.token transfer '["bosboseoseos","signupbosbos","2。0000 BOS", "boscreator11-EOS76VqrCpuK5dKsGfGP9aPuxpRTAoJcPMfEknVy47n6xkh6zNRrh"]' -p bosboseoseos

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.