cosmos-sdk/modules/roles
Emmanuel Odeke f52d92a40e modules/coin/rest: implemented CreateRole
* Note: Role must be a hex string, as enforced in tests/rest/cli.sh

```shell
$ curl -X POST http://localhost:8998/build/create_role --data \
'{
  "role":"DEADBEEF", "seq": 1,
  "min_sigs": 1,
  "signers": [{
    "addr": "4FF759D47C81754D8F553DCCAC8651D0AF74C7F9", "app": "role"
  }]
}'
```

```HTTP
HTTP/1.1 200 OK
Content-Type: application/json
Date: Tue, 08 Aug 2017 19:15:13 GMT
Content-Length: 387

{
  "type": "chain/tx",
  "data": {
    "chain_id": "test_chain_id",
    "expires_at": 0,
    "tx": {
      "type": "role/create",
      "data": {
        "role": "DEADBEEF",
        "min_sigs": 1,
        "signers": [
          {
            "chain": "",
            "app": "role",
            "addr": "4FF759D47C81754D8F553DCCAC8651D0AF74C7F9"
          }
        ]
      }
    }
  }
}
```

Updates #200
2017-08-18 22:32:04 +01:00
..
commands Renamed client/commands/proofs to client/commands/query 2017-08-04 20:50:36 +02:00
rest modules/coin/rest: implemented CreateRole 2017-08-18 22:32:04 +01:00
error.go new library orders 2017-07-19 04:51:36 -04:00
handler.go Moved all gas and payment values to uint64 to make sure we are safe here 2017-08-04 14:11:01 +02:00
handler_test.go Moved all gas and payment values to uint64 to make sure we are safe here 2017-08-04 14:11:01 +02:00
middleware.go Handlers and middlewares add gas prices 2017-08-03 21:41:24 +02:00
middleware_test.go Moved all gas and payment values to uint64 to make sure we are safe here 2017-08-04 14:11:01 +02:00
store.go Ported everything to SimpleDB interface 2017-07-27 15:31:33 -04:00
store_test.go fix typo 2017-07-11 13:56:39 +02:00
tx.go First end-to-end role tests 2017-07-12 17:24:12 +02:00