anmolnetwork / anmol-node Goto Github PK
View Code? Open in Web Editor NEWSubstrate Node for Anmol Network
Home Page: https://anmol.network
License: GNU Affero General Public License v3.0
Substrate Node for Anmol Network
Home Page: https://anmol.network
License: GNU Affero General Public License v3.0
Configure Github Actions to run tests and trigger Docker Hub to build and publish the node Docker image. The destination image name should be anmolnetwork/node
.
Description
I tried to run the node locally but I not possible, already reported here but the fix is not included in this repo: substrate-developer-hub/substrate-node-template#179
Steps to Reproduce
Pull this repo and execute: cargo check
Expected vs. Actual Behavior
What did you expect to happen after you followed the steps you described in the last section? What
actually happened?
Environment
Describe the environment in which you encountered this bug. Use the list below as a starting point
and add additional information if you think it's relevant.
rustup show
):Logs, Errors or Screenshots
Everything is included here: substrate-developer-hub/substrate-node-template#179
By default it is Unit, change it to ANMO
We need to support NFT's. To do so we would integrate ORML NFT pallet - https://github.com/open-web3-stack/open-runtime-module-library/tree/master/nft
React Repo initiation for Ibtida.
off-chain indexing
to save NFT's pending queue in off-chain storage
NftPendingQueue
with off-chain storageWe need to figure out a mould breeding concept.
Here is a crypto kitties genome mapping - https://medium.com/newtown-partners/cryptokitties-genome-mapping-6412136c0ae4
Add a BABE pallet on the substrate node
Simple overview:
Utility method to simplify http communication
fn make_request<T: MouldParam + NftParam etc>(type: Enum POST/GET, base_url: Vec<u8>, params: T)
Useful links:
Crypto kitties genome mapping
https://medium.com/newtown-partners/cryptokitties-genome-mapping-6412136c0ae4
Motivation
Rust provides a code linting and formating tool to keep the code style consistent. Although it's configured (to some extent) according to our coding guidelines, the files in the project are not formated using it, which causes a huge diff if a developer wants to run it.
Suggested Solution
We should confirm if the current configuration is enough or if there is any update required, and reformat all files in the project.
.rustfmt.toml
according to the code guidelinesfrontend <-> substrate
communication.Simplest way to build a POC is to use Substrate front end template https://github.com/substrate-developer-hub/substrate-front-end-template
Question
Hello, what is the development stage of this project? is it still active?
Question
Hello,
I saw in your NFT pallet that you're using the type u8 for percentage. How would you deal with percentages of 12.3% for example?
or another case: when the minter (owns 100%) wants to distribute the NFT's fractions to the buyers, based on their contributions (let's say 50.2% and 49.8%): How do you prevent the buyers to get the same percentage, while one contributed more than the other? shouldn't you use the type f32 instead?
Sorry if my question is "dumb", but I'm a rust beginner.
Thanks in advance for your answer.
Kazu
for the pallet just make a blank pallet called kitties-pallet
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.