feat: env file
This commit is contained in:
parent
56ef570249
commit
c2bc803afb
1
.env.example
Normal file
1
.env.example
Normal file
@ -0,0 +1 @@
|
||||
VITE_BANK_ADDR = ""
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@ -26,3 +26,4 @@ coverage
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
||||
.env
|
||||
14
README.md
14
README.md
@ -17,14 +17,12 @@ npm install
|
||||
|
||||
### fill in your smart contract's address
|
||||
|
||||
```javascript
|
||||
// /src/views/FaucetView.vue line 46
|
||||
const transactionParameters = {
|
||||
from: ethereum.selectedAddress,
|
||||
to: '', // smart contract's address
|
||||
data: encodeFunctionCall,
|
||||
value: '0x00',
|
||||
}
|
||||
```sh
|
||||
cp .env.example .env
|
||||
vim .env
|
||||
'''
|
||||
VITE_BANK_ADDR = "YOUR BANK ADDRESS"
|
||||
'''
|
||||
|
||||
```
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user