Deploy this function to establish your own TxMS service via Twilio.
Ensure you have Node.js 14 installed.
For the development version, create a .env
file in the project's root directory. The .env
file should contain the following:
ACCOUNT_SID=…
AUTH_TOKEN=…
DEBUG=…
PROVIDER=…
ENDPOINT=…
Where:
- ACCOUNT_SID: Your Twilio account SID
- AUTH_TOKEN: Your Twilio account token
- DEBUG: Program debugging setting - 1/true or 0/false
- PROVIDER: URL of the provider in use (Currently, Blockbook is supported.)
- ENDPOINT: Endpoint for streaming Core Transactions
Install the necessary dependencies by running the command:
npm i
To launch the development version, run the following command:
npm run start
To deploy your project on a server, ensure you have the necessary permissions, then execute:
npm run deploy -- -n=name --environment=dev
Alter or remove the name and environment as necessary.
npm run deploy -- -n=name && npm run promote -- -n=name
Alter or remove the name as necessary.
To continuously collect the latest logs, run:
npm run logs
To make the deployment editable in the UI, use:
npm run ui-active -- --sid ZS…
「Cryptoni Confidimus」
This service is licensed under the CORE License.