remix-project mirror
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
remix-project/apps/quick-dapp/src/remix-client.ts

24 lines
530 B

import { PluginClient } from '@remixproject/plugin';
import { createClient } from '@remixproject/plugin-webview';
import { initInstance } from './actions';
class RemixClient extends PluginClient {
constructor() {
super();
createClient(this);
}
edit({ address, abi, network, name, devdoc, methodIdentifiers, solcVersion }: any): void {
initInstance({
address,
abi,
network,
name,
devdoc,
methodIdentifiers,
solcVersion,
});
}
}
export default new RemixClient();