From d873bb6a4d269fd8052a51d74744f6684d9f2c28 Mon Sep 17 00:00:00 2001 From: Kyryl R Date: Fri, 22 Dec 2023 14:43:36 +0200 Subject: [PATCH] Updated README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b2a0799..f3d0e27 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ The core of this plugin is migration files, you can specify the migration route ### Migration Sample -Below is a sample migration file: +Below is a sample migration file (1_simple.migration.ts): ```ts import { Deployer, Reporter } from "@solarity/hardhat-migrate"; @@ -167,7 +167,7 @@ This example illustrates the basic principles of how migrations operate: library, facilitating the deployment and processing of contracts. 2. The `Reporter` class, a static entity, logs intermediary information into the console. 3. It is required to import contract factories, or, in the case of Truffle, the necessary Truffle Contract Instance that need to be deployed. -4. Define all relevant constants as necessary. +4. All relevant constants can be defined if necessary. 5. The migration file's main body grants access to the deployer object, allowing for contract deployment and supporting recovery from failures in previous migration runs. 6. Standard transaction-sending processes are used without special wrappers.