GithubHelp home page GithubHelp logo

erc725's Introduction

ERC725

The ERC725 project implements the ERC725 standard, serving as a generic executor and key-value store. This repository includes the ERC725X executor, ERC725Y will be added soon. The AA repository uses ERC725X and ERC725Y as a base for an account based contract.

Goals of the Project

The primary goals of the ERC725 project are to:

  • Explore Function Call Encoding with ethers.js: The project dive into the encoding of function calls using ethers.js. The execute functions uses bytes to execute functions on other addresses, which makes the understanding of the encoding process essential.

  • Understand Delegatecall with Practical Examples: The project provides practical examples of using delegatecall. By employing delegate calls to mock contracts, the project showcases how changes written within a delegate-called contract affect the caller contract. These examples contribute to a better understanding of the delegatecall mechanism.

Technicalities of the Project

  • Ether.js Tests Organization: The project organizes its unit tests using the describe and it blocks within ethers.js, enhancing the readability and structure of the test suite.

  • Usage of Array Functions: The project employs array functions to enhance code readability and maintainability, making the codebase more efficient.

Installation

Cloning the Repository

You can clone the repository and install its dependencies to start using the provided smart contracts.

$ git clone https://github.com/0xAdnanH/ERC725.git
$ cd ./ERC725
$ npm install

Instructions

Compile

To Compile the contract run:

$ npx hardhat compile

Tests

To run the unit tests:

$ npx hardhat test

erc725's People

Contributors

0xadnanh avatar dependabot[bot] avatar

Watchers

 avatar

Forkers

dashbaord202401

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.