mirror of
https://github.com/luxfi/bridge.git
synced 2026-09-24 00:26:46 +00:00
udpate: git files
This commit is contained in:
+2
-6
@@ -9,13 +9,9 @@ node_modules/
|
||||
# testing
|
||||
/coverage
|
||||
|
||||
# next.js
|
||||
/.next/
|
||||
app/.next/
|
||||
/out/
|
||||
apps/bridge/.next/
|
||||
apps/explorer/.next/
|
||||
|
||||
# production
|
||||
/build
|
||||
# k8 files
|
||||
/mpc-nodes/k8s
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
/out/
|
||||
/dist/
|
||||
|
||||
/prisma/dev.sqlite
|
||||
# production
|
||||
/build
|
||||
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity ^0.8.19;
|
||||
|
||||
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
|
||||
|
||||
contract WETH is ERC20 {
|
||||
constructor() ERC20("Wrapped Ether", "WETH") {
|
||||
_mint(msg.sender, 10000000000 * 10 ** decimals());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
import { ethers } from "hardhat";
|
||||
|
||||
async function main() {
|
||||
const [deployer] = await ethers.getSigners();
|
||||
|
||||
/////LETH
|
||||
const _signer = await ethers.getContractFactory("WETH");
|
||||
const token = await _signer.deploy();
|
||||
console.log("WETH address:", await token.getAddress());
|
||||
}
|
||||
|
||||
main()
|
||||
.then(() => process.exit(0))
|
||||
.catch((error) => {
|
||||
console.error(error);
|
||||
process.exit(1);
|
||||
});
|
||||
Reference in New Issue
Block a user