Skip to content

praiseunite/live-presentation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IC Showcase

This is the list of commands to run to create a new identity & deploy the website on the IC.

  • Create a new identity.
dfx identity new <IDENTITY_NAME>
  • Switch to that new identity.
dfx identity use <IDENTITY_NAME>
  • Show that the balance is 0 ICP.
dfx ledger --network ic balance
  • Get the account-id
dfx ledger account-id 
  • Send 1 ICP to that account (NFID/Plug/Stoic or any wallet)- wait 2 sec for transaction to be completed.
  • Show that the balance has been updated.
dfx ledger --network ic balance
  • Create an empty canister for the cycle wallet. Copy the CANISTER ID for next command.
dfx ledger --network ic create-canister $(dfx identity get-principal) --amount 0.99
  • Deploy the wasm for cycle wallet.
dfx identity --network ic deploy-wallet CANISTER_ID
  • Create an empty canister (with 1T cycles)
dfx canister --network ic create webpage --with-cycles 1000000000000 
  • Build the wasm for the webpage.
dfx build --network ic 
  • Deploy the module inside the canister.
dfx deploy --network ic

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Motoko 100.0%