GithubHelp home page GithubHelp logo

deernetwork / deer-node Goto Github PK

View Code? Open in Web Editor NEW
86.0 15.0 20.0 8.4 MB

Official Rust implementation of the Deer protocol

License: Apache License 2.0

Rust 98.69% Shell 0.46% Handlebars 0.75% Dockerfile 0.10%
substrate polkadot blockchain nft storage deer

deer-node's Introduction

Deer Network

Native Build

Setup

Sync submodule

git submodule update --init

Setup rust enviroment and substrate dependencies

bash ./scripts/setup.sh

Build

cargo build --release

Run

Use Rust's native cargo command to build and launch the template node:

./target/release/deer-node --dev --tmp

External Resources

deer-node's People

Contributors

sigoden 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  avatar

Watchers

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

deer-node's Issues

Class owner reserved nft metadata storage fee

Motivation

In the current design, the nft owner reserved the nft metadata storage fee. The new design will be changed to class owner reserved fees.
In this way, the process of nft transfer will be changed.
No need for ready_transfer, cancel_transfer, accept_transfer. You can directly transfer to the target account.

Upgrade storage pallet

  • Fixed renew price
  • Use formulas to convert storage space into power
  • Unexpected file deletion penalty

Add nft auctions

Motivation

Auctions can be an exciting way to sell NFT.

Suggested Solution

We would like to provide two types of auctions

  1. English auctions: where the highest bid wins at the end
  2. Dutch auctions, where the price falls until someone purchases.

Add royalties to nft instance

Motivation

NFTs can be programmed so that each transaction includes royalties, allowing creators to be rewarded fairly for their work online.

The fact that NFTs are created and stored on the blockchain, means they can be traded seamlessly from wallet to wallet, with royalties paid every time they move.

It's necessary to add royalties to nft instance.

Suggested Solution

pub struct InstanceDetails<AccountId, DepositBalance> {
	/// The owner of this asset.
	pub owner: AccountId,
	/// The total balance deposited for this asset class.
	pub deposit: DepositBalance,
	/// Whether the asset can be reserved or not.
	pub reserved: bool,
	/// set transfer target
	pub ready_transfer: Option<AccountId>,
+       /// charge royalty
+	pub royalty_rate: PerU16,
+	/// Royalty beneficiary
+	pub royalty_beneficiary: AccountId,
}

Burn a certain amount of nft trade fee

Motivation

There is zero cost for nft order trade, and it is easy for users to forge transaction records. So it is necessary to burn a certain amount of trade fee.

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.