Published
Edited
Oct 2, 2021
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
viewof sendIt = Inputs.button("Go", { label: "Send it?" })
Insert cell
send_command = {
if (sendIt) {
return (
await contract
.connect(signer)
[targetFunction](...parameterControls.flat())
).txn;
}
}
Insert cell
contract.connect(signer)
Insert cell
Insert cell
provider = {
await window.ethereum.enable();
return new ethers.providers.Web3Provider(window.ethereum);
}
Insert cell
signer = provider.getSigner()
Insert cell
Insert cell
Insert cell
Insert cell
pulled_abi = response.result
Insert cell
ethers = require("https://cdn.ethers.io/lib/ethers-5.0.umd.min.js")
Insert cell
import { inputsGroup } from "@bumbeishvili/input-groups"
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more