Blockchain Smart-Contract
Plaque price method:
Plaque Price MethodCheck mintTransfer method:
Check mintTranfer MethodMintTransfer method:
MintTransfer methodToken owners method:
Token Owners MethodLast updated
import axios from "axios";
import { ethers, providers, utils } from "ethers";
const provider = new providers.WebSocketProvider(
"wss://eth-sepolia.g.alchemy.com/v2/ATnZ4...." // provider
);
const signer = new ethers.Wallet(
"aab5433a31f1bb3e...", // your ethereum wallet private key
provider
);
const res = await axios.get(
"https://cdn.stagemeta.dev/contracts/2.0.0.json" // StageMeta smart-contract contract abi
);
const abi = JSON.stringify(res.data);
const inter = new utils.Interface(abi);
const stageMetaContract = new ethers.Contract(
"0x4b39ceb401769e3e...", // StageMeta smart-contract address
abi,
signer
);