npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@bosonprotocol/boson-dcl

v2.2.7

Published

Boson Protocol - Decentraland library v2

Downloads

2,243

Readme

banner

Boson Protocol Metaverse Toolkit - Decentraland Library

This repo provides the first instance of the Boson Protocol Metaverse Toolkit. This will allow scene builders, in Decentraland, the ability to add a Boson Kiosk to their scene, that will allow potential buyers to buy Boson rNFTs directly from the Metaverse, interacting directly with the Boson Protocol on Polygon.

Index

Using boson-dcl in your decentraland scene

Create a Decentraland scene project

Prerequisites

Install decentraland CLI

npm install -g decentraland

Ref: Decentraland CLI documentation

Create a scene

dcl init -p scene

Install @bosonprotocol/boson-dcl and their dependencies

Run npm to install @bosonprotocol/boson-dcl library and some required dependencies in your scene

npm install -D eth-connect patch-package
npm install @dcl/crypto-scene-utils @dcl/ecs-scene-utils
npm install @bosonprotocol/boson-dcl

Once you have added all dependencies in your scene project, please launch the build to finish initializing your project:

dcl build

Note:

  • You may have some building errors, that are removed by adding some compiler configuration properties in the tsconfig.json file
    {
      "compilerOptions": {
        ...
        "skipLibCheck": true
      },
      ...
    }
    

Build/Edit your Scene

With DCL-Edit

We advise you to run DCL Edit to edit and build your scene.

You can integrate Boson Protocol in DCL-Edit easily using these detailed instructions.

Writing code

Or, you can build your scene programmatically, writing code in typescript, based on the DCL SDK v6. In that case, you will find an example and useful information about how integrate Boson Protocol in this chapter.

Contributing

We welcome contributions! Until now, Boson Protocol has been largely worked on by a small dedicated team. However, the ultimate goal is for all of the Boson Protocol repositories to be fully owned by the community and contributors. Issues, pull requests, suggestions, and any sort of involvement are more than welcome.

If you have noticed a bug, please report them here as an issue.

Questions and feedback are always welcome, we will use them to improve our offering.

All PRs must pass all tests before being merged.

By being in this community, you agree to the Code of Conduct. Take a look at it, if you haven't already.

Before starting to contribute, please check out Local development guide.

License

Licensed under Apache v2