Skip to content
/ myusd Public

Fully collateralized, redeemable, and stable mastercoin for Cardano.

License

Notifications You must be signed in to change notification settings

MynthAI/myusd

Repository files navigation

Mynth Stablecoin

This repository hosts Cardano smart contracts for Mynth’s Stablecoin (MyUSD). Currently the minting policy is published. Other mechanics will be published over time.

Prerequisites

Minting/Burning

Minting and burning requires an auth token. If the auth token is spent, then minting/burning is allowed. The auth token is protected by other controls to prevent misuse. This design ensures the minting logic can be upgraded in the future without needing to modify the policy ID.

Testing

To run Aiken unit tests:

npm run test:aiken

To run integration tests:

npm run test

Setting Up Vault Secrets

This project utilizes Vault for secure storage of secrets. To set it up on your computer, follow the steps provided on the Local Vault page.

The list of secrets this repository relies on are:

  • myusd/blockfrost api_key
  • myusd/wallets seed1

myusd/wallets seed1 is used only for testing purposes. If you need to run tests locally, contact a Mynth team member to obtain the value.

About

Fully collateralized, redeemable, and stable mastercoin for Cardano.

Resources

License

Stars

Watchers

Forks