git clone https://github.com/sadi200/GIWA.git
cd GIWAInstall dependencies:
pnpm add dotenv
pnpm add viem@latest
rm -rf node_modules pnpm-lock.yaml
pnpm install
pnpm add -D tsx @types/node
pnpm add viemSet your test private key:
export TEST_PRIVATE_KEY=0xYOUR_PRIVATE_KEY_HERERun deposit and withdraw scripts:
node --import=tsx src/deposit_eth.ts
node --import=tsx src/withdraw_eth.tspnpm run deposit
pnpm run withdrawNote: Replace
0xYOUR_PRIVATE_KEY_HEREwith your actual private key. Make surepnpmis installed globally.
This is **ready to paste into a README.md**. It will display properly on GitHub with syntax highlighting for shell commands.
If you want, I can also make it **look more “user-friendly”** with sections, badges, and step numbers like a professional project README. Do you want me to do that?