{
	"variables": [],
	"info": {
		"name": "Stellar",
		"_postman_id": "4d50bfb1-49b3-08e8-3325-b3c619a4bd4e",
		"description": "",
		"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
	},
	"item": [
		{
			"name": "Anchors",
			"description": "",
			"item": [
				{
					"name": "Express fund",
					"request": {
						"url": "localhost:4001/funds",
						"method": "GET",
						"header": [],
						"body": {},
						"description": ""
					},
					"response": []
				},
				{
					"name": "Express issue",
					"request": {
						"url": "localhost:4001/issue",
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"description": ""
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"destination\": \"GA5D4OFB2P6NG2RDA4324OD2IGHRY5TLQL466DJ76O7HYN2R42PMIPIF\",\n  \"amount\": 20,\n  \"specificData\": {\n    \"memo\": \"coucou\",\n    \"memo_type\": \"text\"\n  }\n}"
						},
						"description": ""
					},
					"response": []
				},
				{
					"name": "NaoBTC deposit",
					"request": {
						"url": "https://www.256kw.com/stellar2btc/GDG4LKMTODR227EQQXKHAWIOYBLNGXRJEW6TJTNQ766UUGVMFWDGAVT6",
						"method": "GET",
						"header": [],
						"body": {},
						"description": "Generated from a curl request: \ncurl 'https://www.256kw.com/stellar2btc/GDG4LKMTODR227EQQXKHAWIOYBLNGXRJEW6TJTNQ766UUGVMFWDGAVT6' -H 'Origin: https://naobtc.com' -H 'Accept-Encoding: gzip, deflate, sdch, br' -H 'Accept-Language: en-US,en;q=0.8,fr;q=0.6' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36' -H 'Accept: application/json, text/plain, */*' -H 'Referer: https://naobtc.com/' -H 'Connection: keep-alive' -H 'DNT: 1' --compressed"
					},
					"response": []
				},
				{
					"name": "NaoBTC withdraw",
					"request": {
						"url": "https://www.256kw.com/federation?q=1LU6kFf7AujmbUvbbRARobAzvR71yjphM*naobtc.com&type=name",
						"method": "GET",
						"header": [],
						"body": {},
						"description": ""
					},
					"response": []
				},
				{
					"name": "Our BTC withdraw",
					"request": {
						"url": "192.168.1.67:3000/resolve/from/STELLAR/to/BTC?address=miwe9Mf5J4QMaeBqS1aJGdRJbxgatn2XoE",
						"method": "GET",
						"header": [],
						"body": {},
						"description": ""
					},
					"response": []
				},
				{
					"name": "Express resolve deposit",
					"request": {
						"url": "localhost:4001/resolve/from/BTC/to/STELLAR?address=GA5D4OFB2P6NG2RDA4324OD2IGHRY5TLQL466DJ76O7HYN2R42PMIPIF",
						"method": "GET",
						"header": [],
						"body": {},
						"description": ""
					},
					"response": []
				},
				{
					"name": "Express resolve withdraw",
					"request": {
						"url": "localhost:4001/resolve/from/STELLAR/to/BTC?address=coucou",
						"method": "GET",
						"header": [],
						"body": {},
						"description": ""
					},
					"response": []
				}
			]
		},
		{
			"name": "Federation",
			"description": "",
			"item": [
				{
					"name": "Federation get keypair",
					"request": {
						"url": "{{api}}/federation?q=pac*ngfar.io&type=keypair&password=caca",
						"method": "GET",
						"header": [],
						"body": {},
						"description": ""
					},
					"response": []
				},
				{
					"name": "Federation put",
					"request": {
						"url": "{{api}}/federation",
						"method": "PUT",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"description": ""
							},
							{
								"key": "signature",
								"value": "8A5nLhJ4P5S4tgwgOhUlShbD5R8KjIVrQYmtLZM0JA+S4qTBkHyKjQnrxoeWoWpGW/cQMAwR+6J0Xn8jdTArCQ==",
								"description": ""
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{ \n  \"account_id\": \"GAUZC6DCLZFZJ4PJWFGWTVVPOH6UCSCFM76IICWNEC7FUAEVKF2BZTMO\",\n  \"stellar_address\": \"roberto*ngfar.io\"\n}\n"
						},
						"description": ""
					},
					"response": []
				},
				{
					"name": "Federation get",
					"request": {
						"url": "{{api}}/federation?q=pac*ngfar.io&type=name",
						"method": "GET",
						"header": [],
						"body": {},
						"description": ""
					},
					"response": []
				},
				{
					"name": "Federation get reverse",
					"request": {
						"url": "{{api}}/federation?q=GCGHVFPIITP4H3O5KMZZCSXD3RJQJDC4WVMPI3JUQKKB5WVYUHV6TTQN&type=id",
						"method": "GET",
						"header": [],
						"body": {},
						"description": ""
					},
					"response": []
				},
				{
					"name": "Federation create account",
					"request": {
						"url": "localhost:3000/federation",
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"description": ""
							},
							{
								"key": "sudo",
								"value": "fiozjfdisjfds",
								"description": ""
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{ \n  \"federation_address\": \"pac*ngfar.io\",\n  \"password\": \"caca\"\n}"
						},
						"description": ""
					},
					"response": []
				},
				{
					"name": "Federation patch seed",
					"request": {
						"url": "{{api}}/federation",
						"method": "PATCH",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"description": ""
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{ \n  \"seed\": \"SCYYFDJEED4AQ5CRV7NJDHKVV373X3YWT3Q7477Y47WN2DCRXWOMSLFT\",\n  \"password\": \"bobo\"\n}"
						},
						"description": ""
					},
					"response": []
				},
				{
					"name": "Federation delete",
					"request": {
						"url": "{{api}}/federation",
						"method": "DELETE",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"description": ""
							},
							{
								"key": "signature",
								"value": "8A5nLhJ4P5S4tgwgOhUlShbD5R8KjIVrQYmtLZM0JA+S4qTBkHyKjQnrxoeWoWpGW/cQMAwR+6J0Xn8jdTArCQ==",
								"description": ""
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{ \n  \"account_id\": \"GAUZC6DCLZFZJ4PJWFGWTVVPOH6UCSCFM76IICWNEC7FUAEVKF2BZTMO\",\n  \"stellar_address\": \"roberto*ngfar.io\"\n}\n"
						},
						"description": ""
					},
					"response": []
				}
			]
		},
		{
			"name": "Wilson",
			"description": "",
			"item": [
				{
					"name": "Anchor supported assets list",
					"request": {
						"url": "localhost:3000/wilson?type=list",
						"method": "GET",
						"header": [],
						"body": {},
						"description": ""
					},
					"response": []
				},
				{
					"name": "Resolution deposit stellereum",
					"request": {
						"url": "localhost:3000/wilson?type=deposit&issuer=GDIR44J6EE3SVP4OAOAF7FAJGBXIHELRKHGC3RFAYXDE4I73S6ZNNW2F&code=ETH&address=GDG4LKMTODR227EQQXKHAWIOYBLNGXRJEW6TJTNQ766UUGVMFWDGAVT6",
						"method": "GET",
						"header": [],
						"body": {},
						"description": ""
					},
					"response": []
				},
				{
					"name": "Resolution withdraw stellereum",
					"request": {
						"url": "localhost:3000/wilson?type=withdraw&issuer=GDIR44J6EE3SVP4OAOAF7FAJGBXIHELRKHGC3RFAYXDE4I73S6ZNNW2F&code=ETH&address=0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae",
						"method": "GET",
						"header": [],
						"body": {},
						"description": ""
					},
					"response": []
				},
				{
					"name": "Resolution deposit naobtc",
					"request": {
						"url": "{{api}}/wilson?type=deposit&issuer=GATEMHCCKCY67ZUCKTROYN24ZYT5GK4EQZ65JJLDHKHRUZI3EUEKMTCH&code=BTC&address=GDG4LKMTODR227EQQXKHAWIOYBLNGXRJEW6TJTNQ766UUGVMFWDGAVT6",
						"method": "GET",
						"header": [],
						"body": {},
						"description": ""
					},
					"response": []
				},
				{
					"name": "Resolution withdraw naobtc",
					"request": {
						"url": "localhost:3000/wilson?type=withdraw&issuer=GATEMHCCKCY67ZUCKTROYN24ZYT5GK4EQZ65JJLDHKHRUZI3EUEKMTCH&code=BTC&address=1LU6kFf7AujmbUvbbRARobAzvR71yjphM",
						"method": "GET",
						"header": [],
						"body": {},
						"description": ""
					},
					"response": []
				},
				{
					"name": "Anchor info stellereum",
					"request": {
						"url": "localhost:3000/wilson?type=info&issuer=GDIR44J6EE3SVP4OAOAF7FAJGBXIHELRKHGC3RFAYXDE4I73S6ZNNW2F&code=ETH",
						"method": "GET",
						"header": [],
						"body": {},
						"description": ""
					},
					"response": []
				},
				{
					"name": "Resolution deposit ourBTC ",
					"request": {
						"url": "localhost:3000/wilson?type=deposit&issuer=us&code=BTC&address=GDG4LKMTODR227EQQXKHAWIOYBLNGXRJEW6TJTNQ766UUGVMFWDGAVT6",
						"method": "GET",
						"header": [],
						"body": {},
						"description": ""
					},
					"response": []
				},
				{
					"name": "Resolution withdraw ourBTC",
					"request": {
						"url": "localhost:3000/wilson?type=withdraw&issuer=us&code=BTC&address=0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae",
						"method": "GET",
						"header": [],
						"body": {},
						"description": ""
					},
					"response": []
				},
				{
					"name": "Resolution deposit express",
					"request": {
						"url": "localhost:3000/wilson?type=deposit&issuer=GCA4HSR6WZ67T7PLUXWBW57GZUXJ3EFDPRIPJN65RYB2FVV77XMN2MS7&code=BTC&address=GA5D4OFB2P6NG2RDA4324OD2IGHRY5TLQL466DJ76O7HYN2R42PMIPIF",
						"method": "GET",
						"header": [],
						"body": {},
						"description": ""
					},
					"response": []
				},
				{
					"name": "Resolution withdraw express",
					"request": {
						"url": "localhost:3000/wilson?type=withdraw&issuer=GCA4HSR6WZ67T7PLUXWBW57GZUXJ3EFDPRIPJN65RYB2FVV77XMN2MS7&code=BTC&address=roger",
						"method": "GET",
						"header": [],
						"body": {},
						"description": ""
					},
					"response": []
				}
			]
		}
	]
}