Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #51 from Cerebellum-Network/prepare-v0.5.2
Browse files Browse the repository at this point in the history
Prepare v0.5.2
  • Loading branch information
naure authored Sep 5, 2022
2 parents cb5230f + 99c1044 commit 65abbdd
Show file tree
Hide file tree
Showing 7 changed files with 291 additions and 57 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ cargo contract build --release --manifest-path ddc_nft_registry/Cargo.toml
cp target/ink/ddc_bucket/metadata.json sdk/src/abi/ddc_bucket.json &&
cp target/ink/ddc_nft_registry/metadata.json sdk/src/abi/ddc_nft_registry.json
```
- Use the script [deploy.js](deploy.js) to deploy the contracts.
- Update the [SDK default contracts](sdk/src/deployments.js).
- Publish the JS SDK (this requires an `NPM_TOKEN`): `cd sdk && npm publish`
- Use the script [deploy.js](deploy.js) or the [Explorer](https://explorer.cere.network/) to deploy the contracts.
- Update the [Admin SDK default contracts](sdk/src/deployments.js).
- Publish the Admin SDK (this requires an `NPM_TOKEN`): `cd sdk && npm publish`
- Similarly, update the [DDC SDK](https://github.com/Cerebellum-Network/cere-ddc-sdk-js) for apps.
- Regenerate the documentation, then sync [docs.cere.network](https://github.com/Cerebellum-Network/docs.cere.network/blob/main/ddc/protocols/smart-contract-api.md):
```bash
ABI_PATH=target/ink/ddc_bucket/metadata.json node ink-doc-gen
Expand Down
2 changes: 1 addition & 1 deletion bucket/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ddc_bucket"
version = "0.5.1"
version = "0.5.2"
authors = ["Aurélien Nicolas <[email protected]>"]
edition = "2021"
description = "DDC v2 Smart Contracts -- Orchestrate the network around clusters and buckets"
Expand Down
2 changes: 1 addition & 1 deletion ddc_nft_registry/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ddc_nft_registry"
version = "0.1.0"
version = "0.5.2"
authors = ["Aurélien Nicolas <[email protected]>", "Anton Volk <[email protected]>"]
edition = "2021"

Expand Down
5 changes: 3 additions & 2 deletions sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@cere-ddc-sdk/smart-contract",
"version": "0.5.1",
"name": "@cere/ddc-contracts-sdk",
"description": "This is an SDK to work with DDC smart contracts, mainly for development and admin purposes. For apps, see https://github.com/Cerebellum-Network/cere-ddc-sdk-js",
"version": "0.5.2",
"main": "src/index.js",
"license": "Apache-2.0",
"dependencies": {
Expand Down
Loading

0 comments on commit 65abbdd

Please sign in to comment.