GitHub |
您所在的位置:网站首页 › eosconnect › GitHub |
EOSconnect
Fork of eosconnect-web by @wehmoen.
A slightly different eosconnect-web fork for the latest EOS API working with SQLite3 and own broadcaster.
Allow users to sign in to your application using their EOS account.
Installation
Clone the repo and run npm installCreate config.js in root folder. Then edit and add: module.exports = { jwt_token: "RANDOM_STRING", postback: "/SOME_POSTBACK_URL", base_url: "https://eosconnec/", api: "https://eos.greymass.com", port: "3000", }; Run npm start DemoA demo implementation can be found at https://eosconnec. API/users/me - Get user profile (require valid access token) TokensTokens are created with JWT, the payload is public. Here is how it look: { "app": "app", "scopes": [ "login" ], "account": "username" }Tokens are valid for 14200 seconds. Libaries nodeJs: @wehmoen/ec-sdk |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |