Giter Site home page Giter Site logo

smart-signature-eos-contract's Introduction

Introduction

Yet Another EOS Contract

開發須知

目前開發主要在 early-access 裡,注意

新來的 contributor ,請開個人 branch 維護,ex: xxx/xxxx

流程圖預計用 md 做一份

測試歡迎使用

https://github.com/yukiexe/eos_contract_test

  • 關於 action 中的 require_auth 建議統一寫在開頭的 inline documentation ,在哪一塊用了哪種,並且寫上最後 checked 的日期和執行人

權限管理

cleos -u http://api.eosbeijing.one set account permission signature.bp active '{"threshold": 1,"keys": [{"key": "EOS5P9HXdVTcAVMph4ZppDKBMkBuT6ihnkLqTUrVFBtGR94cPjykJ","weight":1},{"key":"EOS5Xmv3vA9dxjqmduHCnUZNuKboUQqQTmN8DtpJx6gHUbsNWjMTy","weight": 1}],"accounts":[{"permission":{"actor":"signature.bp","permission":"eosio.code"},"weight":1}]}' owner -p signature.bp@owner

部署合约

cleos -u http://api.eosbeijing.one set contract signature.bp signature.bp -p signature.bp@active

查询表格

cleos -u http://api.eosbeijing.one get table signature.bp signature.bp orders

清理表格

cleos -u http://api.eosbeijing.one push action signature.bp clean '[]' -p signature.bp@active

參考資料

smart-signature-eos-contract's People

Contributors

yukiexe avatar lychees avatar flyq avatar adappdeveloper avatar

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.