Code Monkey home page Code Monkey logo

payroll-contracts's Introduction

Payroll

Multiple payments and swaps in one transaction

Pre requisits

You will need nodejs version 16 https://nodejs.dev/ And yarn https://classic.yarnpkg.com/lang/en/docs/install/#mac-stable

Create .env using the .env.example and replace for the corresponding values

cp .env.example .env

Then, proceed with installing dependencies:

yarn install

Development

Compile the smart contracts with Hardhat:

$ yarn compile

Linting (EsLint and Solhint)

$ yarn lint

Generate Documentation

$ yarn docgen

Contract Sizes

$ yarn size

Test

Run the Mocha tests:

$ yarn test

Run coverage tests:

$ yarn coverage

Slither

Slither is a source code analyser for solidity, it runs a suite of vulnerability detectors, prints visual information about contract details. First install it using https://github.com/crytic/slither#how-to-install

Then run

$ slither .

Deploy

Deploy the contracts to Hardhat Network:

$ yarn deploy network hardhat

Deploy the contracts to biannce testnet Network:

$ yarn deploy network bscTestnet

Deployments

Mainnet

Ethereum Mainnet: 0x5bCe0AbAbA89e1d0e063978d87CfF2f8f5145942 https://etherscan.io/address/0x5bCe0AbAbA89e1d0e063978d87CfF2f8f5145942

Binance Smart Chain Mainnet: 0xe2EBFC705d473C3dDd52CB49AF0bdE3132E8831e https://bscscan.com/address/0xe2EBFC705d473C3dDd52CB49AF0bdE3132E8831e

Polygon: 0x8441F4b54EC3E641d6144415AB2381315d7BC8Ec https://polygonscan.com/address/0x8441F4b54EC3E641d6144415AB2381315d7BC8Ec

Testnet

Rinkeby: 0x977AfF4027BeFCcB5D5a476c69447382232Ef339 https://rinkeby.etherscan.io/address/0x977AfF4027BeFCcB5D5a476c69447382232Ef339

Goerli: 0xCcFc0d9f6fC18df7F5a1054BeFa84Af2D91C9644 https://goerli.etherscan.io/address/0xccfc0d9f6fc18df7f5a1054befa84af2d91c9644

Binance Smart Chain Testnet: 0x4d995D5B936889B9A26A12B7b48a22A80F226fde https://testnet.bscscan.com/address/0x4d995D5B936889B9A26A12B7b48a22A80F226fde

Telos EVM Testnet: 0xdcF72c0De33a53BACfa7562ab86375e4Fe90bC65 https://testnet.telos.net/v2/explore/evm/address/0xdcf72c0de33a53bacfa7562ab86375e4fe90bc65

RSK Testnet: 0x18c42168D834c99E2e7a368a5Fbf39F5BB32e09D https://explorer.testnet.rsk.co/tx/0x1fa00aeb16c05abe451a37fc42ad6b0736dd136fbb31cfe2c5ac077aafe06fae

Polygon Mumbai Testnet: 0x46c60C1b5f756c8B6AA10A7d838380AD1B5F28BE https://mumbai.polygonscan.com/address/0x46c60C1b5f756c8B6AA10A7d838380AD1B5F28BE

Evmos Testnet: 0x50ebdcAa518D66671Dfd57E027729f3630119Ccf https://evm.evmos.dev/address/0x50ebdcAa518D66671Dfd57E027729f3630119Ccf

payroll-contracts's People

Contributors

djaciel avatar pmprete avatar dependabot[bot] avatar lucas-marc avatar cryptoiner avatar awolfsdorf avatar ignacio-87 avatar rjchirinos avatar

Stargazers

Keyth M Citizen  avatar LPX avatar  avatar  avatar

Watchers

 avatar Alejandro Rothar avatar Lizandro Zerpa 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.