Links

Deploying to Production

Before you deploy

  1. 1.
    Make sure your project conforms to the strict directory structure specified in Project Template.
  2. 2.
    Make sure your test suite is passing and you're confident that the code is working.
  3. 3.
    Make sure you're only using NPM packages from the allowed list.
  4. 4.
    If your lambda sends transactions, make sure you have enough funding for gas costs, as described under Sending Transactions.

Deploy your lambda

To deploy your lambda, submit a PR (pull request) to the official Orbs Lambda repo on GitHub.
Errors and feedback over your PR will appear in GitHub as comments. If your PR is merged successfully, there were no errors in the submission.
Your lambda may take several hours until it starts executing in production by the validators of the network. Validators synchronize lambda changes automatically several times a day.