Skip to content

blocklet/ai-todo-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

todo-list-example

Launch on Blocklet Server

Launch on Blocklet Server

How to start

Install dependencies

pnpm install
# or npm install
# or yarn install

Start

yarn dev

How to connect with DID Spaces

  • Step 1: Set the 'capabilities.didSpace' field in blocklet.yml to 'requiredOnConnect', see 'blocklet.yml#capabilities'
  • Step 2: To read and write the DID Space, see api/src/routes/todo-list/index.ts#9
  • Step 3: Get data from DID Spaces, see 'src/pages/todo-list.tsx#33'
  • Step 4: Write data to DID Spaces, see 'src/pages/todo-list.tsx#51'

Get help

If you want to learn more about the development of DID Spaces, You can also refer to [DID Spaces development documentation] (https://www.arcblock.io/docs/did-spaces/en/did-spaces-how-to-guides). No matter what you encounter a problem, we welcome you in our official BBS (https://community.arcblock.io/) initiated discussions.