mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
766 B
766 B
Read a Secret (Optional)
Instructions
Create a web page, readSecret.html
that loads an ethereum library, connects to ethereum testnet kovan
and displays a secret contained in a smart contract.
The smart contract is available at the address 0x27c8dda37a22a29cb78320bf5e1c81ca087b2f8e
on Kovan testnet. It contains one function getSecret()
that returns a string.
You might use the following interface :
const abi = ["function getSecret() view returns (string)"];
Notions
Relevance
Reading your first smart contract.