1

Can we run a substrate full node(where all pallets are implemented) instead of starting with substrate-node-template ?

  • of course. if you are going to build a parachain, pls start with this, https://substrate.dev/cumulus-workshop/ – Clark Lee Jul 23 '21 at 08:28
  • @ClarkLee no not a para chain a standalone chain... The reason y i have asked this question is after cloning substrate-node-template i am getting lot of errors while implementing pallets. So , I thought that if I clone full node I will get all the pallets implemented. – Makam Aravind Jul 27 '21 at 04:14
  • ok. if parachain, started from cumulus. if standalone, start from what Swader said. careful about which version you are building, I recommend the latest tag, monthly-2021-08. From my experience, most errors came from the wrong version or the unmatched rust version. – Clark Lee Aug 03 '21 at 02:49

2 Answers2

0

Yes, just compile and run substrate, not substrate-node-template: https://github.com/paritytech/substrate - this has basically all the pallets built in.

Swader
  • 11,387
  • 14
  • 50
  • 84
  • i have cloned that and got an error while running cargo build --release command. error[E0557]: feature has been removed
    --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/environmental-1.1.2/src/lib.rs:42:43 | 42 | #![cfg_attr(not(feature = "std"), feature(const_fn))] | ^^^^^^^^ feature has been removed | = note: split into finer-grained feature gates
    – Makam Aravind Jul 27 '21 at 04:08
  • Please make an issue on the repo – Swader Jul 28 '21 at 07:55
0

I think you're after node rather than node-template:

https://github.com/paritytech/substrate/tree/master/bin/node

Squirrel
  • 1,189
  • 12
  • 15