Ui 2 provider for dapps (#5799)
* Import web3Provider
* Import api
* {Transport,Provider}/Ws -> WsSecure
* PostMessage provider with filters
* PromiseWrapper -> PromiseProvider
This commit is contained in:
@@ -29,5 +29,5 @@ export function createHttpApi () {
|
||||
}
|
||||
|
||||
export function createWsApi () {
|
||||
return createApi(new Api.Provider.Ws('ws://localhost:8546'));
|
||||
return createApi(new Api.Provider.WsSecure('ws://localhost:8546'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user