ProvableHQ / sdk

A Software Development Kit (SDK) for Zero-Knowledge Transactions
https://provable.tools
GNU General Public License v3.0
584 stars 468 forks source link

Migrating to ProvableHQ and Provable URLs #893

Closed onetrickwolf closed 2 months ago

onetrickwolf commented 2 months ago

Motivation

Migrate Aleo URLs and packages to Provable. Keep Aleo references when referring to the Aleo network, this change is just to reflect moving the SDK to Provable Inc. (the company).

Example of distinction: Things referring to the company like @aleohq with be migrating @provablehq but things referring to the network like create-aleo-app will remain since it's referring to the Aleo network and creating an app for the Aleo network.

Test Plan

onetrickwolf commented 2 months ago

https://www.npmjs.com/package/@provablehq/wasm and https://www.npmjs.com/package/@provablehq/sdk published. Going to test then probably increment and republish before flagging aleohq packages as deprecated.

onetrickwolf commented 2 months ago

It looks like there's some weird spurious test failures.

But otherwise this LGTM

Yeah @Pauan the failures were from tests hitting the network and checking for accounts that existed in testnet3 but not in testnet-beta. I talked to @iamalwaysuncomfortable about this and we probably shouldn't have unit tests that are hitting the network. We can just set up a stub or something and if we really want to check the network maybe make it an e2e that runs on merge as a sanity check. But yeah I don't really want test flake from network availability. I disabled the test for now.

onetrickwolf commented 2 months ago

@christianwwwwwwww is going to fix the create-aleo-app examples in another PR, was a bit too much to fit in this one.