Skip to content

Commit

Permalink
add docs about test on local (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceandwhisky authored Nov 29, 2024
1 parent 5444164 commit e8fbd56
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions docs/how-to-test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
## How to test on Local Environment

### Start the local chain

```jsx
make devnet-up
```

### Build

```jsx
make build
```

### Set the necessary configurations in .env

```jsx
#Local Testnet
PRIVATE_KEY=91ab9a7e53c220e6210460b65a7a3bb2ca181412a8a7b43ff336b3df1737ce12
TA_STORE_CONTRACT_ADDRESS=0xd594760B2A36467ec7F0267382564772D7b0b73c
RPC_URL=http://localhost:8545
```

### Execute test

```jsx
make test-go
```

```jsx
make test-solidity
```

0 comments on commit e8fbd56

Please sign in to comment.