1.0.0 • Published 11 months ago

@xaya/eth-delegator-contract v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

Xaya Accounts Delegation

The Xaya platform on EVM chains (e.g. Polygon) is based on an ERC-721 contract implementing Xaya accounts. This contract is by design very basic and mostly non-upgradable, to ensure decentralisation and trustlessness of the platform to a maximum.

The contract supports basic "delegation" of the right to make moves on behalf of some account, though, through ERC-721 approvals. This repository contains an extension contract, which is meant to be given approval, and which then implements more advanced delegation features on top of the base contract.

It enables native meta transactions for sending moves from accounts without gas (improved UX, temporary addresses), selective delegation of the right to send moves (e.g. restricted to particular games or even types of moves) and more.

Full details can be found in the design doc.

Audit

This contract has been audited by Solidified at version 1.0.0. The report is checked in and can be found in their repository as well.

Deployment

We have deployed the contract on the following networks:

NetworkAddress
Polygon0xEB4c2EF7874628B646B8A59e4A309B94e14C2a6B
Mumbai0xD5fd31CfD529498B1668fE9dFa336c475AC57C76

The deployment was based on commit 6395df328834632154e837199fb62e11896e3de4, which has the same smart-contract code that was audited and is in version 1.0.0.