1

How can a user interact with the contract? Is typing the command cleos push action the only option?

1
  • that's just a wrapper for interacting with the abi of the contract. you can use any wrapper (e.g. eosjs methods) as long as the correct bytes are communicated to nodeos
    – confused00
    Commented Sep 12, 2018 at 19:45

3 Answers 3

2

Like Patrick said you need to build a front end to communicate with smart contracts on the eosio blockchain. Here a couple of library's to get you started. I have seen a few others as well. Just search eosio on github and look around, there is always new libraries and boilerplates popping up. https://github.com/EOSIO/demux-js https://github.com/EOSIO/eosjs

1
1

I think the idea is that you create a web front end using react. The user probably doesn't ever see there is a contract or even blockchain behind the webpage

1

Create front end and make it interecting with contract using eosiojs

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.