Getting Started Guide
Prerequisites
2
Register Into Truebit
{
"address": "your-wallet-address",
"privateKey": "your-private-key"
}truebit setup Welcome to Truebit Verify!
Your all-in-one solution to develop, build, test, and deploy tasks seamlessly.
Let's get started by setting up your account and configuring your wallet.
We'll guide you through each step to ensure a smooth experience.
**Important: Private Key Information
Truebit Verify employs a private key system to secure your account:
- A unique private key will be automatically generated for you.
- This key serves as your secure identifier within Truebit Verify.
- It's used internally to authenticate your actions.
- You won't need to manage this key directly.
We are committed to ensuring the security of your private key and safeguarding your account.
Ready to begin?
Press [Y] to proceed or [N] to exit: Step 1: Create an Account
It appears you're a new user without a wallet configured locally.
Would you like to create a new wallet now?
Press [Y] to proceed or [N] to skip:Setting up your new wallet...
Your new wallet address is: <wallet>
Your wallet information has been securely stored in /Users/<username>/.truebit/secret.json
Please keep this file safe, as it contains your credentials for using Truebit Verify.
Now that your wallet is set up, let's create your Truebit Verify account.
Please provide the following information:
1. Full Name: John Doe
2. Email Address: john.doe@example.com
3. Company Name: Acme
4. Job Position: Senior Developer
5.Accept EULA? [Y|N] (https://truebit.io/terms/): Y
Is the information provided above correct?
Press [Y] to confirm or [N] to edit: Y
By completing registration, you'll be automatically subscribed to our newsletter.
To opt-out, please follow the steps described in our documentation portal.
... registering your account.
Thanks for registering to Truebit Verify!
Congratulations! Your Truebit Verify account has been successfully created.
Account Summary:
- Name: John Doe
- Email: john.doe@example.com
- Company: Acme
- Position: Senior Developer
- Wallet Address: 0xfc046e7cd36ffff3e59642387dca6dcd76c9b355
- Namespace: J349oiAO // API Key: 0x109435FR78
Run 'truebit --help' at any time to get started3
4
Executing Your First Function Task
{
"executionId": "08c717bb-f92a-4f43-96a7-940e9ef37983",
"clearTextSolution": {
"signature": {
"v": 27,
"r": "997e437a3c2828d141ea7038e68391ffa3bbc4447c5e03e72e90b981d12cf30f",
"s": "3b503da5ba6225137ec6f546de93bbbe8a7092091c557ea1a3bc9aad27b3ba75"
},
"output": "6765",
"status": "succeed",
"senderAddress": "0x344462d1a0a3a61945aa9dd4c072df8caed1af86"
},
"status": "Success"
}5
6
Executing Your First API task
"input": {
"path": "/store/order",
"method": "POST",
"body": {
"id": 2,
"petId": 198772,
"quantity": 7,
"shipDate": "2077-08-24T14:15:22Z",
"status": "approved",
"complete": true
}
}{
"executionId": "fb8bbaf4-8fb6-49d7-b089-f22c37b0285e",
"clearTextSolution": {
"output": {
"id": 2,
"petId": 198772,
"quantity": 7,
"shipDate": "2077-08-24T14:15:22.000+0000",
"status": "approved",
"complete": true
},
"status": "succeed",
"senderAddress": "0xd70c3454aad1b7ec660a064d8b1fe5708d898d84"
},
"status": "Success",
"totalTransferredBytes": {
"request": 220,
"response": 438
}
}Last updated
Was this helpful?