diff --git a/README-tech.md b/README-tech.md index fe4cfd7..2d42e08 100644 --- a/README-tech.md +++ b/README-tech.md @@ -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 //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 //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 //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 //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 +``` diff --git a/README.md b/README.md index 05b94bb..8077db1 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ See more images here: -## Getting Started (with Localnet) +## Getting Started (Localnet) ### Clone the Repository