This repository contains the Runeguard Dapps deployed on the Oasis blockchain.
This repo requires TypeScript and Hardhat
Install the dependencies:
npm installCompile the smart contracts:
npm run buildIn this same folder, copy env.example to .env, change any values you may need to change.
Test the smart contracts:
npm testGet the signer address you will be deploying from on the testnet:
npm run get-testnet-signer-addressGet the signer address you will be deploying from on the mainnet:
npm run get-signer-addressYou're ready to go! Follow the instructions below to deploy.
The Runeguard Copper token is the native utility token for Runeguard.
To deploy it on the testnet, enter:
npm run deploy-token-testnetTo deploy it on the mainnet, enter:
npm run deploy-tokenThe Runeguard vesting wallet is what's used to unlock tokens over time.
Prior to deploying on the TESTNET edit scripts/DeployVestingWallet.ts and set the variables beneficiary, start, and duration.
To deploy it on the testnet, enter:
npm run build
npm run deploy-vesting-wallet-testnetPrior to deploying on the MAINNET edit scripts/DeployVestingWallet.ts and set the variables beneficiary, start, and duration.
To deploy it on the mainnet, enter:
npm run build
npm run deploy-vesting-wallet