Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
create-croquet-microverse
Advanced tools
Croquet Microverse is a framework to build multiplayer immersive 3D virtual worlds on the web. It is built on the Croquet OS and the Worldcore framework. Please refer to https://github.com/croquet/microverse for more information.
This utility create-croquet-microverse
allows you to set up a minimum working installation by simply running the following in an empty directory:
npm create croquet-microverse@latest
The process runs npm install
, copies some files into the top-level directory to set things up.
You then run
npm start
. You can now point a web browser to localhost:9684
to open the world.
When you would like to update the microverse-library to a new version (or check out an old version), you run (for example):
npm install @croquet/microverse-library@0.4.4
A typical workflow is to modify the default world file worlds/default.js
, and add behavior files to expand the world. You can add more asset files in the assets directory, or use the Croquet DataId to refer to more assets from your world.
You need to obtain your Croquet API Key from https://croquet.io/keys/, create a file called apiKey.js
and edit the two properties called apiKey
and appId
in the apiKey.js
file.
const apiKey = "paste your apiKey from croquet.io/keys";
const appId = "type your own appId such as com.example.david.mymicroverse";
export default {apiKey, appId};
You can copy all files in behaviors
, assets
, lib
, meta
, and worlds
along with index.html
and apiKey.js
to your publicly accessible HTTP server to have your own deployment. You can also use a hosting services such as Netlify and Vercel, which let you connect your GitHub repository to automate deployment. Note that the auto generated default apiKey for your Croquet account allows anybody to use it from any site. In order to protect your API key from unauthorized use, you should create a new apiKey with URL restriction limited to your site.
The source code and assets in this repository are licensed under Apache License 2.0.
Copyright (c) 2022 Croquet Corporation
FAQs
The initializer for Croquet Microverse
The npm package create-croquet-microverse receives a total of 13 weekly downloads. As such, create-croquet-microverse popularity was classified as not popular.
We found that create-croquet-microverse demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.