mirror of
https://github.com/obsidian-desci/Obsidian-Desci.git
synced 2026-07-22 08:50:32 +00:00
15 lines
No EOL
383 B
JavaScript
15 lines
No EOL
383 B
JavaScript
const hre = require('hardhat')
|
|
|
|
const clientLilypadAddr = "0x59f1F1e6ca5C3ddB64E8dbBEa12f31D9236d7e64"
|
|
|
|
async function main() {
|
|
const exampleClient = await hre.ethers.getContractAt("ExampleClient", clientLilypadAddr)
|
|
const cowsay = await exampleClient.fetchAllResults()
|
|
console.log(cowsay)
|
|
}
|
|
|
|
|
|
main().catch((error) => {
|
|
console.error(error);
|
|
process.exitCode = 1;
|
|
}); |