Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nawodyaishan/avalanche-simple-storage
Simple Storage Smart Contract on Avalanche Blockchain with Solidity, TypeScript, EVM, HardHat and Ether.js
https://github.com/nawodyaishan/avalanche-simple-storage
avalanche blockchain dapp ethersjs hardhat smart-contracts solidity web3
Last synced: 4 days ago
JSON representation
Simple Storage Smart Contract on Avalanche Blockchain with Solidity, TypeScript, EVM, HardHat and Ether.js
- Host: GitHub
- URL: https://github.com/nawodyaishan/avalanche-simple-storage
- Owner: nawodyaishan
- Created: 2023-04-23T10:51:05.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-24T10:07:32.000Z (almost 2 years ago)
- Last Synced: 2024-11-21T03:45:31.616Z (2 months ago)
- Topics: avalanche, blockchain, dapp, ethersjs, hardhat, smart-contracts, solidity, web3
- Language: TypeScript
- Homepage:
- Size: 241 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# **Simple Storage Smart Contract on Avalanche Blockchain with Solidity, TypeScript, EVM, HardHat and EthersJS**
This is a simple storage smart contract implemented in Solidity and TypeScript, deployed on the Avalanche network using EVM, and interacted with using the AvalancheJS library.
## **Getting Started**
To get started with this project, follow these steps:
1. Clone the repository to your local machine:
```
git clone https://github.com/nawodyaishan/avalanche-simple-storage
```
2. Install the project's dependencies:
```
npm install
```
3. Create a **`.env`** file in the root directory of the project with the following contents:
```
PRIVATE_KEY=
```
Replace **``** with your Avalanche private key.
4. Compile the Solidity contracts:
```
npx hardhat compile
```
5. Deploy the contracts to the Avalanche network:
```
npx hardhat run scripts/deploy.ts --network fuji
```
6. Interact with the contract:
```
npx hardhat run scripts/interact.ts --network fuji
```
## **Prerequisites**
To use this project, you will need the following:
- Node.js (version 14 or higher)
- An Avalanche wallet with funds for gas
- Hardhat## **Built With**
- Solidity
- TypeScript
- EVM
- Ethers.js
- Hardhat