An example how easy it is to setup ACES ETH to ARK Channel Service using Docker.
In order to run ARK ~ ETH service you'll need to have access to a trusted DARK node (ARK node running on devnet) and an ETH node (running on any ETH testnet).
- Change the settings under
environment
indocker-compose.yml
- Start project by running
docker-compose up
It might take a while for the project to start the first time.
Subscribe ark-eth-channel
to events on listener-ark
curl -X POST 'localhost:9091/subscriptions' \
-H 'Content-type: application/json' \
-d '{
"callbackUrl": "http://localhost:9190/public/eventLogger",
"minConfirmations": 5
}'
Create an ACES contract for sending ETH (tesnet) to someone using DARK tokens.
curl -X POST localhost:9190/contracts \
-H 'Content-type: application/json' \
-d '{
"arguments": {
"recipientEthAddress": "<recipients-eth-address>"
}
}'
Check status of the contract:
curl -X GET http://localhost:9190/contracts/<contract-id>
Join #aces channel on ARK's Slack