wharfkit / session

Create account-based sessions, perform transactions, and allow users to login using Antelope-based blockchains.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add method to `Session` that allows changing the API endpoint

aaroncox opened this issue · comments

Currently once a Session exists, the client property on it is fixed to use whatever API endpoint the readonly chain property on the Session has. For applications that want to change API endpoints or allow users to do so, they currently need to recreate the Session.

Additional context from Telegram conversation here: https://t.me/wharfkit/1207

Thats good, also maybe supporting array of endpoints with failover and auto selection based on availability/supported_features/latency