✍️
Technology Initiative Tracking
  • Solid POD
  • Distributed Consensus
  • Ethereum 2
  • Docker
  • MAC Tips & Tricks
  • Arduino
  • Raspberry Pi
  • ZenCode
  • WASM
  • Substrate Framework
    • Substrate Runtime Developer Academy Course
  • Cryptography
  • Polkadot
    • Chains Actors - Who they are?
    • Crowdloan & Parachain Auctions
  • eIDAS DSS Lib
  • Dfinity
  • NFT
  • reCaptcha
  • Kubernetes
    • K8S Lab on Mac m1
Powered by GitBook
On this page
  • Background
  • Setup
  • Your First Prog

Was this helpful?

Dfinity

PreviouseIDAS DSS LibNextNFT

Last updated 4 years ago

Was this helpful?

Background

Relevant URL:

  • Install:

  • Quick Start:

  • SDK Developer Tools:

  • Motoko Language Guide:

  • Motoko Quick Reference:

Setup

Look at :

// Installing the SDK Kit
$ sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)"
// installed on Installed /usr/local/bin/dfx

// Check the version is well installed
$ dfx --version

// Access to the help CLI
$ dfx --help

Your First Prog

$ dfx new hello

// Open a CLI, go on the Project Directory
// Start the Internet Computer locally
$ dfx start

// check that all npm module are install in your projec direcoty
$ npm install

// Register, build, and deploy your first application on the local Internet Computer
$ dfx deploy

// Launch the app:
// Call the hello canister and the predefined greet function
// This example uses the dfx canister call command to pass "everyone" as an argument to the greet function.
$ dfx canister call hello greet everyone
// ==> ("Hello, everyone!")

To run the Web Application:

https://dfinity.org
https://sdk.dfinity.org/docs/quickstart/local-quickstart.html
https://sdk.dfinity.org/docs/quickstart/quickstart-intro.html
https://sdk.dfinity.org/docs/developers-guide/sdk-guide.html
https://sdk.dfinity.org/docs/language-guide/motoko.html
https://sdk.dfinity.org/docs/language-guide/language-manual.html
https://sdk.dfinity.org/docs/quickstart/local-quickstart.html
http://127.0.0.1:8000/?canisterId=ryjl3-tyaaa-aaaaa-aaaba-cai