Skip to content

Commit e5ad42f

Browse files
authored
minor fix in declare-a-smart-contract.adoc
1 parent 9fd74be commit e5ad42f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/Starknet/modules/quick-start/pages/declare-a-smart-contract.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ A contract can be declared on Starknet using Starkli by running following comman
9292

9393
[source,bash]
9494
----
95-
starkli declare target/dev/<PROJECT_NAME>.sierra.json --network=sepolia
95+
starkli declare target/dev/<CONTRACT_NAME>.sierra.json --network=sepolia
9696
----
9797

9898
When using `starkli declare`, Starkli will do its best to identify the compiler version of the declared class. In case it fails, the `--compiler-version` flag can be used to specify the version of the compiler as follows:
@@ -135,7 +135,7 @@ The following is an example of declaring a contract with both a a custom RPC end
135135
136136
[source,bash]
137137
----
138-
starkli declare target/dev/<PROJECT_NAME>.sierra.json \
138+
starkli declare target/dev/<CONTRACT_NAME>.sierra.json \
139139
--rpc=https://starknet-sepolia.infura.io/v3/<API_KEY> \
140140
--compiler-version=2.6.0 \
141141
----
@@ -159,4 +159,4 @@ Not declaring class as its already declared. Class hash: <CLASS_HASH>
159159

160160
This is because declaration is a one-time process for each unique contract code, and a contract's class hash is its unique identifier (for more details, see xref:architecture-and-concepts:smart-contracts/class-hash.adoc[Class hash]).
161161

162-
In both cases, however, you should be able to see the declared contract on a block explorer like https://sepolia.starkscan.co/[StarkScan] or https://sepolia.voyager.online/[Voyager] by searching for its class hash.
162+
In both cases, however, you should be able to see the declared contract on a block explorer like https://sepolia.starkscan.co/[StarkScan] or https://sepolia.voyager.online/[Voyager] by searching for its class hash.

0 commit comments

Comments
 (0)