Install the required Node modules (only needed the first time).
npm install
Start the replica, then build and install the canisters.
dfx start --background
dfx canister create --all
dfx build
dfx canister install --all
Open the URL printed by following command in your web browser. (http://127.0.0.1:8000/?canisterId=*******************)
echo "http://localhost:8000/?canisterId=$(dfx canister id nnsexplorer_assets)"
This demo runs Internet Computer as a canister with mock data for DFINITY NNS(Network Nervous System), but it's still a WIP. It shows informations about the system(now mock data), and you can use it to do delegation, withdraw rewards, and even to become a neuron and earn rewards. To start or stop the simulation for running with mock data, use following commands:
dfx canister call nnsexplorer_sim start // Start simulation
dfx canister call nnsexplorer_sim stop // Stop simulation