HMKT is the World's First Total Housing Market Capitalization Token created by AstraTerra . Like a conventional index fund, HMKT gives holders a real-time price exposure to the total cryptocurrency market cap. It's a 150% fully collateralized asset that’s both audited and accurately representative of the entire cryptocurrency complex by total market capitalization.
HMKTs are then minted upon being collateralized by an underlying asset, such as ETH, WBTC or DAI. The HMKT smart contracts are powered by Chainlink decentralized oracles that blend real time total market cap market data.
Set up your environment file.
cp .env.sample .env
# Edit .env as appropriate.
Install dependencies.
yarn
The .env.sample file is enough to run the tests as long as you have set up your MAINNET_API_URL key.
Make sure that you build the contracts before running the tests. Run the test command:
yarn test
Run the coverage command:
yarn coverage
Run the build command:
yarn build
Run the following command:
curl -L https://foundry.paradigm.xyz | bash
foundryup
if [ -d cache ] ; then; rm -rf cache; fi
yarn ftest