mirror of
https://github.com/AthanorLabs/atomic-swap.git
synced 2026-01-09 14:18:03 -05:00
13 lines
318 B
JavaScript
13 lines
318 B
JavaScript
async function main() {
|
|
const SwapFactory = await ethers.getContractFactory("SwapFactory");
|
|
const contract = await SwapFactory.deploy();
|
|
|
|
console.log("SwapFactory deployed to:", contract.address);
|
|
}
|
|
|
|
main()
|
|
.then(() => process.exit(0))
|
|
.catch((error) => {
|
|
console.error(error);
|
|
process.exit(1);
|
|
}); |