diff --git a/projects/thriveonmars/index.js b/projects/thriveonmars/index.js new file mode 100644 index 000000000000..aec445e302e9 --- /dev/null +++ b/projects/thriveonmars/index.js @@ -0,0 +1,18 @@ +const { get_account_tvl } = require("../helper/chain/eos"); + +// Thrive On Mars +// https://thriveonmars.com +async function wax() { + const accounts = ["play.mars"]; + const tokens = [ + ["eosio.token", "WAX", "wax"] + ]; + return await get_account_tvl(accounts, tokens, "wax"); +} + +module.exports = { + methodology: `Thrive On Mars TVL is achieved by querying token balances from NFT gaming contracts`, + wax: { + tvl: wax + }, +} \ No newline at end of file