Last active
October 13, 2018 20:52
-
-
Save richo/70746f76ff83a1f542c1 to your computer and use it in GitHub Desktop.
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
my_act=<Your account goes here> | |
coffee_act=gnqjB9vj9onfw9g9zeyLMqyLDkuJ6Xf69R | |
my_sec=<your secret goes here> | |
curl -X POST https://live.stellar.org:9002 -d " | |
\"method\": \"submit\", | |
\"params\": [ | |
{ | |
\"secret\": \"$my_sec\", | |
\"tx_json\": { | |
\"Account\": \"$my_act\", | |
\"TakerPays\": { | |
\"currency\": \"COF\", | |
\"issuer\": \"$coffee_act\", | |
\"value\": 1 | |
}, | |
\"TakerGets\": \"750000000\", | |
\"TransactionType\": \"OfferCreate\" | |
} | |
} | |
] | |
}" |
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
my_act=<Your account goes here> | |
coffee_act=gnqjB9vj9onfw9g9zeyLMqyLDkuJ6Xf69R | |
my_sec=<your secret goes here> | |
curl -X POST https://live.stellar.org:9002 -d " | |
{ | |
\"method\": \"submit\", | |
\"params\": [ | |
{ | |
\"secret\": \"$my_sec\", | |
\"tx_json\": { | |
\"Account\": \"$my_act\", | |
\"LimitAmount\": { | |
\"currency\": \"COF\", | |
\"issuer\": \"$coffee_act\", | |
\"value\": 100 | |
}, | |
\"TransactionType\": \"TrustSet\" | |
} | |
} | |
] | |
} | |
" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment