Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Task] generateAccount function in Account manager uses JS SDK #98

Closed
zinoadidi opened this issue Mar 30, 2021 · 15 comments
Closed

[Task] generateAccount function in Account manager uses JS SDK #98

zinoadidi opened this issue Mar 30, 2021 · 15 comments
Assignees
Labels
ready task ready for development third-party tasks outside tnb-js sdk

Comments

@zinoadidi
Copy link
Contributor

zinoadidi commented Mar 30, 2021

Task

Contributors are able to complete this task and earn thenewboston coins. Check out the labels to learn how much you can earn for contributing by completing this task. Please make sure to be honest if you wish to contribute by saying you can't finish this and we can just un-assign you with no harm done! There is no point in delaying tasks from being completed for miscommunication!

Overview

generateAccount function in Account manager uses JS SDK

Behavior

Account manager uses js sdk installed from NPM https://www.npmjs.com/package/thenewboston
createBlock function in Account manager uses JS SDK

/* code examples are awesome */

Please ask for this task to be assigned to you and earn and its sweet reward 😉

Remember to include your account number in your PR description for us to pay you 💰

@AbhayAysola
Copy link
Contributor

We can generate an account by just using new tnb.Account()

@tomijaga
Copy link
Contributor

Shouldn't this be in the Account Manager Repo?

@zinoadidi
Copy link
Contributor Author

@tomijaga to be honest i want to have them here for better management of the tasks;
All tasks that are created here are just to help guild the process as I have agreed with Justin to take charge of the integration process.
All small tasks here will be connected to the main task in the account manager repo thenewboston-blockchain/Account-Manager#585 and will not generate any return from here;

The final bounty will be paid out as specified on the main task in the account manager

Here we can track the process of integration and make changes to SDK as needed when and if things arise during the integration process.

For instance, if during the switching you find a new method that is missing, then the PR for such method on SDK would reference this task or related task

@tomijaga
Copy link
Contributor

Yh this makes sense

@zinoadidi zinoadidi added ready task ready for development third-party tasks outside tnb-js sdk and removed Not Ready Task is not ready for development labels Apr 1, 2021
@zinoadidi
Copy link
Contributor Author

@tomijaga i will work on publishing a new version to npm;
Justin already made a dedicated branch for you to work from in the account manager repo.
Basically, we are ready when you are :)
Also, two new contributors will join our SDK team, let me know if you need some sort of assistance and we can work out something

@tomijaga
Copy link
Contributor

tomijaga commented Apr 1, 2021

@zinoadidi I'm ready. I can start working on it once the npm package is published.

@zinoadidi
Copy link
Contributor Author

@tomijaga it's published. update me how it goes, what problems you face, etc

@tomijaga
Copy link
Contributor

tomijaga commented Apr 1, 2021

@zinoadidi Done with the account functions. Need to get the code reviewed and merge before i can move on to the next class

@zinoadidi
Copy link
Contributor Author

All merge can go to the branch created for this integration task, let's get any one who is active on account manager repo to look at it and merge after.

I would say once all work relating to account section is done, then we can look at getting Justin involve and see how we can get the updates to development branch.

So we just do it batch by batch basically

@zinoadidi
Copy link
Contributor Author

@tomijaga i looked at PR, seems you have done already all account-related things. Good job!

I guess we wait for Justin, not sure he will give us write access but i will leave a comment as well.

Will create the next set of tasks

@tomijaga
Copy link
Contributor

tomijaga commented Apr 1, 2021

Yh I hope he gives us access. It will make it faster. I can just push the changes and have him review when it's all done

@zinoadidi
Copy link
Contributor Author

Tasks are now created;
will add some more tomorrow

you can filter issues / tasks relating to this project with is:open is:issue project:thenewboston-developers/thenewboston-js/4

@tomijaga
Copy link
Contributor

tomijaga commented Apr 1, 2021

@zinoadidi I also found some functions that are missing from the sdk:

  • getSingleBank
  • getSingleValidator
  • getSingleAccount
  • updateValidatorTrust

I will create tasks for them

@zinoadidi
Copy link
Contributor Author

@tomijaga it gets even better now;
So i will close all linked tasks as resolved, lets look towards the next steps;
Will try to download the version containing the changes you made and test it in my free time

@zinoadidi
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready task ready for development third-party tasks outside tnb-js sdk
Projects
None yet
Development

No branches or pull requests

3 participants