Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
cc04805
add enum to config to manage party end
0xstepit Jun 19, 2023
f676782
add code id in instantiate
0xstepit Jun 28, 2023
f932c6a
Merge branch 'main' into stepit/launchparty
0xstepit Jun 28, 2023
cd19072
change royalty to royalties
0xstepit Jun 28, 2023
9b755d8
update to InstantiateMsg launchparty
0xstepit Jun 28, 2023
522af05
initialize test suite
0xstepit Jun 28, 2023
d7afc28
add multitest for init + unit test for init fields
0xstepit Jun 29, 2023
a764979
update mint logic
0xstepit Jun 29, 2023
ed1aeb3
fix unit test mint
0xstepit Jul 3, 2023
5320410
update suite and tests for mint
0xstepit Jul 3, 2023
aed6fa1
add doc comments adn max mintable per address
0xstepit Jul 5, 2023
e4eb85e
add bank msgs for royalties & referral + commented all tests with errors
0xstepit Jul 6, 2023
faaaaf6
fix unit tests in launchparty
0xstepit Jul 6, 2023
2a2c114
fix suite for launchparty
0xstepit Jul 6, 2023
702d46d
complete before mint checks
0xstepit Jul 17, 2023
921fb0c
add check for referral and royalties computation
0xstepit Jul 17, 2023
42a861d
generalize mint function
0xstepit Jul 17, 2023
41f1ddd
remove drop-simple contract
0xstepit Jul 17, 2023
1db6730
fix bug
0xstepit Jul 17, 2023
e03c14e
fix bug
0xstepit Jul 17, 2023
34ad48d
add multiple mint test
0xstepit Jul 17, 2023
d65eaa3
add multitests
0xstepit Jul 19, 2023
e3e749f
add schema + remove justfile
0xstepit Jul 19, 2023
e5d5b3d
fmt
0xstepit Jul 19, 2023
0b61a06
lint + add platform to optimizer
0xstepit Jul 19, 2023
b1dce90
rename .rustfmt to rustfmt.toml
0xstepit Jul 19, 2023
2cd3db0
minor refactor to doc
0xstepit Jul 19, 2023
2e23e5c
minor refactor to doc
0xstepit Jul 19, 2023
afad254
fix tipo in task optimize
0xstepit Jul 21, 2023
987458a
feat: remove arbitrary creator, add events for referral
angelorc Aug 9, 2023
a2b312a
fix: next_token_id n + 1
angelorc Aug 9, 2023
ac2d60c
feat: add check max_per_address
angelorc Aug 10, 2023
fc8f5d6
chore: export bs721 CONTRACT_NAME and CONTRACT_VERSION
angelorc Aug 10, 2023
ac7bc89
changes to launchparty to use onchain metadata
angelorc Oct 24, 2023
2352198
Add new contracts and update dependencies
angelorc Nov 21, 2023
07a587b
Refactor contract names and update README.md
angelorc Nov 29, 2023
e8465b0
apply changes to bs-nfts
angelorc Feb 28, 2024
6ae1917
reformat
Aug 15, 2024
2dbe508
test bumps
Aug 15, 2024
55227cd
add custom Query
Aug 16, 2024
3b6a143
initial cw-orch addition, prep for test
Aug 16, 2024
48998ca
add bs721-account unit-test
Aug 17, 2024
092ba85
more cw-orch prep
Aug 17, 2024
c5f4864
add 99% of minter test in cw-orch
Aug 19, 2024
840aaa0
add ts-codegen & schemas
Aug 19, 2024
3e3965c
add abstract account framework deployment scripts
Aug 22, 2024
df9be4f
cleanup scripts
Aug 22, 2024
b87f28a
cleanup, add docs
Aug 23, 2024
68c0af1
Merge pull request #2 from permissionlessweb/feat/abstract-deploy
hard-nett Aug 23, 2024
ef39740
remove bs-accounts from pr, compiles
Aug 27, 2024
1dc0b41
bump version
Aug 27, 2024
df76fdb
add nft-account script
Aug 31, 2024
b43c7f9
docs
Aug 31, 2024
65bf911
initial implementation
Jan 14, 2025
d4c76b9
dev: prep test for cw-orch
Jan 14, 2025
ff5936f
dev: cargo bumps & admin response type
Jan 14, 2025
1e50abd
dev: add admin page to bs-controllers
Jan 14, 2025
23e47b3
dev: test bumps cause v2
Jan 15, 2025
826ebf2
add smart-account utilities
May 21, 2025
3ab7061
wip: initial wavs operator impl
May 21, 2025
f793459
clippy
May 21, 2025
9ebb8fc
implement corect bls12 verification (g1 is pubkey, g2 is signature)
May 21, 2025
37902fb
acutally implement bls properly
May 22, 2025
a67433b
wip: add cw-orch library
May 26, 2025
39c0ff4
remove unused library
May 27, 2025
cb47a83
wip: merge cw-orch package into scripts
Jun 1, 2025
49d5764
wip: add btsg-irl
Jun 1, 2025
a3ed758
clippy
Jun 1, 2025
6110831
wip: add demos
Jun 1, 2025
3e68699
wip: remove account & auth library
Jun 2, 2025
4d1b78d
wip: cargo bumps
Jun 4, 2025
80fe743
wip: crate bumps
Jun 5, 2025
aa7d0e3
wip: single extension for bs721-base executemsg
Jun 5, 2025
c242e32
wip: bump cosmos-sdk-proto for protocolpool support
Jun 18, 2025
dc0ccfc
bump to v0.4.0, add migrate entrypoints
Jun 18, 2025
ad3287b
migrate entrpoints
Jul 31, 2025
3458b9c
use Decimal256 for arithmetic with royalties, refactor tests for comp…
Jul 31, 2025
e0583a9
scripting refactor, ts-codegen, documentation cleanup, test-suite, cw…
Aug 1, 2025
f38c6a2
Merge branch 'migrate-entrypoint' into feat/wavs
Aug 1, 2025
60b46d8
refactor circle-ci
Aug 1, 2025
dc934d7
cargo fmt
Aug 1, 2025
1abc9c9
clippy
Aug 1, 2025
9a52aba
docs
Aug 1, 2025
c31b56b
Merge pull request #5 from permissionlessweb/feat/wavs
hard-nett Aug 1, 2025
8b9bcaf
cosmwasm@v3
Aug 17, 2025
dac4914
clippy
Aug 17, 2025
85ed401
cargo fmt
Aug 17, 2025
fbcf60d
Merge pull request #6 from permissionlessweb/feat/cosmwasm@v3
hard-nett Sep 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
123 changes: 98 additions & 25 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ workflows:
version: 2
test:
jobs:
- contract_cw721_base
- contract_cw721_metadata_onchain
- contract_cw721_fixed_price
- package_cw721
- contract_bs721_base
- contract_bs721_curve
- contract_bs721_royalties
- contract_bs721_factory
- contract_bs721_launcparty
- package_bs721
- lint
- wasm-build
deploy:
Expand All @@ -19,10 +21,10 @@ workflows:
ignore: /.*/

