├── .gitignore ├── renderer.js ├── README.md ├── package.json ├── LICENSE ├── styles.css └── main.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | 3 | -------------------------------------------------------------------------------- /renderer.js: -------------------------------------------------------------------------------- 1 | // This file is required by the index.html file and will 2 | // be executed in the renderer process for that window. 3 | // All of the Node.js APIs are available in this process. 4 | 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # FakeTransaction 2 | 3 | 4 | 1. BTC Wallets 5 | 6 | - Wallet : 7 | 1) 17xBK3wWCJstQ1dCDcRDh6F3QgmE68kdkd 8 | 2) 1Jrm6GLvVyqf7yCCSyfV9ZABfakBS7RVZW 9 | 10 | - Purpose 11 | I just create those two BTC wallets which are recognize in blockchain network. 12 | We will be test transaction between two wallet address while testing. 13 | 14 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "txGenerator", 3 | "version": "1.0.0", 4 | "description": "Create fake transaction in blockchain network.", 5 | "main": "main.js", 6 | "scripts": { 7 | "start": "electron ." 8 | }, 9 | "repository": "https://github.com/electron/electron-quick-start", 10 | "keywords": [ 11 | "Electron", 12 | "Blockchain", 13 | "Bitcoin", 14 | "Fake Transaction", 15 | "Desktop App" 16 | ], 17 | "author": "GitHub", 18 | "license": "CC0-1.0", 19 | "devDependencies": { 20 | "electron": "^5.0.0" 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 FavyTeam 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /styles.css: -------------------------------------------------------------------------------- 1 | #terminal { 2 | margin-top : 5px; 3 | margin-left: 20px; 4 | margin-right: 20px; 5 | margin-bottom: 20px; 6 | background-color: rgba(0, 0, 0, 0.9); 7 | color: #00ff1e; 8 | font-family: Inconsolata, monospace; 9 | height: 300px; 10 | width: 90%; 11 | position: absolute; 12 | padding: 10px; 13 | border-radius: 5px; 14 | box-shadow: 0 0 10px black; 15 | line-height: 15px; 16 | word-wrap: break-word; 17 | text-shadow: 0 0 5px #00ff1e; 18 | /* overflow: hidden; */ 19 | overflow-y: scroll; 20 | -webkit-animation-fill-mode: forwards; 21 | } 22 | 23 | @-webkit-keyframes off { 24 | 10% { 25 | background-color: rgba(255, 255, 255, 0.9); 26 | } 27 | 20% { 28 | width: 500px; 29 | height: 1px; 30 | top: 198px; 31 | left: 0; 32 | } 33 | 50% { 34 | width: 10px; 35 | height: 10px; 36 | top: 198px; 37 | left: 245px; 38 | box-shadow: 0 0 10px white; 39 | background-color: white; 40 | } 41 | 98% { 42 | width: 10px; 43 | height: 10px; 44 | } 45 | 100% { 46 | top: 198px; 47 | width: 0; 48 | height: 0; 49 | left: 245px; 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /main.js: -------------------------------------------------------------------------------- 1 | // Modules to control application life and create native browser window 2 | const {app, BrowserWindow} = require('electron') 3 | 4 | // Keep a global reference of the window object, if you don't, the window will 5 | // be closed automatically when the JavaScript object is garbage collected. 6 | let mainWindow 7 | 8 | function createWindow () { 9 | // Create the browser window. 10 | mainWindow = new BrowserWindow({ 11 | width: 800, 12 | height: 700, 13 | webPreferences: { 14 | nodeIntegration: true 15 | } 16 | }) 17 | 18 | // and load the index.html of the app. 19 | mainWindow.loadFile('index.html') 20 | 21 | // Open the DevTools. 22 | // mainWindow.webContents.openDevTools() 23 | 24 | // Emitted when the window is closed. 25 | mainWindow.on('closed', function () { 26 | // Dereference the window object, usually you would store windows 27 | // in an array if your app supports multi windows, this is the time 28 | // when you should delete the corresponding element. 29 | mainWindow = null 30 | }) 31 | } 32 | 33 | // This method will be called when Electron has finished 34 | // initialization and is ready to create browser windows. 35 | // Some APIs can only be used after this event occurs. 36 | app.on('ready', createWindow) 37 | 38 | // Quit when all windows are closed. 39 | app.on('window-all-closed', function () { 40 | // On macOS it is common for applications and their menu bar 41 | // to stay active until the user quits explicitly with Cmd + Q 42 | if (process.platform !== 'darwin') app.quit() 43 | }) 44 | 45 | app.on('activate', function () { 46 | // On macOS it's common to re-create a window in the app when the 47 | // dock icon is clicked and there are no other windows open. 48 | if (mainWindow === null) createWindow() 49 | }) 50 | 51 | // In this file you can include the rest of your app's specific main process 52 | // code. You can also put them in separate files and require them here. 53 | --------------------------------------------------------------------------------