[Report] Development of sputnikdao-cli (Oct 25→ 29, 2021)

Project title: Sputnikdao-cli

One-liner: Development of CLI tools for interacting with sputnik DAO v2.

Project DAO: NEAR Hispano SputnikDAO

Project Summary
Sputnikdao-cli is a tool to provide an alternative method for interacting with Sputnik DAO in terminal.

Series: Onboarding NEAR Certified Developer bootcamp participants

Project members

  • Alan Estrada - alan777.near
  • Jose Canales - joehank.near

Payout weeks:
Oct 25→ 29, 2021 (Mexico)

NEAR target accounts:
NEAR Hispano DAO

Payout request:
163 NEAR

Results:

This week we where focused in the token voting policy and its lifecycle

  1. We finished a written article for bounty lifecycle (pending of publishment)
  2. We did multiple testing for staking contract and at last we found that it is a NEP-145 contract and the documentation about it.
    This are some tests that were done.

    3.- We could solve the most of problems for token delegation and now we can give users a vote amount based on tokens.

    4.- We found a possible bug in staking contract: The ft_transfer_call needs the msg parameter to be empty, in other case it doesn’t complete the call.

    5.-The current sputnik UI crashes when updating to token voting:

    6.- We considerar that a readme for the staking contract can be a good idea: sputnik-dao-contract/sputnik-staking at main · cloudmex/sputnik-dao-contract · GitHub

For coming week we want to finish testing of token delegation and complete documentation required for the token weighted policy.

NPM Package:
npm official site for Sputnik DAO CLI

The record in video of daily updates is done and can be found in NEAR Hispano Discord server: NEAR Hispano

1 Like

Great work! Readme for staking is definitely a good idea.