Skip to content

Commit

Permalink
feat: document settlemint login needs to be run once before remote de…
Browse files Browse the repository at this point in the history
…ploy
  • Loading branch information
snigdha920 committed Dec 19, 2024
1 parent 797f5fe commit 54f77f1
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docs/basic-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
```

0 comments on commit 54f77f1

Please sign in to comment.