All Projects â†’ decentraland â†’ avatar-assets

decentraland / avatar-assets

Licence: other
👔 Collection of 3D models for Decentraland avatars

Programming Languages

typescript
32286 projects

Decentraland Avatar Assets

This repository contains the supporting assets for avatars in the Decentraland world.

Getting Started

  • Install Node dependencies
npm install
  • Create a file containing a keypair of the Ethereum address and private key to deploy to the content server.
{
    "ethAddress": "...",
    "privateKey": "..."
}

Deploy to Content Server

ℹī¸ This script will generate a new entity every time the script is run

⚠ī¸ If you are deploying new base wearables please be sure that its urn is in https://github.com/decentraland/catalyst/blob/master/lambdas/src/apis/collections/off-chain/base-avatars.ts

How to Use

npm run deploy generates the new assets and deploys them to the specified content server.

It needs the following arguments to be passed:

  • --identityFilePath: file path to the key/address pair to sign the messages for the content server validation.
  • --target: the target URL of the content server where the assets will be deployed.
  • --id: id of the assets to be deployed. It allows wildcards to specify multiple assets. Examples: * or dcl://base-avatars/*.

Examples

Deploy a Specific Asset to a Content Server

npm run deploy -- --identityFilePath "/path/to/admin/key/file" --target "https://peer.decentraland.zone" --id "dcl://base-avatars/BaseMale"

Deploy Multiple Assets to a Content Server

npm run deploy -- --identityFilePath "/path/to/admin/key/file" --target "https://peer.decentraland.zone" --id "dcl://base-avatars/BaseFemale" --id "dcl://base-avatars/BaseMale"

Deploy all Base Avatars to a Content Server

npm run deploy -- --identityFilePath "/path/to/admin/key/file" --target "https://peer.decentraland.zone" --id "dcl://base-avatars/*"

Deploy all Files to a Local Server

ℹī¸ A running local server is necessary to test this.

npm run deploy -- --identityFilePath "/path/to/admin/key/file" --target "http://localhost:6969" --id "*"
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].