How to interact with EOS smart contract with Cleos and Scatter

Introduction BlockPass:

1. Clone + build BlockPass Smart Contract:

2. Deploy BlockPass Smart Contract:

cleos -u {eos_api_endpoint} set contract {contract_name} {path_to_eos_blockpass} -p {account_name}@active

3. Interact with BlockPass Smart Contract:

add method
del method

Use Cleos:

cleos -u https://api-kylin.eosasia.one push action trongdthdapp add ‘{“owner”: “trongdthdapp”, “data”: “”, “timestamp”: 1561449436}’ -p trongdthdapp@active

Use Scatter:

Choose Scatter
Log into `trongdthdapp` successfully
Contract `trongdthdapp`
Fill data to add method

--

--

--

I’m a peaceful person who wants to make friend with people around the world.

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Trong Dinh Thai Hoang

Trong Dinh Thai Hoang

I’m a peaceful person who wants to make friend with people around the world.

More from Medium

How to create your own Ethereum Token from scratch

What Is Blind Signing?

What Solidity Taught Me

Meme showing improvements in gas for a code example

Using a Provable Random Generator from HPB chain