Giter Club home page Giter Club logo

casper-nft-cep47's Introduction

The NFT Standard on Casper (CEP-47)

CEP-47 is the NFT standard for the Casper blockchain, defining a minimum interface contract code should implement to manage, own, and trade unique tokens on the Casper Network.

The Casper NFT standard takes full advantage of unforgeable references to store values and manage permissions to them. It also takes advantage of other access control features (such as groups). We recommend exploring the main functions of the contract to understand the standard further.

The equivalent NFT standard on Ethereum is ERC-721.

For more information on contract implementation and sending the contract to the network, visit the CEP-47 Basic Tutorial, an illustrated guide on implementing, deploying, and testing a sample Casper NFT contract.

Visit the Contract Interaction and Events Tutorial to get more details about emitting and monitoring contract events.

casper-nft-cep47's People

Contributors

buddhika-pathirathna avatar deuszex avatar euanmcf-cl avatar hoffmannjan avatar ipopescu avatar sacherjj avatar tomvasile avatar zeusmonkey avatar zie1ony avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

casper-nft-cep47's Issues

Marketplace Contract finalization

The purpose of this contract is to allow to sell CEP47 tokens.

It should allow to:

  • create a new offer with values. It should create a offer_id matched to the offer:

    • price [CSPR]
    • auction object [URef]
    • Seller [PublicKey]
    • auction name [String]
  • buy the URef:

    • purse with the CSPR [URef]
    • offer_id [u64]
  • cancel the offer:

    • offer_id [u64]
    • seller [PublicKey]

CEP47MarketPlaceClient [account context]:
- make_offer - detach given token_id and put on the sale.
- buy - buy the URef and attach it to the account
- cancel - cancel offer and attach it the the account.

add revoke approval

We need an explicit way to revoke approval. Add a new entry point that takes a vector and revokes approval.

May need client work - Ryo can do that

Make cep47 a library and add example implementation.

Add example-token crate that show how to use cep47 as library.

It should present how to:

  • override one of the CEP47 endpoints. Override the name endpoint to always return a name in the format:
    • [CEP47] <name>
  • add a new endpoint. Add change_name that allows to change a name.
  • show how to tests only the name and and change_name. If the name is changed to example-nft then name endpoint should return [CEP47] example-nft. This test should be implemented as a WASM file.

How to pass meta as session-arg

Hi, Can you please explain to me how i can deploy the contract,
I can not pass Meta as type for --session-arg "meta:Meta='' " ,
can you please give me an example of deploying this contract to the Network?
It would be a great help to me if you provide me this information as soon as possible (I need it for my pre-hiring job task)

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.