Quickstart

Create an identity smart wallet (custodial mode)

The identity created represents you on the blockchain and you will use it to send transactions.

Linux, osx
Windows
Linux, osx
curl -X POST \
https://api.rockside.io/ethereum/ropsten/identities \
-H 'Content-Length: 0' \
-H 'Content-Type: application/json' -H 'apikey: YOUR_API_KEY'
Windows
curl -X POST https://api.rockside.io/ethereum/ropsten/identities -H "Content-Length: 0" -H "apikey: YOUR_API_KEY"

Response:

{
"address": "0x297634F1433Ef10162E2986760b7D4880c3F0247"
"transaction_hash":"0xa51fdb4b79c45fbe9bf6df5a822814f6ad47bf9dfad4bb2b59745b2968c1d38e"
}

This address represents your identity (i.e. a smart contract address). You can use the hash of the transaction to follow the deployment of your identity.

Relay your transaction

Send your transaction with Rockside by using our API /ethereum/:network/transaction:

Linux, osx
Windows
Linux, osx
curl -X POST \
https://api.rockside.io/ethereum/ropsten/transaction \
-d '{"from":"YOUR_ADDRESS", "to":"DESTINATION_ADDRESS", "value":"0x0", "data":""}' \
-H 'Content-Type: application/json' -H 'apikey: YOUR_API_KEY'
Windows
curl -X POST https://api.rockside.io/ethereum/ropsten/transaction -d "{\"from\":\"YOUR_ADDRESS\", \"to\":\"DESTINATION_ADDRESS\", \"value\":\"0x0\"}" -H "apikey: YOUR_API_KEY"

Response:

{
"transaction_hash": "0xb317b54b42bcdcc2bcf8ae96e3dc9463142422175dff85ff9e3de211f83ff4a0"
}