Coder Social home page Coder Social logo

multisig-tool's People

Contributors

angelblock avatar denisoftus avatar frol avatar ilblackdragon avatar kisgus avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

multisig-tool's Issues

[DEV] Add co-signers to the multisig contract

πŸ“‹ User-story

Chris wants to add co-signers to the multisig contract

Up to discuss how exactly it will look like yet.

πŸŽ‰ Acceptance Criteria

  • [ ]
  • [ ]
  • [ ]

πŸ€Όβ€β™‚οΈ Reviewer

@

πŸ”— Relevant links

[EPIC] Create a new multisig contract

  • Create a new multisig contract #22
  • Add co-signers to the multisig contract #26
  • Set the number of signers required to finish transaction #27
  • Propose to remove co-signers from the multisig contract #30
  • Approve/decline existing proposals to remove co-signers from the multisig contract #31

Localization

At some point we will need the localization.
We need to discuss when and how should it be done (right now, or later, or no info enough to have it now etc etc) and then put the outcome to this particular ticket

[DEV] Preparations

  • setup CI/CD (1-2d) @shadowray
  • setup architecture 1-2d @eclipseeer
  • user stories flow planning @4iresan
  • reqs (browser/resolutions (full HD/4k), ΠΌΠΈΠ½ΠΈΠΌΠ°Π»ΡŒΠ½Ρ‹ΠΉ экран Π½Π° ΠΊΠΎΡ‚ΠΎΡ€Ρ‹ΠΉ ΠΏΠ»Π°Π½ΠΈΡ€ΡƒΠ΅ΠΌ Π°ΡƒΠ΄ΠΈΡ‚ΠΎΡ€ΠΈΡŽ)

Redux-toolkit

details of Redux-toolkit, local storage:

  1. move auth to redux
  • isSignedIn, accountId
  • signIn, signOut, checkAuthentication(auto-login when closed tab without logging out)
    getSignInStatus, getAccountId
  1. move accounts to redux
  • accounts list
  • addAccount, loadAccount
  • getAccountList
  1. redux-persist for accounts

PR below:
#28

[DEV] Connecting to Multisig via Ledger

πŸ“‹ User-story

Chris wants to connect to multisig with ledger, so that he can initiate and sign transactions in the multisig with his ledger

πŸŽ‰ Acceptance Criteria

  • If Cris uses ledger - when entering the multisig interface Criss should see that he is connected
  • Criss see the list of accounts associated with Ledger

πŸ€Όβ€β™‚οΈ Reviewer

@

πŸ”— Relevant links

[UX] See active multisig sets you are part of

πŸ“‹ User-story

Chris wants to see list of active multisig sets he is part of

πŸŽ‰ Acceptance Criteria

  • Chris wants to see list of active multisig sets he is part of
  • Chris wants to be able to switch between multisig sets he is part of
  • Chris wants to see details of a selected multisig

Multisigs options

  • Chris wants to have options for the multisigs from a list
  • Option to make mulstisig default
  • Option to edit multisig
  • Option to remove multisig
  • ??? Any other options

πŸ€Όβ€β™‚οΈ Reviewer

@

πŸ”— Relevant links

Other assets usage

πŸ“‹ User-story

Chris wants to manage not only NEAR in his multisig

πŸŽ‰ Acceptance Criteria

  • [ ]
  • [ ]
  • [ ]

πŸ€Όβ€β™‚οΈ Reviewer

@

πŸ”— Relevant links

[UX] Associated accounts information (via Ledger)

πŸ“‹ User-story

Connecting via Ledger might have multiple accounts connected. We need to provide nice UX for Chris to be able to switch between accounts and to see the information on those accounts

πŸŽ‰ Acceptance Criteria

  • Chris wants to see the list of associated accounts once the connection is done via Ledger
  • Chris wants to switch between the associated accounts once the connection is done via Ledger
  • Chris wants to have some information on selected associated account (what info do we want to show?)
  • Chris wants to click any associated account and see full information on Near Explorer
  • Disconnection button should disconnect from all ledger accounts, or remove the specific one while the session is running?

πŸ€Όβ€β™‚οΈ Reviewer

@

πŸ”— Relevant links

[DEV] Disconnect form the multisig via NEAR wallet

πŸ“‹ User-story

Chris wants to disconnect form the multisig connected via near.wallet.org so no data would be accessible afterwards

πŸŽ‰ Acceptance Criteria

  • When Cris logs out - he should be landed to homepage
  • No data should be available (both info and actions) after Cris logs out
  • When Cris uses any other account or method to log login - no previous info should be shown

πŸ€Όβ€β™‚οΈ Reviewer

@

πŸ”— Relevant links

[UX] Create a new multisig contract

πŸ“‹ User-story

Chris wants to create a new multisig contract

πŸŽ‰ Acceptance Criteria

  • Create new multisig welcome screen
  • Create new multisig from multisigs list menu

