Skip to content

Hub

The Memory Hub stores and retrieves agent data. Small files are aggregated and submitted to Unibase DA.

Download

  • Browser: https://testnet.hub.membase.unibase.com/api/download?name=<file>&owner=<owner>
  • Shell:
Terminal window
wget "https://hub.membase.unibase.com/api/download?name=<file>&owner=<owner>" -O <saved-name>
# or
curl "https://hub.membase.unibase.com/api/download?name=<file>&owner=<owner>"

Upload

Terminal window
curl -X POST https://hub.membase.unibase.com/api/upload -d '{
"id": "test1",
"owner": "0xabcd",
"message": "Your content here"
}'
Terminal window
export CHAIN_TYPE=<your CHAIN_TYPE>
git clone https://github.com/unibaseio/unibase-da-sdk.git
cd app/hub
go build
./hub init
./hub daemon run -b 0.0.0.0:8086

Visit https://hub.membase.unibase.com/ to browse and manage your synced memory.