Fortune workflow
AP

Adrian Portugues

Created Feb 07, 2023

Fortune workflow

224
    j

Vercel

26 Steps
1

From steps 2 to 13 we will explain how to create an escrow using crypto. If you want to create the escrow using fiat currencies look at steps 14 to 27.From 28 until the end of the workflow, we explain how to submit fortunes as a worker.

2

I you don't have HMT tokens, look at this faucet workflow https://app.tango.us/app/workflow/HMT-faucet-workflow-874b22f847604adab1a87a9c747068fa

3

Go to job-launcher-client.vercel.app

4

Click on Crypto

Click on Crypto
5

Type a title for your fortune escrow

Type a title for your fortune escrow
6

Type the number of fortunes required

This is the number of workers will need to submit a solution to complete your escrow.

Type the number of fortunes required
7

Type a description for your fortune escrow

Type a description for your fortune escrow
8

Type the amount of HMT you want to use to fund the escrow

Type the amount of HMT you want to use to fund the escrow
9

Click on Fund and Request Job

Click on Fund and Request Job
10

Confirm the transaction in Metamask

In this step Metamask extension will open and ask to confirm a transaction that will approve the job launcher to use from your balance the amount chosen to fund the job.

11

Wait while the escrow is being created

Wait while the escrow is being created
12

Your escrow has been created

Your escrow has been created
13

Copy your escrow address

Copy your escrow address
14

Click on Fiat

Click on Fiat
15

Choose the network desired

Choose the network desired
16

Click on Fiat

Click on Fiat
17

Type a title for your fortune escrow

Type a title for your fortune escrow
18

Type the number of fortunes required

This is the number of workers will need to submit a solution to complete your escrow.

Type the number of fortunes required
19

Type a description for your fortune escrow

Type a description for your fortune escrow
20

Copy and paste here your blockchain address

Despite job launcher will create the escrow for you, you will be set as a trusted handler.

Copy and paste here your blockchain address
21

Use 4242424242424242 as the card number

Use 4242424242424242 as the card number
22

Use a future date as expiration date

Use a future date as expiration date
23

Type 3 random numbers as cvc

Type 3 random numbers as cvc
24

Type a random postal code

Type a random postal code
25

Type a name on card

Type a name on card
26

Type amount in the selected currency you want for funding the esrow with HMT

Type amount in the selected currency you want for funding the esrow with HMT
    j

Stripe

4 Steps
27

Click on Fund and Request Job

Click on Fund and Request Job
28

Your escrow has been created. Click on Launch Exchange Oracle

Your escrow has been created. Click on Launch Exchange Oracle
29

Go to https://exchange-oracle.vercel.app/

Here is where worker will submit their fortunes

30

Click on Select Network

Click on Select Network
    j

Vercel

6 Steps
31

Choose Metamask

Choose Metamask
32

Choose a different account on metamask (worker 1)

Choose a different account than the one used to request the job creation

33

Paste the escrow address in the first input field and click on Confirm

Here will see some information about the escrow, like status and balance.

Paste the escrow address in the first input field and click on Confirm
34

Write a fortune for worker 1 and click on Send Fortune.

Wait until you see the message "Your fortune has been submitted". It might take some time.

Write a fortune for worker 1 and click on Send Fortune.
35

Repeat steps 16 and 17 with worker 2

Use a different address on your Metamask wallet

36

Your workers addresses should have received HMT tokens for completing the job

Well done!
Create how-to guides like this in a snap. Get Tango now.