Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI Pass #53

Open
wants to merge 5 commits into
base: feature/v0.1.0-RC1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions components/FabricBridge.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ class FabricBridge extends FabricComponent {
}
}, this.settings);

console.log('bridge settings:', this.settings);

this.remote = new Remote({
host: this.settings.host,
port: this.settings.port,
Expand Down Expand Up @@ -126,6 +124,13 @@ class FabricBridge extends FabricComponent {
);
}

async _handleRemoteReady () {
this._syncState();
console.log('Remote ready!');
const balances = await this.executeMethod('btc_getbalances');
console.log('balances:', balances);
}

async send (message) {
return this.remote.send(message);
}
Expand Down
15 changes: 15 additions & 0 deletions components/FabricKeyList.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,21 @@ import React, {
Component
} from 'react';

// Components
import {
Button,
// Card,
// Container,
Header,
Icon,
Input,
// Grid,
// Label,
// Menu,
Segment,
Table
} from 'semantic-ui-react';

import * as Actor from '@fabric/core/types/actor';
import FabricKeyManager from './FabricKeyManager';

Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion reports/install.log
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$ npm i

added 1991 packages, and audited 1992 packages in 2m
added 1987 packages, and audited 1988 packages in 1m

152 packages are looking for funding
run `npm fund` for details
Expand Down