You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can create Facade (NEM and Symbol) only by a string which is the name of the network available in Network.NETWORKS.
So currently we can create only Facade 'mainnet' or 'testnet'.
problem: facades look up well known networks by name, so custom networks cannot be used
solution: allow facades to be constructed around a network object in addition to a network name
issues: #245, #246
problem: facades look up well known networks by name, so custom networks cannot be used
solution: allow facades to be constructed around a network object in addition to a network name
issues: #245, #246
problem: facades look up well known networks by name, so custom networks cannot be used
solution: allow facades to be constructed around a network object in addition to a network name
issues: #245, #246
Current Behaviour
You can create Facade (NEM and Symbol) only by a string which is the name of the network available in Network.NETWORKS.
So currently we can create only Facade 'mainnet' or 'testnet'.
https://github.com/symbol/symbol/blob/dev/sdk/javascript/src/facade/NemFacade.js#L27
https://github.com/symbol/symbol/blob/dev/sdk/javascript/src/facade/SymbolFacade.js#L62
What's the problem?
SDK user is not able to create a facade for other networks than predefined mainnet and testnet.
Expected Behaviour
SDK users should be able to use SDK for other networks. Not only predefined testnet and mainnet.
The corresponding issue for Python SDK: #245
The text was updated successfully, but these errors were encountered: