Keystore
Keys management system
Rockside provides a key management system. You can use it as a signature service to sign transactions and messages.
To access the forwarder API you need an API Key. It's available by registering on Rockside Dashboard.
post
https://api.rockside.io
/ethereum/eoa
Create EOA Account
Example:
curl -X POST \
https://api.rockside.io/ethereum/eoa \
-H 'Content-Length: 0' \
-H 'apikey: YOUR_API_KEY'
get
https://api.rockside.io
/ethereum/eoa
List EOA Accounts
Example:
curl -X GET \
https://api.rockside.io/ethereum/eoa \
-H 'apikey: YOUR_API_KEY'
post
https://api.rockside.io
/ethereum/eoa/EOA_ADDRESS/sign
Sign transaction
Example:
curl -X POST \
https://api.rockside.io/ethereum/eoa/0x7e4470895cc2815cb09b05ad480574d518b4a92b/sign \
-H 'apikey: YOUR_API_KEY' \
-d '{"from":"0x7e4470895cc2815cb09b05ad480574d518b4a92b",
"to":"0x7c869a955e4846e5f6e28fb525b0200d03159e16",
"gas":"0x76c0",
"gasPrice":"0x0",
"value":"0x0",
"network_id": "1",
"nonce":"1" }'
post
https://api.rockside.io
/ethereum/eoa/EOA_ADDRESS/sign-message
Sign Message
Example:
curl -X POST https://api.rockside.io/ethereum/eoa/0x7e4470895cc2815cb09b05ad480574d518b4a92b/sign-message \
-H 'apikey: API_KEY' \
-H 'Content-Type: application/json' \
-d '{"message":"0x3877c10b1c024084aef6141a712640a7fad4bf9cd7ba195f112e2543e229c8bb" }'
Last modified 2yr ago