Skip to content

Latest commit

 

History

History
55 lines (29 loc) · 1.67 KB

README.md

File metadata and controls

55 lines (29 loc) · 1.67 KB

Thrivable Economy

A Refi economic system that emerges regenerative impacts, initially to target the food economy in the Machuca River Valley, a bioregion in Costa Rica.

I have created this project on a Windows 11 machine using VSCode and Powershell. I haven't tried installing it and running the scripts in WSL or on a Linux machine.

Hardhat

Comparing Hardhat to Remix and Foundry, Hardhat is an easier integration with things like Typescript, Ethers.js (or Viem), VSCode and Windows, while being at a professional level and helping to stay close to Web3.

https://hardhat.org/

Typescript

Using the Typescript version of Hardhat.

Viem

Small and cleaner version of ethers.js, used by Hardhat.

https://viem.sh/

Visual Studio Code

Uses the VSCode Hardhat Extension to facilitate writing quality solidity.

Deployments

Uses Hardhat Ignition for configuring deployments.

Testing

Uses Mocha with Hardhat Chai Matchers for the latter's Ethereum-specific enhancements to the Chai test assertion library.

Getting Started

To obtain and install everything:

Clone the Git repository from https://github.com/dkent600/thrivable-economy.git.

Make sure you have the latest version of node and npm.

Run npm run install to install everything.

Testing and Deploying

npm run clean -- install or reinstall

npm run compile -- compile the contracts

npm run test -- test the contracts against the local hardhat node

npm run deploy -- deploy the contracts to the local hardhat node and display the resulting contract addresses

More Information and Getting Involved

To see more about the status of the project, see the Telegram chat at: https://t.me/thrivableeconomy.