GithubHelp home page GithubHelp logo

zigbalthazar / telewrapped Goto Github PK

View Code? Open in Web Editor NEW

This project forked from paczone/wpac

0.0 0.0 0.0 262 KB

Wrapped Tokens (Teleport Protocol)

License: MIT License

TypeScript 85.27% Solidity 14.73%

telewrapped's Introduction

Wrapped PAC (WPAC) Token

Welcome to the repository for Wrapped PAC (WPAC) token. WPAC is a wrapped token (ERC20) compatible with all EVM blockchains, providing interoperability for PAC tokens across different networks.

Project Overview

WPAC tokens are wrapped tokens of the Teleport Protocol contracts. The token contract is implemented in Solidity and follows the OpenZeppelin Contracts upgradeable pattern. It allows users to bridge PAC tokens from one blockchain to another by locking the tokens in the contract and minting WPAC tokens on the destination chain.

Getting Started

To get started with the project, follow these steps:

  1. Clone this repository to your local machine:

    git clone <repository_url>
  2. Navigate to the project directory:

    cd TeleWrapped
  3. Install dependencies:

    npm install

Available Scripts

In the project directory, you can run the following scripts:

  • npm run node: Starts a local Hardhat node for testing.
  • npm run compile: Compiles the Solidity contracts.
  • npm run clean: Cleans up artifacts, cache, coverage, and typechain files.
  • npm run lint:sol: Lints the Solidity contracts using Solhint.
  • npm run lint:ts: Lints the TypeScript files using ESLint.
  • npm run test: Runs the Hardhat tests.
  • npm run typechain: Generates TypeScript bindings for the Solidity contracts.

Contract Overview

The main contract file is WrappedPAC.sol which implements the ERC20 interface. It also integrates functionalities for bridging PAC tokens from one blockchain to another. The contract is upgradeable and follows the Ownable and Pausable patterns for security and control.

Project Structure

The main project files and directories are structured as follows:

  • contracts/: Contains Solidity contracts.
  • test/: Contains test scripts for the contracts.
  • scripts/: Contains scripts for deployment and testing.
  • artifacts/: Contains contract artifacts generated by Hardhat.
  • package.json: Configuration file for Node.js dependencies and scripts.
  • hardhat.config.js: Configuration file for Hardhat.

License

This project is licensed under the MIT License.


Thank you for using Wrapped PAC (WPAC) Token! If you have any questions or issues, please don't hesitate to contact us. Dezh Technologies

telewrapped's People

Contributors

zigbalthazar avatar kehiy 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.