Coder Social home page Coder Social logo

NEP-5 Token Contract API about neow3j HOT 2 CLOSED

neow3j avatar neow3j commented on June 8, 2024
NEP-5 Token Contract API

from neow3j.

Comments (2)

gsmachado avatar gsmachado commented on June 8, 2024

So, just adding more details about this issue:

High-level description:

  • Implement the functionality described on #70.

Detailed description:

  • Implement a wrapper class, like the ones implemented here or here.
  • The wrapper class can be called "NEP5", where it needs to expose the same methods as described in the NEP-5 standard.
  • Therefore, every time users call methods like .balanceOf() or .transfer(), the NEP5 class will internally either call the invoke RPC method or build a ContractInvocation object and perform the call to the given contract.
  • The contract address/scripthash should be mandatory in order to construct the NEP5 class and start interacting with the contract

from neow3j.

Priyanshu-soni avatar Priyanshu-soni commented on June 8, 2024

NEP3j lib is now updated for NEP-5 token contracts API, so we can now use The wrapper class "NEP5" with same methods as described in the NEP-5 standard

from neow3j.

Related Issues (20)

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.