Git Product home page Git Product logo

avatar-assets's Introduction

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 "*"

avatar-assets's People

Contributors

shibuyamartin avatar katherinejoelle avatar eordano avatar madrex avatar nachomazzara avatar agusaldasoro avatar ydobonnobody avatar nicosantangelo avatar abarmat avatar 0xjuancito avatar takjohn avatar moliva avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.