Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: 0xMMelvin/metaboss
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: samuelvanderwaal/metaboss
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Able to merge. These branches can be automatically merged.

Commits on Nov 28, 2021

  1. Copy the full SHA
    5b01025 View commit details
  2. parallelize minting

    samuelvanderwaal committed Nov 28, 2021
    Copy the full SHA
    63a1355 View commit details
  3. parallelize signing

    samuelvanderwaal committed Nov 28, 2021
    Copy the full SHA
    bce2be3 View commit details
  4. Copy the full SHA
    f16c3db View commit details
  5. Copy the full SHA
    c74ac0c View commit details
  6. Copy the full SHA
    b80f6f3 View commit details
  7. add update_uri_all

    samuelvanderwaal committed Nov 28, 2021
    Copy the full SHA
    641a489 View commit details
  8. update README

    samuelvanderwaal committed Nov 28, 2021
    Copy the full SHA
    e516c72 View commit details

Commits on Nov 29, 2021

  1. Copy the full SHA
    192e4e5 View commit details
  2. Copy the full SHA
    46489a5 View commit details
  3. Copy the full SHA
    0bd95ac View commit details

Commits on Nov 30, 2021

  1. setup basic logging

    samuelvanderwaal committed Nov 30, 2021
    Copy the full SHA
    2aa78b8 View commit details
  2. Copy the full SHA
    9db5de0 View commit details
  3. Copy the full SHA
    04935e6 View commit details

Commits on Dec 1, 2021

  1. Copy the full SHA
    07e67b8 View commit details

Commits on Dec 5, 2021

  1. Copy the full SHA
    f0903ac View commit details

Commits on Dec 6, 2021

  1. Copy the full SHA
    21021ff View commit details
  2. Copy the full SHA
    05ef140 View commit details
  3. Copy the full SHA
    569b912 View commit details

Commits on Dec 12, 2021

  1. remove spinners

    samuelvanderwaal committed Dec 12, 2021
    Copy the full SHA
    805a887 View commit details
  2. modify ci behavior

    samuelvanderwaal committed Dec 12, 2021
    Copy the full SHA
    8ddddbc View commit details
  3. Copy the full SHA
    b00294f View commit details
  4. Copy the full SHA
    ec80caa View commit details
  5. fix rpc choice flow

    samuelvanderwaal committed Dec 12, 2021
    Copy the full SHA
    c08d22b View commit details
  6. Copy the full SHA
    0a1e997 View commit details
  7. Merge pull request samuelvanderwaal#41 from samuelvanderwaal/fix-rpc-…

    …choice-flow
    
    Fix rpc choice flow
    samuelvanderwaal authored Dec 12, 2021
    Copy the full SHA
    4fc817c View commit details
  8. add md-book docs

    samuelvanderwaal committed Dec 12, 2021
    Copy the full SHA
    a4aa72a View commit details
  9. update docs

    samuelvanderwaal committed Dec 12, 2021
    Copy the full SHA
    1370578 View commit details
  10. Copy the full SHA
    e185253 View commit details
  11. simplify README

    samuelvanderwaal committed Dec 12, 2021
    Copy the full SHA
    a99aaf6 View commit details
  12. fix README shields

    samuelvanderwaal committed Dec 12, 2021
    Copy the full SHA
    2517ccc View commit details
  13. Copy the full SHA
    9df251f View commit details

Commits on Dec 18, 2021

  1. Create CNAME

    samuelvanderwaal committed Dec 18, 2021
    Copy the full SHA
    84fb71c View commit details

Commits on Dec 20, 2021

  1. Copy the full SHA
    554a027 View commit details
  2. UPdate opt.rs

    Fixed capitalization from UPdate => Update
    stegaBOB authored Dec 20, 2021
    Copy the full SHA
    e739623 View commit details
  3. Copy the full SHA
    9e79871 View commit details

Commits on Dec 21, 2021

  1. Copy the full SHA
    b7e5635 View commit details
  2. Copy the full SHA
    3606efe View commit details
  3. Update docs link

    samuelvanderwaal authored Dec 21, 2021
    Copy the full SHA
    ea3a593 View commit details