jobs:
contract_cw721_base:
contract_bs721_base:
docker:
- image: rust:1.64.0
working_directory: ~/project/contracts/cw721-base
working_directory: ~/project/contracts/collections/bs721-base
steps:
- checkout:
path: ~/project
Expand All @@ -31,7 +33,7 @@ jobs:
command: rustc --version; cargo --version; rustup --version
- restore_cache:
keys:
- cargocache-cw721-base-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }}
- cargocache-bs721-base-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }}
- run:
name: Unit Tests
environment:
Expand All @@ -53,12 +55,12 @@ jobs:
paths:
- /usr/local/cargo/registry
- target
key: cargocache-cw721-base-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }}
key: cargocache-bs721-base-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }}

contract_cw721_metadata_onchain:
contract_bs721_curve:
docker:
- image: rust:1.64.0
working_directory: ~/project/contracts/cw721-metadata-onchain
working_directory: ~/project/contracts/collections/bs721-curve
steps:
- checkout:
path: ~/project
Expand All @@ -67,7 +69,7 @@ jobs:
command: rustc --version; cargo --version; rustup --version
- restore_cache:
keys:
- cargocache-cw721-metadata-onchain-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }}
- cargocache-bs721-curve-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }}
- run:
name: Unit Tests
environment:
Expand All @@ -89,12 +91,12 @@ jobs:
paths:
- /usr/local/cargo/registry
- target
key: cargocache-cw721-metadata-onchain-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }}
key: cargocache-bs721-curve-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }}

contract_cw721_fixed_price:
contract_bs721_royalties:
docker:
- image: rust:1.64.0
working_directory: ~/project/contracts/cw721-fixed-price
working_directory: ~/project/contracts/collections/bs721-royalties
steps:
- checkout:
path: ~/project
Expand All @@ -103,7 +105,7 @@ jobs:
command: rustc --version; cargo --version; rustup --version
- restore_cache:
keys:
- cargocache-cw721-fixed-price-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }}
- cargocache-bs721-royalties-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }}
- run:
name: Unit Tests
environment:
Expand All @@ -125,12 +127,84 @@ jobs:
paths:
- /usr/local/cargo/registry
- target
key: cargocache-cw721-fixed-price-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }}
key: cargocache-bs721-royalties-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }}

contract_bs721_factory:
docker:
- image: rust:1.64.0
working_directory: ~/project/contracts/factories/bs721-factory
steps:
- checkout:
path: ~/project
- run:
name: Version information
command: rustc --version; cargo --version; rustup --version
- restore_cache:
keys:
- cargocache-bs721-factory-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }}
- run:
name: Unit Tests
environment:
RUST_BACKTRACE: 1
command: cargo unit-test --locked
- run:
name: Build and run schema generator
command: cargo schema --locked
- run:
name: Ensure checked-in schemas are up-to-date
command: |
CHANGES_IN_REPO=$(git status --porcelain)
if [[ -n "$CHANGES_IN_REPO" ]]; then
echo "Repository is dirty. Showing 'git status' and 'git --no-pager diff' for debugging now:"
git status && git --no-pager diff
exit 1
fi
- save_cache:
paths:
- /usr/local/cargo/registry
- target
key: cargocache-bs721-factory-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }}

