Deploying to Production
Before you deploy
Make sure your project conforms to the strict directory structure specified in Project Template.
Make sure your test suite is passing and you're confident that the code is working.
Make sure you're only using NPM packages from the allowed list.
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.
GitHub repo: https://github.com/orbs-network/orbs-lambda
Once your PR is submitted, circleCI will go over it and run some sanity tests to make sure it conforms with our guidelines. It produces error messages so you can get an underrating of what's wrong.
Additional 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.
Last updated