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

Understanding Cross-Chain Bridges: What is a Bridge and Why Is It Necessary?

NFT’s — The Creative Way to Fundraise and Gain Raving Fans

A picture of a round token with the letters NFT meaning Non Fungible Token.

Smart Contracts & API’s

Force Web3| Abstract Of Juan Benet’s Filecoin AMA