Integrating your own StarkEx instance
When you begin working with StarkEx, you receive your own instance of StarkEx on testnet, and your own L1 StarkEx contract.
-
(Recommended) You have used the StarkEx Playground. For more information, see the StarkEx Playground tutorial.
-
You have a dedicated instance of StarkEx for your application. For information on getting your own instance of StarkEx, contact us at info@starkware.co.
A real StarkEx instance | StarkEx Playground |
---|---|
You are the only Operator. You have full control of your StarkEx instance. |
There are multiple Operators. |
You manage the |
The |
You are the only one sending transactions, so you don’t need to call |
In order to get the next transaction id, you must query the StarkEx gateway by calling |
High level steps
-
For ZK-Rollup and Validium, set up a service to query StarkEx’s availability gateway, compute the new state, and approve it.
-
For Validium only, set up a Data Availability Committee (DAC).
-
Enable alternative transactions to replace invalid transactions in a batch. One invalid transaction can potentially invalidate the entire batch.
-
Add an event handler to your application to monitor and handle on-chain full withdrawal requests and serve them in a timely manner.
-
Set up mutual authentication to enable encrypted communication between your application and StarkEx.