WORKFLOW_WALLET= #put here the received wallet address
RECEIVER_ADDRESS= #put here the received wallet address ./ensemble workflows create ./samples/transfer.workflow.yaml
WORKFLOW_ID= #put here the received workflow idTOKEN_ADDRESS=0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238 #USDC
PERIODIC_TRANSFER_AMOUNT=100000 # 10 cents
WORKFLOW_NETWORK=sepoliaTOKEN_ADDRESS=0x036CbD53842c5426634e7929541eC2318f3dCF7e # USDC
PERIODIC_TRANSFER_AMOUNT=100000 # 10 cents
WORKFLOW_NETWORK=base_sepoliaTOKEN_ADDRESS=0x5425890298aed601595a70AB815c96711a31Bc65 # USDC
PERIODIC_TRANSFER_AMOUNT=100000 # 10 cents
WORKFLOW_NETWORK=avalanche_fujiTOKEN_ADDRESS=0xdc93F137EdfB14133686e90de9C845A7c7Fca3De # LESS
PERIODIC_TRANSFER_AMOUNT=1000000000000000 # 1 Finney
WORKFLOW_NETWORK=artheraNow to finish the workflow configuration, we need to create a workflow instance. Workflow instance is the workflow adapted to user's use case. This is the command to create a workflow instance:
./ensemble instances create $WORKFLOW_ID -p "{\"WORKFLOW_WALLET\": \"$WORKFLOW_WALLET\", \"RECEIVER_ADDRESS\": \"$RECEIVER_ADDRESS\", \"TOKEN_ADDRESS\": \"$TOKEN_ADDRESS\", \"PERIODIC_TRANSFER_AMOUNT\": \"$PERIODIC_TRANSFER_AMOUNT\", \"WORKFLOW_NETWORK\": \"$WORKFLOW_NETWORK\"}"
WORKFLOW_INSTANCE_ID= #store here the received workflow instance id./ensemble instances start $WORKFLOW_INSTANCE_ID