Giter Club home page Giter Club logo

crypto-union's Introduction

Crypto Union APP

This project was generated using Nx.

The main purpose is to transfer Ethers from you Metamask Ethereum Wallet to another Wallet Account using Ethereum Blockchain

App is deployed and ready to be used on link: https://crypto-union.netlify.app/

Pre-requirements to run on localhost the app

  1. Run yarn install from root folder and yarn install from smart-contract folder

  2. Get a Goerli APP API_KEY from https://dashboard.alchemyapi.io/

  3. Get MetaMask Wallet Private Keys. You can download the wallet from here https://metamask.io/download/

  4. Get free Ethers for testing. You can get them from here https://goerlifaucet.com/

  5. Once you have the Goerli APP API_KEY and MetaMask installed, you need to fill the missing data in ./smart-contract/hardhat.config.ts

  1. Deploy the smart contract from smart-contract/contracts/Transactions.sol running from root the command yarn --cwd smart-contract deploy

if everything is successful in the command line you will see a deployment number, this is the contract address where de contract was deployed inside the Ethereum Blockchain.

  1. You need to take this value and replace the variable process.env['NX_CONTRACT_ADDRESS'] in apps/client/src/app/context/TransactionsContextProvider.tsx for the deployed contract address

Development server

Run nx serve client for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Build

Run nx build client to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run nx test client to execute the unit tests via Jest.

Run nx affected:test to execute the unit tests affected by a change.

Running end-to-end tests

Run nx e2e client to execute the end-to-end tests via Cypress.

Run nx affected:e2e to execute the end-to-end tests affected by a change.

Understand your workspace

Run nx graph to see a diagram of the dependencies of your projects.

Further help

Visit the Nx Documentation to learn more.

crypto-union's People

Contributors

techednelson avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.