LogoLogo
▼ Other Resources
  • 🏠Atsign Docs
  • atPlatform
    • atSign
    • atRecord
  • atSDK
    • Get Started
    • Authentication
    • atKey Reference
    • CRUD Operations
    • Notifications
    • Additional Features
      • Synchronization
      • Connection Hooks
  • Infrastructure
  • 🗒️Tutorials
    • Dart atSDK Walkthrough
      • Using the atSDK with Dart
      • Get sample code
      • Cutting your atSigns keys
      • Put and Get data asynchronously
      • Send and Receive data synchronously.
      • Remote Procedure Calls (RPC)
      • atTalk - Encrypted chat client
  • Related pages
    • Main site
    • atProtocol specification
    • atSign Registrar
    • NoPorts
Powered by GitBook

© 2025 Atsign

On this page
  • Open Source on GitHub
  • Clone the demo repo
  • Open at_getting_started
Export as PDF
  1. Tutorials
  2. Dart atSDK Walkthrough

Get sample code

PreviousUsing the atSDK with DartNextCutting your atSigns keys

Last updated 9 months ago

Open Source on GitHub

The atPlaform and the atSDKs are all open souce and the code can be found on GitHub and downloaded from . But we will start with some easy sample code to show how data can be shared and notifications can be sent between atSigns. These are the basic building blocks for powerful applications like and graphical applications like , both of which are also opensource so you can see the code in action.

Clone the demo repo

In VS Code you can click "Clone Git Repository" and enter the URL

https://github.com/atsign-foundation/at_demos.git

This will copy down all the sample code from GitHub to the directory you select. VS Code will ask you if you want to open the directory you just downloaded and say no. We will pick the one directory we need in the next step.

Open at_getting_started

Click the Open Folder selection and go to the directory you selected and then at_demos then finally select the at_getting_started directory, then click "select folder". You might get a pop up asking if you trust the authors and if you trust us say yes!

At this point you will have the demo code in the IDE and probably see a bunch of red files, meaning something is wrong with them.

VS Code if you have the Dart plugin installed will ask if you want to run pub get you can safely say yes.

Next you can open a terminal session from the VS Code menu, and you will get a window with a prompt. At that prompt you can type the following two commands to pull down the required libraries.

dart pub get
dart pub update

Once you have run those commands in the terminal window all the red text will have gone and we are ready to run some code.

🗒️
Atsign Foundation
SSH No Ports
atmospherePro
Clone code from GitHub
dart pub get
Ready to run.