Skip to content

Commit

Permalink
README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
s-damian committed Aug 25, 2024
1 parent e4ee0cc commit 246cdad
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
54 changes: 27 additions & 27 deletions README-tech.md
Original file line number Diff line number Diff line change
@@ -1,62 +1,62 @@
## Back-End Lint
## Networks

| Name | Consensus | Type | Equivalent on Ethereum |
|--------------|----------------------|-------------------|-----------------------------|
| **Localnet** | PoS (Proof of Stake) | Local development | Localhost (Hardhat Network) |
| **Devnet** | PoS (Proof of Stake) | Public devnet | Sepolia |
| **Testnet** | PoS (Proof of Stake) | Public testnet | Goerli |
| **Mainnet** | PoS (Proof of Stake) | Production | Mainnet |



## Run test (Localnet)

```bash
cd /<your-path>/anchor-nft-ticketing
```

Format the code:
When the Solana local validator is not activated (without `--skip-local-validator` argument):

```bash
cargo fmt
anchor test
```

Lint :
When the Solana local validator is activated (must add argument `--skip-local-validator`):

```bash
cargo clippy
anchor test --skip-local-validator
```



## Front-End Lint
## Back-End Lint

```bash
cd /<your-path>/anchor-nft-ticketing
```

Lint and format the code :
Format the code:

```bash
npm run lint:fix
cargo fmt
```



## Run test (with Localnet)
Lint :

```bash
cd /<your-path>/anchor-nft-ticketing
cargo clippy
```

When the Solana local validator is not activated (without `--skip-local-validator` argument):

```bash
anchor test
```

When the Solana local validator is activated (must add argument `--skip-local-validator`):
## Front-End Lint

```bash
anchor test --skip-local-validator
cd /<your-path>/anchor-nft-ticketing
```

Lint and format the code :


## Networks

| Name | Consensus | Type | Equivalent on Ethereum |
|--------------|----------------------|-------------------|-----------------------------|
| **Localnet** | PoS (Proof of Stake) | Local development | Localhost (Hardhat Network) |
| **Devnet** | PoS (Proof of Stake) | Public devnet | Sepolia |
| **Testnet** | PoS (Proof of Stake) | Public testnet | Goerli |
| **Mainnet** | PoS (Proof of Stake) | Production | Mainnet |
```bash
npm run lint:fix
```
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ See more images here:



## Getting Started (with Localnet)
## Getting Started (Localnet)

### Clone the Repository

Expand Down

0 comments on commit 246cdad

Please sign in to comment.