Skip to content

Commit

Permalink
Renaming to mpl-core.
Browse files Browse the repository at this point in the history
  • Loading branch information
blockiosaurus committed Feb 25, 2024
1 parent 3490b23 commit 5f45abf
Show file tree
Hide file tree
Showing 95 changed files with 2,941 additions and 2,149 deletions.
2 changes: 1 addition & 1 deletion .github/.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CARGO_TERM_COLOR=always
NODE_VERSION=16.x
PROGRAMS=["mpl-asset"]
PROGRAMS=["mpl-core"]
RUST_VERSION=1.70.0
SOLANA_VERSION=1.16.18
6 changes: 3 additions & 3 deletions .github/file-filters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ program_common: &program_common
- ".github/file-filters.yml"
- ".github/.env"

mpl_asset_program: &mpl_asset_program
mpl_core_program: &mpl_core_program
- *program_common
- "programs/mpl-asset/**"
- "programs/mpl-core/**"

programs: &programs
- *mpl_asset_program
- *mpl_core_program

# Clients.

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-rust-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,5 @@ jobs:
with:
name: rust-client-builds
# First wildcard ensures exported paths are consistently under the clients folder.
path: ./targe*/release/*mpl_asset*
if-no-files-found: error
path: ./targe*/release/*mpl_core*
if-no-files-found: error
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ dist
.bin
ASSETp3DinZKfiAyvdQG16YWWLJ2X3ZKjg9zku7n1sZD.json
assetwo5JUM4WA59A1E3gFJBYvo8Ds8Rv32jyc3ASEe.json
coreeNT3nkXDgYv28X1S7hi1PTW2oEZKc2dbZqbdbew.json
CoREzp6dAdLVRKf3EM5tWrsXM2jQwRFeu5uhzsAyjYXL.json
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing to Mpl Asset
# Contributing to Mpl Core

This is a quick guide to help you contribute to Mpl Asset.
This is a quick guide to help you contribute to Mpl Core.

## Getting started

Expand All @@ -16,8 +16,8 @@ You will then have access to the following commands.
- `pnpm programs:test` - Test all programs.
- `pnpm programs:debug` - Test all programs with logs enabled.
- `pnpm programs:clean` - Clean all built and fetched programs.
- `pnpm clients:rust:test` - Run the Rust client tests.
- `pnpm clients:js:test` - Run the JS client tests.
- `pnpm clients:rust:test` - Run the Rust client tests.
- `pnpm clients:js:test` - Run the JS client tests.
- `pnpm generate` - Shortcut for `pnpm generate:idls && pnpm generate:clients`.
- `pnpm generate:idls` - Generate IDLs for all programs, as configured in the `configs/shank.cjs` file.
- `pnpm generate:clients` - Generate clients using Kinobi, as configured in the `configs/kinobi.cjs` file.
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[workspace]
resolver = "2"
members = ["clients/rust", "programs/mpl-asset"]
members = ["clients/rust", "programs/mpl-core"]
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Mpl Asset
# Mpl Core

Digital Assets

## Programs

This project contains the following programs:

- [Mpl Asset](./programs/mpl-asset/README.md) `ASSETp3DinZKfiAyvdQG16YWWLJ2X3ZKjg9zku7n1sZD`
- [Mpl Core](./programs/mpl-core/README.md) `CoREzp6dAdLVRKf3EM5tWrsXM2jQwRFeu5uhzsAyjYXL`

You will need a Rust version compatible with BPF to compile the program, currently we recommend using Rust 1.68.0.

Expand Down
4 changes: 2 additions & 2 deletions clients/js/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing to the JavaScript client

This is a quick guide to help you contribute to the JavaScript client of Mpl Asset.
This is a quick guide to help you contribute to the JavaScript client of Mpl Core.

## Getting started

Expand Down Expand Up @@ -49,7 +49,7 @@ To publish JavaScript clients using GitHub actions, we first need the following
Then, we'll need to create a new GitHub environment called `js-client-documentation` for the generated documentation of the JavaScript client. We can then select the `main` branch only and add the following secret variable to this specific environment.

- `VERCEL_PROJECT_ID` — The ID of the Vercel project you want to deploy to.
The convention for Metaplex is to create a new Vercel project named `mpl-asset-js-docs` with the following deployment settings:
The convention for Metaplex is to create a new Vercel project named `mpl-core-js-docs` with the following deployment settings:

- Build Command: `pnpm run build:docs`
- Output Directory: `docs`
Expand Down
8 changes: 4 additions & 4 deletions clients/js/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# JavaScript client for Mpl Asset
# JavaScript client for Mpl Core

A Umi-compatible JavaScript library for the project.

Expand All @@ -7,15 +7,15 @@ A Umi-compatible JavaScript library for the project.
1. First, if you're not already using Umi, [follow these instructions to install the Umi framework](https://github.com/metaplex-foundation/umi/blob/main/docs/installation.md).
2. Next, install this library using the package manager of your choice.
```sh
npm install @metaplex-foundation/mpl-asset
npm install @metaplex-foundation/mpl-core
```
2. Finally, register the library with your Umi instance like so.
```ts
import { mplAsset } from '@metaplex-foundation/mpl-asset';
import { mplAsset } from '@metaplex-foundation/mpl-core';
umi.use(mplAsset());
```

You can learn more about this library's API by reading its generated [TypeDoc documentation](https://mpl-asset-js-docs.vercel.app).
You can learn more about this library's API by reading its generated [TypeDoc documentation](https://mpl-core-js-docs.vercel.app).

## Contributing

Expand Down
4 changes: 2 additions & 2 deletions clients/js/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@metaplex-foundation/mpl-asset",
"name": "@metaplex-foundation/mpl-core",
"version": "0.1.0",
"description": "Digital Assets",
"main": "dist/src/index.js",
Expand All @@ -21,7 +21,7 @@
"registry": "https://registry.npmjs.org"
},
"homepage": "https://metaplex.com",
"repository": "https://github.com/metaplex-foundation/mpl-asset.git",
"repository": "https://github.com/metaplex-foundation/mpl-core.git",
"author": "Metaplex Maintainers <[email protected]>",
"license": "Apache-2.0",
"dependencies": {
Expand Down
Loading

0 comments on commit 5f45abf

Please sign in to comment.