Skip to content

Commit 489376c

Browse files
authored
Merge pull request #65 from lukso-network/fixes/scripts
fix: duplicate variable in script
2 parents 0a46553 + f25f8e8 commit 489376c

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

smart-contracts-hardhat/README.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,30 @@ This project is used as a guide to show how to setup HardHat to interact with **
1111

1212
**This Hardhat repository uses the [bun](https://bun.sh) package manager. Make sure to [install it](https://bun.sh/docs/installation) first.**
1313

14-
Install the dependencies
14+
Follow the instructions below in your terminal to get started using the smart contracts and running the script examples.
15+
16+
> **Requirement:** Make sure to add the private key of an EOA for deployment. Optionally, you can provide a private key of a controller and a Universal Profile address to deploy contracts using your smart contract account.
17+
> **Tips:** Add the `--verbose` and `--show-stack-traces` flags for further information.
1518
1619
```bash
20+
# 1. Install the dependencies
1721
bun install
22+
23+
# 2. Set the private environment variables in your .env file
24+
cp .env.example .env
25+
26+
# 3. Compile all smart contracts within `/contracts`:
27+
bun run build
1828
```
1929

2030
## Development
2131

2232
### Compile Contracts
2333

24-
Compile all smart contracts within `/contracts`:
25-
2634
```bash
27-
bun hardhat compile
35+
bun run build
2836
```
2937

30-
> **INFO** Add the `--verbose` and `--show-stack-traces` flags for further information.
31-
3238
### Deploy Contracts
3339

3440
Create a `.env` file and put the private key of your deployer address inside it.

smart-contracts-hardhat/bun.lockb

-20.5 KB
Binary file not shown.

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"esModuleInterop": true,
88
"forceConsistentCasingInFileNames": true,
99
"strict": true,
10-
"skipLibCheck": true,
10+
"skipLibCheck": true
1111
},
1212
"include": ["/**/*.ts"],
13-
"exclude": ["node_modules"],
13+
"exclude": ["node_modules"]
1414
}

0 commit comments

Comments
 (0)