diff --git a/sdk-abi/Cargo.lock b/sdk-abi/Cargo.lock index 2ca04c2..55de0e3 100644 --- a/sdk-abi/Cargo.lock +++ b/sdk-abi/Cargo.lock @@ -19,7 +19,7 @@ checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" [[package]] name = "aleo-abi" -version = "0.2.0" +version = "0.2.1" dependencies = [ "anyhow", "leo-abi", diff --git a/sdk-abi/Cargo.toml b/sdk-abi/Cargo.toml index c37fceb..621fb48 100644 --- a/sdk-abi/Cargo.toml +++ b/sdk-abi/Cargo.toml @@ -1,11 +1,11 @@ -# Copyright (C) 2024 Provable Inc. +# Copyright (C) 2019-2026 Provable Inc. # SPDX-License-Identifier: GPL-3.0-or-later [workspace] # Prevent parent workspace capture [package] name = "aleo-abi" -version = "0.2.0" +version = "0.2.1" edition = "2024" license = "GPL-3.0-or-later" description = "Python bindings for ABI generation from Aleo bytecode (via Leo's leo-abi crate)" diff --git a/sdk-abi/pyproject.toml b/sdk-abi/pyproject.toml index b3f8ff7..c8b77f1 100644 --- a/sdk-abi/pyproject.toml +++ b/sdk-abi/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "aleo-contract-abi-generator" -version = "0.2.0" +version = "0.2.1" description = "Python bindings for ABI generation from Aleo bytecode" readme = "README.md" license = {text = "GPL-3.0-or-later"} diff --git a/sdk-abi/python/aleo_abi/__init__.py b/sdk-abi/python/aleo_abi/__init__.py index 09397ca..a6f75a2 100644 --- a/sdk-abi/python/aleo_abi/__init__.py +++ b/sdk-abi/python/aleo_abi/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Provable Inc. +# Copyright (C) 2019-2026 Provable Inc. # SPDX-License-Identifier: GPL-3.0-or-later """ABI generation and compatibility checking for Aleo programs.""" diff --git a/sdk-abi/python/tests/test_abi.py b/sdk-abi/python/tests/test_abi.py index 658e3b2..e3e5979 100644 --- a/sdk-abi/python/tests/test_abi.py +++ b/sdk-abi/python/tests/test_abi.py @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Provable Inc. +# Copyright (C) 2019-2026 Provable Inc. # SPDX-License-Identifier: GPL-3.0-or-later """Tests for the aleo-contract-abi-generator package.""" diff --git a/sdk-abi/src/lib.rs b/sdk-abi/src/lib.rs index a43a705..ec92618 100644 --- a/sdk-abi/src/lib.rs +++ b/sdk-abi/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2024 Provable Inc. +// Copyright (C) 2019-2026 Provable Inc. // SPDX-License-Identifier: GPL-3.0-or-later //! Python bindings for leo-abi: ABI generation and compatibility checking for Aleo/Leo programs. diff --git a/sdk/Cargo.lock b/sdk/Cargo.lock index b0ee5d6..c329375 100644 --- a/sdk/Cargo.lock +++ b/sdk/Cargo.lock @@ -25,7 +25,7 @@ checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" [[package]] name = "aleo" -version = "0.2.0" +version = "0.2.1" dependencies = [ "anyhow", "hex", diff --git a/sdk/Cargo.toml b/sdk/Cargo.toml index c3a2c66..015963b 100644 --- a/sdk/Cargo.toml +++ b/sdk/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "aleo" authors = ["Konstantin Pandl", "Mike Turner", "Roman Proskuryakov"] -version = "0.2.0" +version = "0.2.1" description = "A Python sdk for zero-knowledge cryptography based on Aleo" edition = "2021" license = "GPL-3.0-or-later" diff --git a/sdk/docs/source/conf.py b/sdk/docs/source/conf.py index b801b2c..c39cedd 100644 --- a/sdk/docs/source/conf.py +++ b/sdk/docs/source/conf.py @@ -8,10 +8,10 @@ # -- Project information project = 'aleo' -copyright = '2023, AleoHQ' +copyright = '2019-2026, Provable Inc.' author = 'kpp' -version = '0.2.0' +version = '0.2.1' # -- General configuration diff --git a/sdk/pyproject.toml b/sdk/pyproject.toml index ca8844e..bd6e2ca 100644 --- a/sdk/pyproject.toml +++ b/sdk/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "aleo-sdk" description = "Python SDK for building zero-knowledge apps and DeFi on the Aleo network" -version = "0.2.0" +version = "0.2.1" readme = "Readme.md" license = {file = "LICENSE.md"} authors = [ diff --git a/sdk/python/aleo/abi.py b/sdk/python/aleo/abi.py index 2896f40..23be86f 100644 --- a/sdk/python/aleo/abi.py +++ b/sdk/python/aleo/abi.py @@ -1,4 +1,4 @@ -# Copyright (C) 2024 Provable Inc. +# Copyright (C) 2019-2026 Provable Inc. # SPDX-License-Identifier: GPL-3.0-or-later # pyright: reportUnknownMemberType=false, reportUnknownVariableType=false, reportUnknownArgumentType=false """Integration hook: ABI generation via the aleo-contract-abi-generator package.""" diff --git a/sdk/python/tests/test_algorithms.py b/sdk/python/tests/test_algorithms.py index 669af6c..3481a91 100644 --- a/sdk/python/tests/test_algorithms.py +++ b/sdk/python/tests/test_algorithms.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Aleo Systems Inc. +# Copyright (C) 2019-2026 Provable Inc. # This file is part of the Aleo SDK library. # The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/python/tests/test_records_extra.py b/sdk/python/tests/test_records_extra.py index 9efbce6..45d3db7 100644 --- a/sdk/python/tests/test_records_extra.py +++ b/sdk/python/tests/test_records_extra.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Aleo Systems Inc. +# Copyright (C) 2019-2026 Provable Inc. # This file is part of the Aleo SDK library. # Tests for W4a: record-scanning parity (GraphKey, commitments, tags, RVK, arithmetic). # Source notes: github.com/ProvableHQ/sdk@543b41e wasm/src/... diff --git a/sdk/src/account/address.rs b/sdk/src/account/address.rs index 572668e..2cc526a 100644 --- a/sdk/src/account/address.rs +++ b/sdk/src/account/address.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/account/compute_key.rs b/sdk/src/account/compute_key.rs index 593b398..81bb392 100644 --- a/sdk/src/account/compute_key.rs +++ b/sdk/src/account/compute_key.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/account/graph_key.rs b/sdk/src/account/graph_key.rs index 6334561..ed85572 100644 --- a/sdk/src/account/graph_key.rs +++ b/sdk/src/account/graph_key.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/account/mod.rs b/sdk/src/account/mod.rs index fea2ffc..6477135 100644 --- a/sdk/src/account/mod.rs +++ b/sdk/src/account/mod.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/account/private_key.rs b/sdk/src/account/private_key.rs index 5536019..7a412a2 100644 --- a/sdk/src/account/private_key.rs +++ b/sdk/src/account/private_key.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/account/private_key_ciphertext.rs b/sdk/src/account/private_key_ciphertext.rs index e21307f..efa52c9 100644 --- a/sdk/src/account/private_key_ciphertext.rs +++ b/sdk/src/account/private_key_ciphertext.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/account/record.rs b/sdk/src/account/record.rs index b9af8a2..1675fb5 100644 --- a/sdk/src/account/record.rs +++ b/sdk/src/account/record.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/account/signature.rs b/sdk/src/account/signature.rs index 0a20abb..3074770 100644 --- a/sdk/src/account/signature.rs +++ b/sdk/src/account/signature.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/account/text.rs b/sdk/src/account/text.rs index d971148..617578b 100644 --- a/sdk/src/account/text.rs +++ b/sdk/src/account/text.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/account/view_key.rs b/sdk/src/account/view_key.rs index a75bb02..8f7d0db 100644 --- a/sdk/src/account/view_key.rs +++ b/sdk/src/account/view_key.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/algebra/boolean.rs b/sdk/src/algebra/boolean.rs index 552b2b9..b93d546 100644 --- a/sdk/src/algebra/boolean.rs +++ b/sdk/src/algebra/boolean.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/algebra/field.rs b/sdk/src/algebra/field.rs index bc51604..edcb74f 100644 --- a/sdk/src/algebra/field.rs +++ b/sdk/src/algebra/field.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/algebra/group.rs b/sdk/src/algebra/group.rs index 3f93e92..7c0f787 100644 --- a/sdk/src/algebra/group.rs +++ b/sdk/src/algebra/group.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/algebra/integer.rs b/sdk/src/algebra/integer.rs index 82ca8de..b42fffa 100644 --- a/sdk/src/algebra/integer.rs +++ b/sdk/src/algebra/integer.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/algebra/mod.rs b/sdk/src/algebra/mod.rs index 2e0a310..ccd0cd3 100644 --- a/sdk/src/algebra/mod.rs +++ b/sdk/src/algebra/mod.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/algebra/scalar.rs b/sdk/src/algebra/scalar.rs index aa1575d..d852748 100644 --- a/sdk/src/algebra/scalar.rs +++ b/sdk/src/algebra/scalar.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/algorithms/bhp/bhp1024.rs b/sdk/src/algorithms/bhp/bhp1024.rs index b3a2c7d..4856dc2 100644 --- a/sdk/src/algorithms/bhp/bhp1024.rs +++ b/sdk/src/algorithms/bhp/bhp1024.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/algorithms/bhp/bhp256.rs b/sdk/src/algorithms/bhp/bhp256.rs index 555ea7d..9e94b6b 100644 --- a/sdk/src/algorithms/bhp/bhp256.rs +++ b/sdk/src/algorithms/bhp/bhp256.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/algorithms/bhp/bhp512.rs b/sdk/src/algorithms/bhp/bhp512.rs index b1ddea2..d08b660 100644 --- a/sdk/src/algorithms/bhp/bhp512.rs +++ b/sdk/src/algorithms/bhp/bhp512.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/algorithms/bhp/bhp768.rs b/sdk/src/algorithms/bhp/bhp768.rs index e2c313d..be0fc1a 100644 --- a/sdk/src/algorithms/bhp/bhp768.rs +++ b/sdk/src/algorithms/bhp/bhp768.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/algorithms/bhp/mod.rs b/sdk/src/algorithms/bhp/mod.rs index ce48d60..cde5eec 100644 --- a/sdk/src/algorithms/bhp/mod.rs +++ b/sdk/src/algorithms/bhp/mod.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/algorithms/mod.rs b/sdk/src/algorithms/mod.rs index bafeae7..63522ef 100644 --- a/sdk/src/algorithms/mod.rs +++ b/sdk/src/algorithms/mod.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/algorithms/pedersen/mod.rs b/sdk/src/algorithms/pedersen/mod.rs index 7cfccf5..e7d9fcf 100644 --- a/sdk/src/algorithms/pedersen/mod.rs +++ b/sdk/src/algorithms/pedersen/mod.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/algorithms/pedersen/pedersen128.rs b/sdk/src/algorithms/pedersen/pedersen128.rs index 999aca7..3561453 100644 --- a/sdk/src/algorithms/pedersen/pedersen128.rs +++ b/sdk/src/algorithms/pedersen/pedersen128.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/algorithms/pedersen/pedersen64.rs b/sdk/src/algorithms/pedersen/pedersen64.rs index 9107301..41dc05d 100644 --- a/sdk/src/algorithms/pedersen/pedersen64.rs +++ b/sdk/src/algorithms/pedersen/pedersen64.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/algorithms/poseidon/mod.rs b/sdk/src/algorithms/poseidon/mod.rs index 5817d5b..0f4ae2d 100644 --- a/sdk/src/algorithms/poseidon/mod.rs +++ b/sdk/src/algorithms/poseidon/mod.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/algorithms/poseidon/poseidon2.rs b/sdk/src/algorithms/poseidon/poseidon2.rs index e2c414d..9d6379a 100644 --- a/sdk/src/algorithms/poseidon/poseidon2.rs +++ b/sdk/src/algorithms/poseidon/poseidon2.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/algorithms/poseidon/poseidon4.rs b/sdk/src/algorithms/poseidon/poseidon4.rs index 7c5c21a..a065b60 100644 --- a/sdk/src/algorithms/poseidon/poseidon4.rs +++ b/sdk/src/algorithms/poseidon/poseidon4.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/algorithms/poseidon/poseidon8.rs b/sdk/src/algorithms/poseidon/poseidon8.rs index 2b90cfe..ac99e00 100644 --- a/sdk/src/algorithms/poseidon/poseidon8.rs +++ b/sdk/src/algorithms/poseidon/poseidon8.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/credits/mod.rs b/sdk/src/credits/mod.rs index a4fdc04..68d9ad5 100644 --- a/sdk/src/credits/mod.rs +++ b/sdk/src/credits/mod.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/lib.rs b/sdk/src/lib.rs index ec15e33..711b829 100644 --- a/sdk/src/lib.rs +++ b/sdk/src/lib.rs @@ -1,7 +1,7 @@ // pyo3 0.20 macro expansion triggers this lint on newer rustc; remove after pyo3 >= 0.21 upgrade #![allow(non_local_definitions)] -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/network/mod.rs b/sdk/src/network/mod.rs index 258b316..7a2f9a7 100644 --- a/sdk/src/network/mod.rs +++ b/sdk/src/network/mod.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/programs/authorization.rs b/sdk/src/programs/authorization.rs index 8a298e6..0e05889 100644 --- a/sdk/src/programs/authorization.rs +++ b/sdk/src/programs/authorization.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/programs/deployment.rs b/sdk/src/programs/deployment.rs index b495a17..c7abe4c 100644 --- a/sdk/src/programs/deployment.rs +++ b/sdk/src/programs/deployment.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/programs/dynamic_record.rs b/sdk/src/programs/dynamic_record.rs index ebc7b30..bac127a 100644 --- a/sdk/src/programs/dynamic_record.rs +++ b/sdk/src/programs/dynamic_record.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // // Licensed under GPL-3.0-or-later. diff --git a/sdk/src/programs/execution.rs b/sdk/src/programs/execution.rs index b19acee..1f7ea55 100644 --- a/sdk/src/programs/execution.rs +++ b/sdk/src/programs/execution.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/programs/execution_request.rs b/sdk/src/programs/execution_request.rs index 394cb79..358775e 100644 --- a/sdk/src/programs/execution_request.rs +++ b/sdk/src/programs/execution_request.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/programs/fee.rs b/sdk/src/programs/fee.rs index 0fcc6f9..c69bfdc 100644 --- a/sdk/src/programs/fee.rs +++ b/sdk/src/programs/fee.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/programs/identifier.rs b/sdk/src/programs/identifier.rs index 87e9ddc..c1933f4 100644 --- a/sdk/src/programs/identifier.rs +++ b/sdk/src/programs/identifier.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/programs/literal.rs b/sdk/src/programs/literal.rs index d1462df..3b7447f 100644 --- a/sdk/src/programs/literal.rs +++ b/sdk/src/programs/literal.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/programs/locator.rs b/sdk/src/programs/locator.rs index 5d89abb..bc90b71 100644 --- a/sdk/src/programs/locator.rs +++ b/sdk/src/programs/locator.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/programs/metadata.rs b/sdk/src/programs/metadata.rs index 85e4f89..0ac9755 100644 --- a/sdk/src/programs/metadata.rs +++ b/sdk/src/programs/metadata.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // // Licensed under GPL-3.0-or-later. diff --git a/sdk/src/programs/mod.rs b/sdk/src/programs/mod.rs index 89128ac..1b4ae60 100644 --- a/sdk/src/programs/mod.rs +++ b/sdk/src/programs/mod.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/programs/offline_query.rs b/sdk/src/programs/offline_query.rs index 416c331..ab595f2 100644 --- a/sdk/src/programs/offline_query.rs +++ b/sdk/src/programs/offline_query.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // // Licensed under GPL-3.0-or-later. diff --git a/sdk/src/programs/process.rs b/sdk/src/programs/process.rs index aaff61c..09f704a 100644 --- a/sdk/src/programs/process.rs +++ b/sdk/src/programs/process.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/programs/program.rs b/sdk/src/programs/program.rs index e1c832c..e6dcc26 100644 --- a/sdk/src/programs/program.rs +++ b/sdk/src/programs/program.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/programs/program_id.rs b/sdk/src/programs/program_id.rs index abfe676..dba686a 100644 --- a/sdk/src/programs/program_id.rs +++ b/sdk/src/programs/program_id.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/programs/proof.rs b/sdk/src/programs/proof.rs index 4c6b15f..26f1797 100644 --- a/sdk/src/programs/proof.rs +++ b/sdk/src/programs/proof.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // // Licensed under GPL-3.0-or-later. diff --git a/sdk/src/programs/proving_key.rs b/sdk/src/programs/proving_key.rs index f732675..0c7c334 100644 --- a/sdk/src/programs/proving_key.rs +++ b/sdk/src/programs/proving_key.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/programs/proving_request.rs b/sdk/src/programs/proving_request.rs index 0211852..e1bf97b 100644 --- a/sdk/src/programs/proving_request.rs +++ b/sdk/src/programs/proving_request.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/programs/query.rs b/sdk/src/programs/query.rs index 741e9c4..669946b 100644 --- a/sdk/src/programs/query.rs +++ b/sdk/src/programs/query.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/programs/response.rs b/sdk/src/programs/response.rs index 6d89da9..a0424e1 100644 --- a/sdk/src/programs/response.rs +++ b/sdk/src/programs/response.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/programs/trace.rs b/sdk/src/programs/trace.rs index 2f59bae..707cfc2 100644 --- a/sdk/src/programs/trace.rs +++ b/sdk/src/programs/trace.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/programs/transaction.rs b/sdk/src/programs/transaction.rs index 581c54e..349340a 100644 --- a/sdk/src/programs/transaction.rs +++ b/sdk/src/programs/transaction.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/programs/transition.rs b/sdk/src/programs/transition.rs index 7586926..70319ce 100644 --- a/sdk/src/programs/transition.rs +++ b/sdk/src/programs/transition.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/programs/value.rs b/sdk/src/programs/value.rs index c0f8f38..f80d70b 100644 --- a/sdk/src/programs/value.rs +++ b/sdk/src/programs/value.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/programs/verifying_key.rs b/sdk/src/programs/verifying_key.rs index 3a38664..9c1da79 100644 --- a/sdk/src/programs/verifying_key.rs +++ b/sdk/src/programs/verifying_key.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/sdk/src/types.rs b/sdk/src/types.rs index 1db3bfa..1466428 100644 --- a/sdk/src/types.rs +++ b/sdk/src/types.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2023 Aleo Systems Inc. +// Copyright (C) 2019-2026 Provable Inc. // This file is part of the Aleo SDK library. // The Aleo SDK library is free software: you can redistribute it and/or modify diff --git a/shield-swap-sdk/pyproject.toml b/shield-swap-sdk/pyproject.toml index 4eb4412..9cb1082 100644 --- a/shield-swap-sdk/pyproject.toml +++ b/shield-swap-sdk/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "shield-swap-sdk" -version = "0.2.0" +version = "0.2.1" description = "Python SDK for the shield swap AMM Dex on Aleo" readme = "README.md" requires-python = ">=3.10" diff --git a/shield-swap-sdk/python/aleo_shield_swap/__init__.py b/shield-swap-sdk/python/aleo_shield_swap/__init__.py index 3013fee..65b2724 100644 --- a/shield-swap-sdk/python/aleo_shield_swap/__init__.py +++ b/shield-swap-sdk/python/aleo_shield_swap/__init__.py @@ -45,7 +45,7 @@ shield_swap_tools as shield_swap_tools, ) -__version__ = "0.2.0" +__version__ = "0.2.1" __all__ = [ "ShieldSwap", "AsyncShieldSwap", "ApiClient", "AsyncApiClient", diff --git a/shield-swap-sdk/python/aleo_shield_swap/api.py b/shield-swap-sdk/python/aleo_shield_swap/api.py index 96e3bf0..8358688 100644 --- a/shield-swap-sdk/python/aleo_shield_swap/api.py +++ b/shield-swap-sdk/python/aleo_shield_swap/api.py @@ -53,6 +53,11 @@ class ApiClient: :meth:`authenticate` once with any Aleo account — the API authenticates by signature (challenge/verify), no funds required — or adopt a previously issued JWT via ``token=``/:meth:`set_token`. + + Auth alone is not enough for the gated endpoints: the account must also + have redeemed an invite code (``POST /access/redeem``), otherwise they + return 403 ``redeem an invite code to unlock access``. Check with + ``GET /access/status``. """ def __init__(self, base_url: str = DEFAULT_API_URL, session: Any | None = None, @@ -92,8 +97,9 @@ def authenticate(self, address: str, sign: Any) -> str: *sign* is a callable taking the challenge message string and returning an Aleo signature literal (``sign1…``) — e.g.:: - api.authenticate(str(acct.address), - lambda msg: str(aleo.account.sign(msg.encode(), acct))) + pk = aleo.testnet.PrivateKey.from_string(key) + api.authenticate(str(pk.address), + lambda msg: str(pk.sign(msg.encode()))) """ challenge = self._post("/auth/challenge", {"address": address}) signature = sign(challenge["data"]["message"]) diff --git a/shield-swap-sdk/tests/test_package.py b/shield-swap-sdk/tests/test_package.py index fa78ce3..e05475d 100644 --- a/shield-swap-sdk/tests/test_package.py +++ b/shield-swap-sdk/tests/test_package.py @@ -2,4 +2,4 @@ def test_version(): - assert aleo_shield_swap.__version__ == "0.2.0" + assert aleo_shield_swap.__version__ == "0.2.1"