This simple demo showcases how the Tether WDK can be extended using the Fairblock SDK to enable confidential transfers.
- Node.js installed
- A wallet seed phrase with funds on the Stable Testnet
-
Install dependencies:
npm install
-
Configure your environment: Create a
.envfile in the root directory and add your seed phrase:SEED_PHRASE="your seed phrase here"Note: You need a seed phrase for a wallet that has funds on the Stable Testnet. You can get testnet funds from the Stable Testnet Faucet.
If you encounter any issues getting funds or running the demo, please contact us!
Run the application:
node app.jsThis will execute the demo flow:
- Initialize Tether WDK (Ethereum)
- Enable Confidentiality (register with Fairblock)
- Perform a Confidential Deposit
- Execute a Confidential Transfer
- Withdraw funds back to public balance
For support or more information, reach out to us on Twitter:
- Fairblock: @0xfairblock
- Peyman: @Pememoni