medibloc / panacea-core

MediBloc Blockchain Core
https://medibloc.com
Other
60 stars 19 forks source link

Add CLI: `panacead jwt ...` #558

Closed youngjoon-lee closed 1 year ago

youngjoon-lee commented 1 year ago

For example,

panacead jwt issue --from key-1 --expiration 1h

You can find a code snippet for creating a JWT from https://github.com/medibloc/panacea-oracle/blob/7c2eb368e1db299e25298975f772cd1e9aa699b4/server/middleware/auth_test.go#L108