https://github.com/envoy-vc/warp-uuid-generator
Simple UUID Generator using VRF Plugin.
https://github.com/envoy-vc/warp-uuid-generator
Last synced: about 2 months ago
JSON representation
Simple UUID Generator using VRF Plugin.
- Host: GitHub
- URL: https://github.com/envoy-vc/warp-uuid-generator
- Owner: Envoy-VC
- Created: 2023-12-23T21:43:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-04T17:05:40.000Z (about 1 year ago)
- Last Synced: 2025-01-23T00:24:52.596Z (3 months ago)
- Language: JavaScript
- Size: 348 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Warp UUID Generator
## What it does:
Generates unique identifiers (UUIDs) specifically with Warp SDK.
Uses a special feature called the VRF Plugin to make sure each UUID is truly one-of-a-kind.
Focuses on UUID version 4, which is a type commonly used in various applications.## How to test it:
1. Deploy the contract:
Open your terminal or command prompt.
```bash
node scripts/deploy.js
```This will deploy a contract on Warp Mainnet.
2. Copy the Contract ID:
After successful deployment, you'll see a Contract ID displayed in the terminal. Copy this ID.
Interact with the contract:Open the file named `scripts/interact.js` in a text editor.
Paste the Contract ID you copied into the appropriate place within this file.
3. Run the following command in your terminal
```bash
node scripts/interact.js
```This will initiate interaction with the contract, allowing you to generate UUIDs.
## Some Example UUIDs Generated
078107d3-e61b-4e33-95b2-7b37b8868c89
a5585135-bf72-4745-872e-1d60c6daab61
dff2902d-4991-4888-b294-d74d33e3c59e
bc68018c-52e4-4526-8a1b-7b4689a19bb0
44f9f8e6-384f-46ac-87ad-d0d54ab21cb1