File tree 2 files changed +16
-0
lines changed
2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 7
7
"reference" : {
8
8
"title" : " Reference"
9
9
},
10
+ "starknet" : {
11
+ "title" : " Starknet"
12
+ },
10
13
"extensions" : {
11
14
"title" : " Extensions"
12
15
}
Original file line number Diff line number Diff line change
1
+ # Starknet Contract Target
2
+
3
+ The ` starknet-contract ` target allows to build the package as a [ Starknet Contract] ( https://docs.starknet.io/documentation/getting_started/intro/ ) .
4
+ It searches for all contract classes in the package, and builds a separate compiled JSON file each found class.
5
+ Generated file will be named with following pattern: ` [package name]_[contract name].json ` .
6
+
7
+ To enable it for a package, write a following line in ` Scarb.toml ` :
8
+
9
+ ``` toml
10
+ [[target .starknet-contract ]]
11
+ ```
12
+
13
+ This target does not accept any configuration arguments beside ones [ shared among all targets] ( ../reference/targets ) .
You can’t perform that action at this time.
0 commit comments