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
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:*
ordcl://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
npm run deploy -- --identityFilePath "/path/to/admin/key/file" --target "http://localhost:6969" --id "*"