contract_bs721_launchparty:
docker:
- image: rust:1.64.0
working_directory: ~/project/contracts/minters/bs721-launchparty
steps:
- checkout:
path: ~/project
- run:
name: Version information
command: rustc --version; cargo --version; rustup --version
- restore_cache:
keys:
- cargocache-bs721-launchparty-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }}
- run:
name: Unit Tests
environment:
RUST_BACKTRACE: 1
command: cargo unit-test --locked
- run:
name: Build and run schema generator
command: cargo schema --locked
- run:
name: Ensure checked-in schemas are up-to-date
command: |
CHANGES_IN_REPO=$(git status --porcelain)
if [[ -n "$CHANGES_IN_REPO" ]]; then
echo "Repository is dirty. Showing 'git status' and 'git --no-pager diff' for debugging now:"
git status && git --no-pager diff
exit 1
fi
- save_cache:
paths:
- /usr/local/cargo/registry
- target
key: cargocache-bs721-launchparty-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }}

package_cw721:
package_bs721:
docker:
- image: rust:1.64.0
working_directory: ~/project/packages/cw721
working_directory: ~/project/packages/bs721
steps:
- checkout:
path: ~/project
Expand All @@ -139,7 +213,7 @@ jobs:
command: rustc --version; cargo --version; rustup --version; rustup target list --installed
- restore_cache:
keys:
- cargocache-v2-cw721:1.64.0-{{ checksum "~/project/Cargo.lock" }}
- cargocache-v2-bs721:1.64.0-{{ checksum "~/project/Cargo.lock" }}
- run:
name: Build library for native target
command: cargo build --locked
Expand All @@ -162,7 +236,7 @@ jobs:
paths:
- /usr/local/cargo/registry
- target
key: cargocache-v2-cw721:1.64.0-{{ checksum "~/project/Cargo.lock" }}
key: cargocache-v2-bs721:1.64.0-{{ checksum "~/project/Cargo.lock" }}

lint:
docker:
Expand Down Expand Up @@ -217,10 +291,9 @@ jobs:
- run:
name: Build Wasm Release
command: |
for C in ./contracts/*/
do
echo "Compiling `basename $C`..."
(cd $C && cargo build --release --target wasm32-unknown-unknown --locked)
for d in $(find ./collections ./factories ./minters -type f -name Cargo.toml -exec dirname {} \;); do
echo "Compiling $d..."
(cd "$d" && cargo build --release --target wasm32-unknown-unknown --locked)
done
- run:
name: Install check_contract
Expand Down Expand Up @@ -261,7 +334,7 @@ jobs:
- run:
name: Build development contracts
command: |
docker run --volumes-from with_code cosmwasm/workspace-optimizer:0.12.9
docker run --volumes-from with_code cosmwasm/workspace-optimizer:0.16.1
docker cp with_code:/code/artifacts ./artifacts
- run:
name: Show data
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ target/
*.wasm
hash.txt
contracts.txt
artifacts/
artifacts/*.wasm

# code coverage
tarpaulin-report.*
55 changes: 55 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
**Changelog for Bitsong NFTS**
=====================================================

**`0.4.0` -Test Suite, Scripts & Documentation Refactoring**
### Added
- Justfile
- test-suite
### Changed
- launchparty instantiate response attribute: changed attribute key from `bs721_address `to `bs721-addr`
- improved contract schema & ts-codegen
- CircleCi: refactored for this workspace
### Removed
- Makefile
- redundant schema files
- launchparty: removed reply entrypoint
--------------------------------------
**`0.3.0-rc` -Cosmwasm-std: v2.0.0**
--------------------------------------
### Added
- **bs-controllers:** add admin item store functions (source from original cw-controllers package)
### Changed
- **bump cosmwasm deps to 2.0.0** - all cosmwasm crates have been bumped to version 2.0
- **bump workspace tests** - bump all tests to compatible versions with v2.0 cosmwasm-std
### Fixed
### Removed
### Upgrade Notes

**`0.2.0-rc` - Cw Orchestrator & Bitsong Accounts**
--------------------------------------

### Added
* **Changelog** - basic template for manual recordkeeping.
* **Cw-Orchestrator**- advanced testing and deployment tool for CosmWasm smart-contracts https://orchestrator.abstract.money/intro.html
* **Bitsong-Controller Library** - Library for managing hooks & other contract controlling actions.
* **Scripts Library** - Library for interacting with simulation and production environments.

### Changed
* `MintMsg` enum removed from BS71-Base
* Folder reorg

### Fixed
* n/a

### Removed
* [List of features or functionalities removed in this version]
* [Brief description of each removal]

### Upgrade Notes
* Migration Logic - No test have been made on migrating v0.1.0-rc to v0.2.0-rc.


### Credits

* [Abstract Framework](https://github.com/AbstractSDK/abstract)
* [Stargaze Names](https://github.com/public-awesome/names)
Loading