Skip to content

Instantly share code, notes, and snippets.

@jamesmccomish
jamesmccomish / NameOnchainTest.sol
Created July 31, 2023 11:29
NameOnchain Testing
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.19;
import "forge-std/Test.sol";
// A sample contract used to see what the bytecode will look like when deployed
contract NameOnchainContract {
string name = "James";
}
@jamesmccomish
jamesmccomish / verifyDeployments.ts
Created July 6, 2022 23:00
Verifies contracts deployed with Hardhat Deploy.
import EtherscanResponse from '@nomiclabs/hardhat-etherscan/src/etherscan/EtherscanService'
const hre = require('hardhat')
const fs = require('fs')
const path = require('path')
interface verificationData {
address: string
args: any[]
}