Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

Pack Nightfall SDK #1

Merged
merged 6 commits into from
May 25, 2022
Merged

Pack Nightfall SDK #1

merged 6 commits into from
May 25, 2022

Conversation

imagobea
Copy link
Contributor

@imagobea imagobea commented May 23, 2022

TODO

  • Change repository visibility to public

This PR is the first step towards extracting and publishing nightfall-sdk "v1".
Requires also updates on the nightfall public repo, but let's merge here first to have a working version on master ASAP.

Changes:

  • Ported files from nightfall public repo

  • Check this commit for differences re nf3.js file (this is about logger - 11 instances have been replaced simply with console for now)

  • Added package.json. We have some time to think about some of the fields till we publish the NPM package, e.g.:

    • Package name to use @maticnetwork/nightfall-sdk scope, as other repos do
    • What's the license
    • Versioning
    • Etc.

Let me know if this is enough as a first step. Cheers!

@imagobea imagobea marked this pull request as ready for review May 24, 2022 07:49
@imagobea imagobea requested a review from druiz0992 May 24, 2022 14:28
clientApiUrl: 'https://client1.testnet.nightfall3.com',
optimistApiUrl: 'https://optimist1.testnet.nightfall3.com',
optimistWsUrl: 'wss://optimist1-ws.testnet.nightfall3.com',
web3WsUrl: 'wss://ropsten1-ws.testnet.nightfall3.com',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is one of the things we need to think about. web3 cannot be passed like this because its private.

@imagobea imagobea force-pushed the bea/pack-nightfall-sdk branch from 9f3d171 to 9c8df11 Compare May 25, 2022 16:54
@imagobea imagobea merged commit d4b2370 into master May 25, 2022
@imagobea imagobea deleted the bea/pack-nightfall-sdk branch May 25, 2022 16:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants