https://github.com/bujosa/aiolos
This is project is related with express + ethereum
https://github.com/bujosa/aiolos
ethereum ethereum-contract express rpc typescript
Last synced: 3 months ago
JSON representation
This is project is related with express + ethereum
- Host: GitHub
- URL: https://github.com/bujosa/aiolos
- Owner: bujosa
- License: mit
- Created: 2023-10-22T23:07:44.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-26T05:50:08.000Z (over 2 years ago)
- Last Synced: 2025-03-11T10:53:17.659Z (about 1 year ago)
- Topics: ethereum, ethereum-contract, express, rpc, typescript
- Language: JavaScript
- Homepage:
- Size: 82 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Aiolos
This is project is related with express + ethereum, the main idea is to create an endpoint to interact with the smart contract named [SimpleContract](./contracts/SimpleContract.sol) deployed in the ethereum network.
## Technologies
- [Express](https://expressjs.com/)
- [TypeScript](https://www.typescriptlang.org/)
- [Web3](https://web3js.readthedocs.io/en/v1.2.11/)
- [Truffle](https://www.trufflesuite.com/truffle) (for smart contract development and deployment) You can use [Remix](https://remix.ethereum.org/) as well.
- [Ganache](https://www.trufflesuite.com/ganache) (for local development)
## Install
```
npm install
```
## Run
```
npm run dev
```
### Local development
1. Install [Ganache](https://www.trufflesuite.com/ganache)
```
npm install -g ganache
```
2. Run Ganache
This will run a local blockchain in your machine. You can see the accounts and private keys in the console and the local blockchain will be running in the port 8545.
```bash
ganache-cli
```
Also you can use hardhat to run a local blockchain, you can find more information [here](https://hardhat.org/guides/mainnet-forking.html). Currently Ganache and Truffle are deprecated. Hardhat is the new tool for smart contract development.