Skip to main content

Deploying an enclave image

Navigate to the marketplace page. You should see a table filled with operators and the compute resources they offer, that looks something like this:

Marketplace

Connect your wallet

Click connect and connect your wallet. The address used needs ETH to pay gas fees and USDC to pay for the job. It will have sole ownership over the job to manage it.

caution

Oyster uses native USDC on Arbitrum. If you have bridged USDC (also known as USDC.e), you can swap it on a DEX to the native flavor.

Select a host

Choose a particular host to run the enclave and click deploy. Filters are available at the top to narrow down the search based on the requirements. It should open up a deployment popup with prefilled information that looks like this:

Create order

Fill in details

Fill in the required details. Important parameters include:

  • vCPU - how many cpus to allocate to the enclave from the host
  • Memory - how much memory to allocate to the enclave from the host
  • Duration - how long to run the job for, this will compute the instance cost field
  • Bandwidth - average bandwidth needed for the enclave, this will compute the bandwidth cost field
  • Image URL - publicly accessible (using e.g. wget <url>) URL for the enclave image

Place the job

Approve USDC transfers and place the job. It should be visible as an active job after confirmation:

Place job

Clicking the arrow on the right will open up the job management options where the job can be managed further.