Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pmuens/astralis
Monorepo for rapid development of production grade EVM dApps
https://github.com/pmuens/astralis
blockchain dapp dapp-development dapp-template ethereum ethereum-dapp evm hardhat hardhat-template nextjs react reactjs smart-contract smart-contracts solidity solidity-contracts
Last synced: 29 days ago
JSON representation
Monorepo for rapid development of production grade EVM dApps
- Host: GitHub
- URL: https://github.com/pmuens/astralis
- Owner: pmuens
- License: mit
- Created: 2021-12-26T18:16:20.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-29T20:26:22.000Z (almost 3 years ago)
- Last Synced: 2024-10-20T04:44:31.142Z (3 months ago)
- Topics: blockchain, dapp, dapp-development, dapp-template, ethereum, ethereum-dapp, evm, hardhat, hardhat-template, nextjs, react, reactjs, smart-contract, smart-contracts, solidity, solidity-contracts
- Language: TypeScript
- Homepage:
- Size: 2.75 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Astralis
Monorepo for rapid development of production grade EVM dApps.
## Setup
1. `git clone `
2. `cp ./packages/hardhat/.env.example ./packages/hardhat/.env`
3. Update `./packages/hardhat/.env`
4. `cp ./packages/next/.env.example ./packages/next/.env`
5. Update `./packages/next/.env`
6. `yarn install`
7. `yarn dev`
8. MetaMask
1. Import Hardhat Account #0 Private Key
2. Import Hardhat Account #1 Private Key
3. Switch to Hardhat Account #0
4. Update "Localhost 8545" Network Chain ID to `31337` (Settings -> Networks -> Localhost 8545 -> Chain ID)
5. Reset Account (Settings -> Advanced -> Reset Account)## Deployment
### Hardhat
1. `yarn hardhat:clean`
2. Ensure that `./packages/hardhat/.env` is up-to-date
3. `NETWORK= yarn hardhat:deploy`
4. `NETWORK= yarn hardhat:verify`### Next
1. `yarn next:clean`
2. Ensure that `./packages/next/.env` is up-to-date
3. `FLEEK_API_KEY= yarn workspace next exec 'fleek site:init'` \*
4. Open `./packages/next/.fleek.json` and change `publicDir` to `out` \*
5. `FLEEK_API_KEY= yarn next:deploy`\* Not necessary for subsequent deployments.
## Useful Commands
```sh
yarn [:]build
yarn [:]clean
yarn [:]coverage
yarn [:]format
yarn [:]lint
yarn [:]lint-staged
yarn [:]metrics
yarn [:]test
yarn [:]watch
NETWORK= FLEEK_API_KEY= yarn [:]deploy
NETWORK= yarn [:]exportyarn workspace add [-D]
yarn workspace runNETWORK= yarn hardhat:deploy
NETWORK= yarn hardhat:export
NETWORK= yarn hardhat:verifyFLEEK_API_KEY= yarn workspace next exec 'fleek site:init'
FLEEK_API_KEY= yarn next:deploy
```## Checklists
### Updating the Solidity Compiler
- [ ] Do global search for current version
- [ ] Update findings to use new version### Adding a Workspace
- [ ] Update `eslint.workingDirectories` config in [`.vscode/settings.json`](./.vscode/settings.json)