Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev: Add docs how to test on local environment #74

Merged
merged 1 commit into from
Nov 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
```
peaceandwhisky marked this conversation as resolved.
Show resolved Hide resolved

### Execute test

```jsx
make test-go
```

```jsx
make test-solidity
```
Loading