Git Product home page Git Product logo

sto_project's Introduction

near-sto-Project-T.rusT

image This project is for the NCD program.

STO Project Goal

Key features

NFT Contract

  • fn nft_mint => Register assets to NFT and input information.

image

  • fn nft_approve => Register assets to the market and input the number of tokens to divide the assets and their price.

image

Market Contract

  • fn nft_on_approve => Register assets to the market and input the number of tokens to divide the assets and their price. called by NFT contract

image

  • fn buy_token => Purchase of assets that have been divided into each token.

image

  • fn sell_token => Sell of assets that have been divided into each token.

image

Unit Test

Unit test to confirm NFT registration on the market.

image

How to use

  1. contract build & deploy
    • nft contract deploy && fn new_default_meta call
    • market contract deploy && fn new call
  2. mint NFT to register a asset
  3. approve NFT to market
  4. now, you can buy asset tokens and sell asset tokens

Next Step

  1. Plan to use Oracle to allow only whitelisted accounts to trade.
  2. Plan to allow price fluctuations triggered by Oracle to make it possible to change the price of assets.

The reference documents

sto_project's People

Contributors

donggichae avatar kcy-g avatar seon-2 avatar

Stargazers

 avatar

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.