Commits on Dec 24, 2021

  1. Copy the full SHA
    8fa6466 View commit details
  2. Copy the full SHA
    edeb9ac View commit details
  3. update docs

    samuelvanderwaal committed Dec 24, 2021
    Copy the full SHA
    02fb06c View commit details
  4. Copy the full SHA
    bacc5ee View commit details

Commits on Dec 29, 2021

  1. add cm v2 support to

    samuelvanderwaal committed Dec 29, 2021
    Copy the full SHA
    e3b0848 View commit details
  2. Copy the full SHA
    19e2ebd View commit details

Commits on Dec 30, 2021

  1. Copy the full SHA
    7f3a772 View commit details
  2. Copy the full SHA
    3ec5b41 View commit details
  3. Copy the full SHA
    4f546db View commit details
  4. Copy the full SHA
    9a811b9 View commit details
  5. update release notes

    samuelvanderwaal committed Dec 30, 2021
    Copy the full SHA
    3d689a1 View commit details
Showing with 34,199 additions and 3,055 deletions.
  1. +23 −19 .github/workflows/{CI.yml → build.yml}
  2. +54 −0 .github/workflows/ci.yml
  3. +4 −1 .gitignore
  4. +3,252 −1,513 Cargo.lock
  5. +49 −23 Cargo.toml
  6. +57 −421 README.md
  7. +60 −0 RELEASE_NOTES.md
  8. +6 −0 docs-src/book.toml
  9. +2 −0 docs-src/deploy.sh
  10. +1 −0 docs-src/index.html
  11. +26 −0 docs-src/src/SUMMARY.md
  12. +102 −0 docs-src/src/airdrop.md
  13. +75 −0 docs-src/src/burn.md
  14. +54 −0 docs-src/src/check.md
  15. +127 −0 docs-src/src/collections.md
  16. +11 −0 docs-src/src/contact.md
  17. +70 −0 docs-src/src/create.md
  18. +80 −0 docs-src/src/decode.md
  19. +37 −0 docs-src/src/derive.md
  20. +57 −0 docs-src/src/examples.md
  21. +48 −0 docs-src/src/find.md
  22. +33 −0 docs-src/src/global_options.md
  23. BIN docs-src/src/images/retry_flow.png
  24. +80 −0 docs-src/src/installation.md
  25. +173 −0 docs-src/src/mint.md
  26. +43 −0 docs-src/src/overview.md
  27. +23 −0 docs-src/src/priority_fees.md
  28. +51 −0 docs-src/src/quick_start.md
  29. +8 −0 docs-src/src/recipes.md
  30. +117 −0 docs-src/src/set.md
  31. +58 −0 docs-src/src/sign.md
  32. +249 −0 docs-src/src/snapshot.md
  33. +41 −0 docs-src/src/transfer.md
  34. +347 −0 docs-src/src/update.md
  35. +158 −0 docs-src/src/verify_unverify.md
  36. +3 −0 docs-src/src/withdraw.md
  37. +218 −0 docs/404.html
  38. +1 −0 docs/CNAME
  39. +4 −0 docs/FontAwesome/css/font-awesome.css
  40. BIN docs/FontAwesome/fonts/FontAwesome.ttf
  41. BIN docs/FontAwesome/fonts/fontawesome-webfont.eot
  42. +2,671 −0 docs/FontAwesome/fonts/fontawesome-webfont.svg
  43. BIN docs/FontAwesome/fonts/fontawesome-webfont.ttf
  44. BIN docs/FontAwesome/fonts/fontawesome-webfont.woff
  45. BIN docs/FontAwesome/fonts/fontawesome-webfont.woff2
  46. +300 −0 docs/airdrop.html
  47. +78 −0 docs/ayu-highlight.css
  48. +208 −0 docs/base_options.html
  49. +697 −0 docs/book.js
  50. +270 −0 docs/burn.html
  51. +265 −0 docs/check.html
  52. +7 −0 docs/clipboard.min.js
  53. +302 −0 docs/collections.html
  54. +227 −0 docs/contact.html
  55. +268 −0 docs/create.html
  56. +606 −0 docs/css/chrome.css
  57. +234 −0 docs/css/general.css
  58. +50 −0 docs/css/print.css
  59. +279 −0 docs/css/variables.css
  60. +268 −0 docs/decode.html
  61. +246 −0 docs/derive.html
  62. +10 −0 docs/elasticlunr.min.js
  63. +267 −0 docs/examples.html
  64. BIN docs/favicon.png
  65. +22 −0 docs/favicon.svg
  66. +255 −0 docs/find.html
  67. +202 −0 docs/fonts/OPEN-SANS-LICENSE.txt
  68. +93 −0 docs/fonts/SOURCE-CODE-PRO-LICENSE.txt
  69. +100 −0 docs/fonts/fonts.css
  70. BIN docs/fonts/open-sans-v17-all-charsets-300.woff2
  71. BIN docs/fonts/open-sans-v17-all-charsets-300italic.woff2
  72. BIN docs/fonts/open-sans-v17-all-charsets-600.woff2
  73. BIN docs/fonts/open-sans-v17-all-charsets-600italic.woff2
  74. BIN docs/fonts/open-sans-v17-all-charsets-700.woff2
  75. BIN docs/fonts/open-sans-v17-all-charsets-700italic.woff2
  76. BIN docs/fonts/open-sans-v17-all-charsets-800.woff2
  77. BIN docs/fonts/open-sans-v17-all-charsets-800italic.woff2
  78. BIN docs/fonts/open-sans-v17-all-charsets-italic.woff2
  79. BIN docs/fonts/open-sans-v17-all-charsets-regular.woff2
  80. BIN docs/fonts/source-code-pro-v11-all-charsets-500.woff2
  81. +244 −0 docs/global_options.html
  82. +82 −0 docs/highlight.css
  83. +53 −0 docs/highlight.js
  84. BIN docs/images/retry_flow.png
  85. +255 −0 docs/index.html
  86. +268 −0 docs/installation.html
  87. +7 −0 docs/mark.min.js
  88. +342 −0 docs/mint.html
  89. +255 −0 docs/overview.html
  90. +1,546 −0 docs/print.html
  91. +228 −0 docs/priority-fees.html
  92. +242 −0 docs/priority_fees.html
  93. +253 −0 docs/quick_start.html
  94. +235 −0 docs/recipes.html
  95. BIN docs/retry_flow.png
  96. +483 −0 docs/searcher.js
  97. +1 −0 docs/searchindex.js
  98. +302 −0 docs/set.html
  99. +259 −0 docs/sign.html
  100. +404 −0 docs/snapshot.html
  101. +102 −0 docs/tomorrow-night.css
  102. +255 −0 docs/transfer.html
  103. +456 −0 docs/update.html
  104. +349 −0 docs/verify_unverify.html
  105. +229 −0 docs/withdraw.html
  106. BIN mb_logo.gif
  107. +62 −0 scripts/fetch-errors.sh
  108. +205 −0 scripts/install.sh
  109. +35 −0 src/airdrop/mod.rs
  110. +134 −0 src/airdrop/process.rs
  111. +120 −0 src/airdrop/sol.rs
  112. +250 −0 src/airdrop/spl.rs
  113. +90 −0 src/burn/burn_asset.rs
  114. +309 −0 src/burn/burn_legacy.rs
  115. +32 −0 src/burn/mod.rs
  116. +266 −0 src/cache/mod.rs
  117. +78 −0 src/check/mod.rs
  118. +103 −0 src/collections/data.rs
  119. +163 −0 src/collections/items.rs
  120. +200 −0 src/collections/methods.rs
  121. +326 −0 src/collections/migrate.rs
  122. +37 −0 src/collections/mod.rs
  123. +39 −3 src/constants.rs
  124. +916 −0 src/create/methods.rs
  125. +15 −0 src/create/mod.rs
  126. +31 −15 src/data.rs
  127. +0 −162 src/decode.rs
  128. +315 −0 src/decode/mod.rs
  129. +17 −0 src/decode/rule_set.rs
  130. +308 −0 src/derive.rs
  131. +30 −5 src/errors.rs
  132. +24 −0 src/extend_program.rs
  133. +47 −0 src/find.rs
  134. +20 −1 src/lib.rs
  135. +48 −0 src/limiter.rs
  136. +81 −15 src/main.rs
  137. +920 −65 src/mint.rs
  138. +1,867 −133 src/opt.rs
  139. +179 −44 src/parse.rs
  140. +1,224 −51 src/process_subcommands.rs
  141. +154 −0 src/setup.rs
  142. +147 −56 src/sign.rs
  143. +0 −342 src/snapshot.rs
  144. +536 −0 src/snapshot/das_api.rs
  145. +144 −0 src/snapshot/data.rs
  146. +43 −0 src/snapshot/indexer_methods.rs
  147. +669 −0 src/snapshot/methods.rs
  148. +42 −0 src/snapshot/mod.rs
  149. +91 −0 src/snapshot/print_editions.rs
  150. +129 −0 src/snapshot/process.rs
  151. +38 −0 src/spinner.rs
  152. +132 −0 src/theindexio/data.rs
  153. +148 −0 src/theindexio/methods.rs
  154. +4 −0 src/theindexio/mod.rs
  155. +51 −0 src/transfer/mod.rs
  156. +68 −0 src/unverify/creator.rs
  157. +19 −0 src/unverify/mod.rs
  158. +131 −0 src/update/creator.rs
  159. +170 −0 src/update/data.rs
  160. +89 −0 src/update/immutable.rs
  161. +75 −0 src/update/mod.rs
  162. +44 −0 src/update/name.rs
  163. +89 −0 src/update/primary_sale_happened.rs
  164. +182 −0 src/update/rule_set.rs
  165. +111 −0 src/update/seller_fee_basis_points.rs
  166. +103 −0 src/update/symbol.rs
  167. +106 −0 src/update/token_standard.rs
  168. +101 −0 src/update/update_authority.rs
  169. +129 −0 src/update/uri.rs
  170. +71 −0 src/update/uses.rs
  171. +0 −186 src/update_metadata.rs
  172. +134 −0 src/uses.rs
  173. +379 −0 src/utils.rs
  174. +68 −0 src/verify/creator.rs
  175. +19 −0 src/verify/mod.rs
  176. +441 −0 src/wtf_errors.rs
  177. +274 −0 tests/mint.rs
