THIS CODE AND RELATED DOCUMENTS ARE PROVIDED ON AN "AS IS" BASIS. ARCHIMEDES SOLUTIONS, ITS OFFICERS, EMPLOYEES, AND AFFILIATES (COLLECTIVELY "ARCHIMEDES SOLUTIONS") MAKE NO REPRESENTATIONS OR WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, AS TO THESE INSTRUCTIONS, RELATED CODE, BUILD SCRIPTS, OR ANY THIRD PARTY PACKAGES. YOU EXPRESSLY AGREE THAT YOUR USE OF THIS CODE IS AT YOUR SOLE RISK. ARCHIMEDES SOLUTIONS WILL NOT BE LIABLE FOR ANY DAMAGES OF ANY KIND ARISING FROM THE USE OF THIS CODE INCLUDING, BUT NOT LIMITED TO, DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, AND CONSEQUENTIAL DAMAGES.
To clone and contribute to the project, you will need Git and Node.js (which comes with npm) installed on your computer.
For Windows, you should download Git Bash for using the terminal.
For MacOS/Linux, you should already have a terminal pre-installed with the operating system.
If you have not already downloaded a text-based code editor, you should download Visual Studio Code.
For those who have not already:
First, you must create a GitHub account and be added as an contributor to this repository. Follow this guide to generate a new SSH key and add it to your GitHub account. For a refresher on Git and GitHub, watch this tutorial.
Then, choose the directory where you want to clone the project repository.
# Choose the directory for the repository
$ cd PATH_TO_REPO
# Clone this repository
$ git clone https://github.com/thisisarchimedes/Archimedes_Finance.git
# Go to the root directory of the repository
$ cd Archimedes_Finance
Once in the root directory, use the Node package manager npm to install hardhat.
$ npm install --save-dev hardhat
Use hardhat to run unit tests
$ npx hardhat test
- "ProviderError: Must be authenticated!": related to git hub private repo not being able to be checked out. One simple fix is to clone secrets repo inside this folder to have Archimedes_Finance/secrets:
$ git clone https://github.com/thisisarchimedes/secrets.git