diff --git a/.env.example b/.env.example index 77cf581..478c1d2 100644 --- a/.env.example +++ b/.env.example @@ -1,2 +1,2 @@ NETWORK=testnet -ADDRESS=WALLET1,WALLET2 +WALLETS=WALLET1,WALLET2 diff --git a/README.md b/README.md index 2dc52aa..e59b28f 100644 --- a/README.md +++ b/README.md @@ -10,15 +10,13 @@ Copy the `.env.example` file and rename it to `.env`. Fill the variables with your own values. -Don't forget to put `,` between the wallets. - ```env NETWORK={network} -WALLET={wallet1},{wallet2},{wallet3},... +WALLETS={wallet1},{wallet2},{wallet3},... ``` NETWORK can be `devnet` or `testnet`. -WALLET is your wallet address. +WALLETS is your wallet address. Don't forget to put `,` between the wallets. ## Run diff --git a/main.go b/main.go index be5ee6b..f8a62c7 100644 --- a/main.go +++ b/main.go @@ -18,7 +18,7 @@ func main() { godotenv.Load() //nolint:errcheck - wallets := strings.Split(os.Getenv("ADDRESS"), ",") + wallets := strings.Split(os.Getenv("WALLETS"), ",") for _, w := range wallets { go run(w)