42 changes: 23 additions & 19 deletions .github/workflows/CI.yml → .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,27 @@
name: CI
name: Build and Release

on:
push:
pull_request:
workflow_dispatch:
push:
branches: [main]
tags:
- "v*.*.*"

jobs:
build:
strategy:
matrix:
os:
- windows-latest
- ubuntu-latest
- buildjet-16vcpu-ubuntu-2004
- macos-latest
- macos-latest-large # intel

runs-on: ${{ matrix.os }}

env:
MATRIX_OS: ${{ matrix.os }}

steps:
- name: Checkout
uses: actions/checkout@v2
@@ -31,30 +37,28 @@ jobs:
id: build
shell: bash
run: |
if [[ "${RUNNER_OS}" == "Linux" ]]; then
echo "Installing libudev-dev"
sudo apt install libudev-dev
fi
cargo build --all --release
binary_extension=""
if [[ "$RUNNER_OS" == "Linux" ]]; then
binary_path="metaboss-ubuntu-latest"
fi
if [[ "${RUNNER_OS}" == "Windows" ]]; then
binary_extension=".exe"
binary_path="metaboss-windows-latest${binary_extension}"
fi
if [[ "${RUNNER_OS}" == "macOS" ]]; then
if [[ "${MATRIX_OS}" == "macos-latest" ]]; then
binary_path="metaboss-macos-m1-latest"
else
binary_path="metaboss-macos-intel-latest"
fi
fi
binary_path="metaboss-${{ matrix.os }}${binary_extension}"
mv "target/release/metaboss${binary_extension}" "${binary_path}"
echo "::set-output name=binary_path::${binary_path}"
strip "${binary_path}"
- name: Publish Artifacts
if: "!startsWith(github.ref, 'refs/tags/')"
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.os }}
path: ${{ steps.build.outputs.binary_path }}

- name: Release Tags
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
54 changes: 54 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
on:
workflow_dispatch:
push:
branches: [main]
pull_request:

name: Format and Compile Checks

jobs:
test:
name: Test Suite
runs-on: buildjet-16vcpu-ubuntu-2204
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: test

fmt:
name: Rustfmt
runs-on: buildjet-16vcpu-ubuntu-2204
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check

clippy:
name: Clippy
runs-on: buildjet-16vcpu-ubuntu-2204
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add clippy
- uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/target
*.json
*.bin
/temp
/binaries
.test_files
.test_files
docs-src/book
src/error_files
Loading