https://github.com/zunxbt/abstract-chain
One click guide to deploy and verify smart contract on Abstract Testnet
https://github.com/zunxbt/abstract-chain
Last synced: 2 months ago
JSON representation
One click guide to deploy and verify smart contract on Abstract Testnet
- Host: GitHub
- URL: https://github.com/zunxbt/abstract-chain
- Owner: zunxbt
- Created: 2024-10-21T09:46:59.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-10-21T10:36:56.000Z (8 months ago)
- Last Synced: 2025-03-25T19:16:10.815Z (3 months ago)
- Language: Shell
- Size: 10.7 KB
- Stars: 33
- Watchers: 2
- Forks: 19
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Deploy Smart Contract on Abstract Testnet
## Prerequisites
- You need to have gas fee on Abstract Testnet
- You can get gas fee either from [faucet](https://faucet.triangleplatform.com/abstract/testnet) or by bridging from Sepolia using [Official Bridge](https://portal.testnet.abs.xyz/bridge/)
- You can use either local terminal (Ubuntu) or Virtual IDE like [codespaces](https://github.com/codespaces)## Installations
- You can use either this command
```bash
[ -f "abstract.sh" ] && rm abstract.sh; curl -sSL -o abstract.sh https://raw.githubusercontent.com/zunxbt/Abstract-Chain/refs/heads/main/abstract.sh && chmod +x abstract.sh && ./abstract.sh
```
- Or this command to run this script
```bash
[ -f "abstract.sh" ] && rm abstract.sh; wget -q -O abstract.sh https://raw.githubusercontent.com/zunxbt/Abstract-Chain/refs/heads/main/abstract.sh && chmod +x abstract.sh && ./abstract.sh
```https://github.com/user-attachments/assets/2379636e-67b9-469e-8754-fec33363d6c4
## Important Info
- During running this script, it will ask something like this
```bash
? What do you want to do? …
Create a JavaScript project
▸ Create a TypeScript project
Create a TypeScript project (with Viem)
Create an empty hardhat.config.js
Quit
```
- Here you must need to choose 2nd option : `Create a TypeScript project` by using `W` `A` `S` `D` key
- And then keep pressing `enter` for 3 times## Troubleshooting
- If you r facing issues like `curl command not found` then use this command to install curl and then run the above installation command that starts with curl
```bash
sudo apt update && sudo apt install curl
```
- If you r facing issues like `wget command not found` then use this command to install wget and then run the above installation command that starts with wget
```bash
sudo apt update && sudo apt install wget
```