Skip to content

SherLzp/substrate-crowdfunding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

substrate-crowdfunding

This is crowdfunding project based on substrate.

result1

result2

result3

Building

Install Node(10.16.0) and Yarn:

$ curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh -o install_nvm.sh
$ sudo chmod +x install_nvm.sh
$ ./install_nvm.sh
$ source ~/.profile
$ nvm install 10.16.0
# check `node -v` and `npm -v` then
$ npm install yarn -g

Install Rust:

$ curl https://getsubstrate.io -sSf | bash -s -- --fast

Clone the project:

$ git clone https://github.com/SherLzp/substrate-crowdfunding.git

Compile the project:

Substrate Part:

$ cd substrate-crowdfunding/substrate-crowdfunding
$ ./scripts/build.sh
$ cargo build --release

UI Part:

$ cd substrate-crowdfunding/substrate-crowdfunding-ui
$ yarn install

Run

Substrate:

$ cd substrate-crowdfunding/substrate-crowdfunding
$ ./target/release/substrate-crowdfunding --dev

UI:

$ cd substrate-crowdfunding/substrate-crowdfunding-ui
$ yarn run dev

Access via:

http://localhost:8000

Tutorial

If you are interested in the project, you can read the tutorial here:

Substrate-Crowdfunding Tutorial Part1

Substrate-Crowdfunding Tutorial Part2

About

A crowdfunding project based on substrate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages