Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096| Hey, I'm jimmychu0807-898091 and I have contributed to the Semaphore V4 Ceremony. | |
| The following are my contribution signatures: | |
| Circuit # 1 (semaphorev4-1) | |
| Contributor # 136 | |
| Contribution Hash: | |
| 02b0bc08 ee92a2a8 c030b5fb c2059263 | |
| 36c4f5c9 210366d3 044c958d 64fea3f9 | |
| 88a4debe a73b7ee5 03e8c38a 1c2bc722 | |
| 42b93baa 956c6ca4 e148becf 30491f59 | 
| const accountPair = keyring.getPair(accountAddress); | 
| target/release/node-template purge-chain --dev | |
| //... | |
| import { SubstrateContextProvider, useSubstrate } from './substrate-lib'; | |
| import { DeveloperConsole } from './substrate-lib/components'; | |
| //... | |
| function Main() { | |
| const [accountAddress, setAccountAddress] = useState(null); | |
| const { apiState, keyring, keyringState } = useSubstrate(); | |
| const accountPair = | |
| accountAddress && | 
| api.query.<pallet_ๅๅญ>.<pallet ๅญๅฒๅๅญ>(ๅ่ชฟๅฝๆธ) | 
| const val = await api.query.templateModule.something(); | 
| { | |
| ..., | |
| "CUSTOM_TYPES": { | |
| "Price": { | |
| "dollars": "u32", | |
| "cents": "u32", | |
| "currency": "Vec" | |
| }, | |
| } | |
| } | 
| // This module's storage items. | |
| decl_storage! { | |
| trait Store for Module as TemplateModule { | |
| Something get(fn something): Option; | |
| } | |
| } | 
| # -- ๅฎ่ฃ NodeJS v12 (https://nodejs.org/en/download/), | |
| # ๅ yarn ๅทฅๅ ท (https://classic.yarnpkg.com/en/docs/install) | |
| # -- ไธ่ผ Substrate ๅ็ซฏๆจก็ไธฆ่ท่ตทไพ | |
| cd .. | |
| git clone https://github.com/substrate-developer-hub/substrate-front-end-template front-end-template | |
| cd front-end-template | |
| yarn install | |
| yarn start |