Multisig contract creation screen with input fields for:

  • Multisafe name

  • Co-signer name / address

  • Add another co-signer

  • Confirmations amount

  • Creating new multisig in progress

  • New multisig created successfully

  • Something went wrong

πŸ€Όβ€β™‚οΈ Reviewer

@

πŸ”— Relevant links

[DEV] Create a new multisig contract

πŸ“‹ User-story

After Chris is succesfully logged in to NEAR multisig interface - he wants to have the option to create a new multisig contract

πŸŽ‰ Acceptance Criteria

  • [UX] Chris see button to create new multisig contract
  • After Chris hit the button - there should be an option to set the amount of co-signers and number of signs required
  • After Chris created a new multisig contract - it should be shown in Chris's multisig list

πŸ€Όβ€β™‚οΈ Reviewer

@

πŸ”— Relevant links

Mobile version for the app

Do we plan to have mobile version somewhere in next versions?

As we are building a webapp here I assume we could also make that work eventually on mobile - the issue however being the signing of tx’s etc, which only works well in β€œdapp browsers” etc.
So I would also push the Mobile question for now. I know some frameworks make it not very hard to push native mobile apps out of webapps too - and I think generally thats the standard for multisigs on mobile to be native apps

So I personally dont know any who really needs multisig for mobile
What some people do is using a mobile wallet as the signing key
Then scan via wallet connect on a web-interface
High amounts = ledger often, and I dont see anyone connecting ledger to mobiles
We are working with wallet connect to have support, but might take some time before it is implemented
That would then probably allow every NEAR compatible mobible wallet to sign tx’s via the MULTI SAFE web-interface at that time

[UX] Initiate / approve / decline transaction

πŸŽ‰ Acceptance Criteria

  • Initiate transaction screen
  • see badge with pending transactions on the right
  • Sratuses for transactions (success / canceled / pending)

πŸ€Όβ€β™‚οΈ Reviewer

@

πŸ”— Relevant links

[DEV] Connecting to Multisig with NEAR wallet

πŸ“‹ User-story

Chris wants to connect to the multisig with near.wallet.org so that he can initiate and sign transactions in the multisig via web

πŸŽ‰ Acceptance Criteria

  • Cris has the button to login
  • When Cris hits the login button - he should be redirected to near.wallet.org with the ability to login
  • After Cris is logged in to near.wallet.org - he should be automatically returned to multisig interface with his account details

πŸ€Όβ€β™‚οΈ Reviewer

@

πŸ”— Relevant links

[DEV] Disconnect form the multisig connected via Ledger

πŸ“‹ User-story

Chris wants to disconnect form the multisig connected via Ledger so no data would be accessible afterwards

πŸŽ‰ Acceptance Criteria

  • When Cris disconnects the Ledger - he should be automatically logged out from multisig
  • When Cris is logged out - he should be landed to homepage
  • No data should be available (both info and actions) after Cris disconnects
  • When Cris uses any other account or method to log login - no previous data should be shown

πŸ€Όβ€β™‚οΈ Reviewer

@

πŸ”— Relevant links

[UX] Login screens

πŸ“‹ User-story

Chris wants to login into multisig web app

Find current design here

πŸŽ‰ Acceptance Criteria

  • Login button on the homepage
  • Login button raises popup with connection options - via NEAR wallet or via Ledger device
  • Conncecting via ledger screen
  • Connecting via NEAR wallet
  • Load existing multisafe
  • Select a multisafe to launch
  • Homescreen for selected multisig
  • Multisafe list
  • Multisafe list item's options
  • Account icon and it's options
  • Disconnect button

πŸ€Όβ€β™‚οΈ Reviewer

@

πŸ”— Relevant links

[Epic] Connecting to Multisig

  • Connecting to Multisig with NEAR wallet #17
  • Connecting to Multisig via NEAR wallet #16
  • Disconnect form the multisig connected via Ledger #19
  • Disconnect form the multisig via NEAR wallet #20

WITHDRAW function under STAKING does not work

πŸ“‹ We tried to withdraw the staking balance from nfendowment51.near. It fails with "Error: Smart contract panicked: panicked at 'Not enough unstaked balance to wihdraw', src/internal.rs:47:9"

image (5)
Potentially, the function call wasn’t set up properly β€” if it’s trying to withdraw from the perspective of the root account rather than the lockup? There is enough on there for the lockup account and it’s allowed to withdraw:
View call: okexpool.poolv1.near.get_account({"account_id": "c714b75133376c47a913777cbf1ea44719cb872b.lockup.near"})
{
account_id: 'c714b75133376c47a913777cbf1ea44719cb872b.lockup.near',
unstaked_balance: '999950004761735380336258840711',
staked_balance: '0',
can_withdraw: true
}

πŸŽ‰ Fix the WITHDRAW function to work.

  • [ ]
  • [ ]
  • [ ]

πŸ€Όβ€β™‚οΈ Illia, Erik, Yessin

@

πŸ”— Relevant links

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.