etape3testavantdeploementok
This commit is contained in:
@@ -4,7 +4,13 @@ Sources du token **FGC42Forge** (symbole **FG42**), standard **BEP-20**, déploi
|
||||
|
||||
Stack : **Solidity**, **Hardhat 3**, **OpenZeppelin**, tests **Mocha + ethers** et tests Solidity (`.t.sol`).
|
||||
|
||||
> Le contrat `FGC42Forge.sol` sera ajouté à l’étape 3. Le dossier contient encore l’exemple **Counter** généré par `npx hardhat --init`.
|
||||
### BEP-20 vs `ERC20` dans le code
|
||||
|
||||
- **Rendu / soutenance :** token **BEP-20** sur **BNB Smart Chain Testnet** (chainId 97).
|
||||
- **Code :** héritage **OpenZeppelin `ERC20`** — norme EVM identique en pratique ; pas de bibliothèque `BEP20` séparée.
|
||||
- **Après deploy :** BscScan classera le contrat en **BEP-20** ; le source reste `import {ERC20} from "@openzeppelin/contracts/..."`.
|
||||
|
||||
> Le dossier peut encore contenir l’exemple **Counter** (template Hardhat) en attendant nettoyage.
|
||||
|
||||
## Prérequis
|
||||
|
||||
|
||||
Reference in New Issue
Block a user