Supercharge your NFTs with new behaviours and superpowers!

Related tags

MiscellaneousWrapX
Overview

WrapX

Supercharge your NFTs with new behaviours and superpowers!

WrapX is a collection of Wrappers (currently one - WrapXSet) to decorate your NTFs adding new capabilities

NFTs exist outside any chain, smart contracts are just projections/representations/slices which sometimes are limiting their full potential

This means that wrappers allow multiple legitimate representations of NFTs

Wrappers are means to supercharge NFT actions and capabilities

NB: WrapX is currently EXPERIMENTAL and NOT AUDITED/REVIEWED. Do Your Own Research and Use At Your Own Risk.

Use-cases

  1. NFTs can hold other NFTs and execute actions on their own (WrapXSet leveraging NFTSet tech)
  2. ...

How to use

Create an WrapXSet

You will own a new ERC721 with the symbol and the name you specified at tokenId = 0

Deposit assets

Just transfer ERC20, ERC721, ERC1155 and ETH to the desidered WrapXSet address.

Wrap your main NFT

Use setWrappedToken(address tokenAddress, uint256 tokenId), automagically your WrapXSet will inherit all the properties of your original NFT plus the capability to hold other assets and execute transactions.

Withdraw assets

Based on the category of asset you want to withdraw call on your WrapXSet respectively:

  • withdrawERC721(address tokenAddress, uint256 tokenId) or safeWithdrawERC721(address tokenAddress, uint256 tokenId)
  • withdrawERC1155(address tokenAddress, uint256 tokenId, uint256 amount, bytes memory data)
  • withdrawERC20(address tokenAddress, uint256 amount)
  • withdrawETH(uint256 amount)

These methods can be called only by the owner (or the approved spenders).

Transfer ownership

Your WrapXSet is an NFT, technically the owner is the holder of the tokenId = 0. Transfer that id to the new desidered owner and you are done. Transfering a smart-wallet has never been easier!

transferFrom(currentOwner, newOwner, 0)

Use your WrapXSet as a smart wallet

Your WrapXSet add smart-wallet capabilities to your NFT so you can interact with other smart-contracts. You can execute a generic transaction via

execute(
    address to,
    uint256 value,
    bytes memory data,
    bool isDelegateCall,
    uint256 txGas
)

e.g. Your WrapXSet can lend its tokens to Aave or Compound

DISCLAIMER: Approved spenders

As soon as you approve your WrapXSet to someone else, it can not only transfer your WrapXSet but also withdraw the tokens inside of it! Consider carefully when you delegate these rights, it can be useful (e.g. cold/hot wallet) but can be harmful.

Owner
Emiliano Bonassi
Emiliano Bonassi
This is friendlist update tools & old idz clon & follower idz clon etc

This is friendlist update tools & old idz clon & follower idz clon etc

MAHADI HASAN AFRIDI 1 Jan 15, 2022
Paxos in Python, tested with Jepsen

Python implementation of Multi-Paxos with a stable leader and reconfiguration, roughly following "Paxos Made Moderately Complex". Run python3 paxos/st

A. Jesse Jiryu Davis 25 Dec 15, 2022
Pyhexdmp - Python hex dump module

Pyhexdmp - Python hex dump module

25 Oct 23, 2022
En este repositorio pondré archivos graciositos de python que hago de vez en cuando

🐍 Apuntes de python 🐍 ¿Quién soy? 👽 Saludos,mi nombre es Carlos Lara. Pero mi nickname en internet es Hercules Kan. Soy un programador autodidacta

Carlos E. Lara 3 Nov 16, 2021
A module that can manage you're gtps

Growtopia Private Server Controler Module For Controle Your GTPS | Build in Python3 Creator Information

iFanpS 6 Jan 14, 2022
Generating rent availability info from Effort rent

Rent-info Generating rent availability info from Effort rent Pre-Installation Latest version of python Pip module json, os, requests, datetime, time i

Laixuan 1 Oct 20, 2021
A Python script to parse Fortinet products serial numbers, and detect the associated model and version.

ParseFortinetSerialNumber A Python script to parse Fortinet products serial numbers, and detect the associated model and version. Example $ ./ParseFor

Podalirius 10 Oct 28, 2022
Python implementation of the Lox language from Robert Nystrom's Crafting Interpreters

pylox Python implementation of the Lox language from Robert Nystrom's Crafting Interpreters. https://craftinginterpreters.com. This only implements th

David Beazley 37 Dec 28, 2022
Clock in automatically in SCU.

auto_clock_in Clock in automatically in SCU. Features send logs to Telegram bot How to use? pip install -r requirements.txt () edit user_list, token_A

2 Dec 13, 2021
1000+ ready code templates to kickstart your next AI experiment

AI Seed Projects Start with ready code for your next AI experiment. Choose from 1000+ code templates, across a wide variety of use cases. All examples

BlobCity, Inc 98 Jan 03, 2023
A code base for python programs the goal is to integrate all the useful and essential functions

Base Dev EN This GitHub will be available in French and English FR Ce GitHub sera disponible en français et en anglais Author License Screen EN 🇬🇧 D

Pikatsuto 1 Mar 07, 2022
CPython extension implementing Shared Transactional Memory with native-looking interface

CPython extension implementing Shared Transactional Memory with native-looking interface

21 Jul 22, 2022
An Insurance firm providing tour insurance is facing higher claim frequency

An Insurance firm providing tour insurance is facing higher claim frequency. Data is collected from the past few years. Made a model which predicts the claim status using CART, RF & ANN and compare t

1 Jan 27, 2022
A Python 3 client for the beanstalkd work queue

Greenstalk Greenstalk is a small and unopinionated Python client library for communicating with the beanstalkd work queue. The API provided mostly map

Justin Mayhew 67 Dec 08, 2022
personal dotfiles for rolling release linux distros

dotfiles Screenshots: Directions: Deploy my dotfiles with yadm Packages from arch listed in .installed-packages Information on osu! see ~/Games/osu!/.

-pacer- 0 Sep 18, 2022
How to use Microsoft Bing to search for leaks?

Installation In order to install the project, you need install its dependencies: $ pip3 install -r requirements.txt Add your Bing API key to bingKey.t

Ernestas Kardzys 2 Sep 21, 2022
A program to generate random numbers b/w 0 to 10 using time

random-num-using-time A program to generate random numbers b/w 0 to 10 using time it uses python's in-built module datetime and an equation which retu

Atul Kushwaha 1 Oct 01, 2022
Heisenbridge a bouncer-style Matrix IRC bridge

Heisenbridge brings IRC to Matrix by creating an environment where every user connects to each network individually like they would with a traditional IRC bouncer

Toni Spets 152 Dec 28, 2022
A tool that bootstraps your dotfiles ⚡️

Dotbot Dotbot makes installing your dotfiles as easy as git clone $url && cd dotfiles && ./install, even on a freshly installed system! Rationale Gett

Anish Athalye 5.9k Jan 07, 2023
A simply program to find active jackbox.tv game codes

PeepingJack A simply program to find active jackbox.tv game codes How does this work? It uses a threadpool to loop through all possible codes in a ran

3 Mar 20, 2022