forked from MystenLabs/sui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[rest gateway] - Align rest api to GatewayAPI + RestAPI rust wrapper…
… + Lot of refactoring (MystenLabs#1123) * made bytes encoding consistent - encoding IDs with Hex and data bytes with Base64 * added split-coin end point * added merge-coin end point * new `RestGatewayClient` - a rust wrapper for the RestAPI * add support of Rest gateway to the wallet - wallet can be configured to connect to the network directly, or via the rest gateway * removed start/stop/genesis from rest server * removed wallet functionalities from rest server * Genesis now creates a new `gateway.conf`, which can be used to start the rest gateway server. * CORS can be configured using env variable e.g. `ACCESS_CONTROL_ALLOW_ORIGIN=* ./rest_server`
- Loading branch information
1 parent
d755dad
commit 7c30c0a
Showing
24 changed files
with
1,245 additions
and
1,346 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.