From bc738827ccd2a2ea1c35fa1927abf901251b483a Mon Sep 17 00:00:00 2001 From: Snigdha Singh Date: Thu, 19 Dec 2024 17:06:50 +0100 Subject: [PATCH] feat: document settlemint login needs to be run once before remote deploy --- docs/basic-usage.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/basic-usage.md b/docs/basic-usage.md index 1c11fd8..5f93d1f 100644 --- a/docs/basic-usage.md +++ b/docs/basic-usage.md @@ -52,7 +52,15 @@ bunx settlemint scs hardhat deploy local -m ignition/modules/main.ts ## Deploy to platform network -You can also deploy your contracts to the network running on the platform by executing the following command: +To deploy your contracts to the platform network, first log in using the SDK: + +```shell +bunx settlemint login +``` + +You only need to run this `login` command once. + +Then, you can deploy your contracts using the following command: ```shell bunx settlemint scs hardhat deploy remote -m ignition/modules/main.ts @@ -63,5 +71,5 @@ bunx settlemint scs hardhat deploy remote -m ignition/modules/main.ts To get info about the tasks, run: ```shell -btp-scs --help +bunx settlemint scs --help ```