mirror of
https://github.com/vacp2p/linea-monorepo.git
synced 2026-01-08 03:43:56 -05:00
* initial changes for the contract readme * testing guidelines wip * add contract documentation * add note on future deprecation * add memory and CPU requirements for docker * add audit references to documentation * use tokenbridge make commands in documentation * add additional comments to testing guidelines * define contract style guide and link it * address PR comments with better documentation * document tweaks and traffic generation script * catch error on failure of main() * add precompute script and readme documentation * use ethers address generation --------- Co-authored-by: count-sum <andrei.alexandru@consensys.net>
8 lines
299 B
TypeScript
8 lines
299 B
TypeScript
import { ethers } from "ethers";
|
|
|
|
const from = "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"; // Replace with your deployer address
|
|
const nonce = 3; // Replace with the actual nonce
|
|
const computedAddress = ethers.getCreateAddress({ from, nonce });
|
|
|
|
console.log("Computed Address:", computedAddress);
|