mimblewimble / grin-web-wallet Goto Github PK
View Code? Open in Web Editor NEWGrin WebUI Wallet
Grin WebUI Wallet
Otherwise you will get an exception (Unable to contact Wallet Server) eventhough the wallet owner api is running.
Those have been implemented starting commit 88616fd341980d4ef408ecd7cc38a52b0a65db41:
http://localhost:13420/v1/wallet/owner/node_height
http://localhost:13420/v1/wallet/owner/issue_send_tx
Also for full install instruction of the web wallet, those will be required to be able to use angular/ng:
sudo apt install ng-common
npm install -g @angular/cli@latest
npm install --save-dev @angular-devkit/build-angular
You also need to run grin wallet info:
./grin wallet owner_api
On 3b9bd71
build fails, with the below error:
ng build
Date: 2018-07-24T16:10:10.277Z
Hash: 2bd0e938a2655b437886
Time: 4896ms
chunk {main} main.js, main.js.map (main) 626 bytes [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 681 bytes [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 5.22 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 141 kB [initial] [rendered]
ERROR in src/app/app.module.ts(27,36): error TS2307: Cannot find module './tx-list-all/tx-list-all.component'.
As we get ready for main net, there's a need to finalise a baseline flow and design for the wallet user interface. These will be dictated by the core use cases that the wallet is expected to handle. We define the user stories to guide a future brief to designers.
# | A | wants to | so they can |
---|---|---|---|
1 | User | build file-based transactions | transact with others |
2 | User | use different wallets from the same client | handle multiple sources of funds |
... |
after having installed npm and angular cli, running ng build
on 3b9bd71
resulted in the following error:
$ ng build
Could not find module "@angular-devkit/build-angular" from "/Users/user/grin-web-wallet"
build-angular appears to be a newly introduced dependency in Angular 6.0, more info can be found in this StackOverflow question .
running the following command fixed it:
cpm install --save-dev @angular-devkit/build-angular
When issuing an api call to the /issue_send_tx
endpoint, things fail with the following output:
Failed to load http://localhost:13420/v1/wallet/owner/issue_send_tx: Request header field Content-Type is not allowed by Access-Control-Allow-Headers in preflight response.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.