Skip to content

crypto-coders-au/wizard-of-oz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README for Wizard of Oz

Welcome to the Wizard of Oz, a TypeScript and Node.js project that demonstrates how to execute token swaps and non-fungible token (NFT) transactions on a blockchain system. In this project, we provide three examples to guide you through the process of performing three transactions.Prerequisites

Before you can run the Wizard of Oz project, you will need to have the following tools installed on your system:

  • Node.js
  • Yarn

Installation

To get started, please follow the steps below:

Clone the repository using the following command:bash

git clone https://github.com/crypto-coders-au/wizard-of-oz.git

Navigate to the project directory:bash

cd wizard-of-oz

Install the project dependencies:

yarn install

Usage

The Wizard of Oz project comes with three examples that demonstrate how to execute token swaps and NFT transactions. Please follow the instructions below to run each example:

Token Swap

In this example, a user swaps 5 of token A for 1 of token B from the system wallet.

To run this example, execute the following command:

yarn swap

Burn NFT Transaction

In this example, a user burns a valid NFT from a collection for a fixed reward of 10 of token B.

To run this example, execute the following command:

yarn burn

Note: This instruction will fail because you don't have an NFT from the valid collection to burn.

Paid Update NFT Transaction

In this example, a user has to pay 10 of token A to update a trait on their NFT.

To run this example, execute the following command:

yarn update

Support

If you have any questions or encounter any issues while using the Wizard of Oz project, please feel free to ask for help on our Discord channel:

We will be happy to assist you.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published