Code Monkey home page Code Monkey logo

arc-200's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @temptemp3
  • ๐Ÿ‘€ Iโ€™m interested in ...
  • ๐ŸŒฑ Iโ€™m currently learning ...
  • ๐Ÿ’ž๏ธ Iโ€™m looking to collaborate on ...
  • ๐Ÿ“ซ How to reach me ...

arc-200's People

Contributors

chrisnevers avatar cswenor avatar farolanf avatar gouravmpk avatar nstanford5 avatar scottbolasevich avatar temptemp3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

arc-200's Issues

Can't get the server to run.

  1. Only one of these files should exist
    image

I went with Yarn and it warned me:
image

Afterwards, I run npm start and get this error:
image

Send Screen: Balance

When you select a token it should display you balance of that token on that screen.

Mobile Resizing

Ok mobile the screen zoom should be to fit screen. Right now you have to pinch out to make sure the screen fits.

Add extra token info page details

The token info page includes

Circulating Supply: 1234
Date of creation: 07/01/2023
Created at round: 31020682

As is the values displayed are hardcoded.

circulatingSupply = totalSupply - (balanceof(manager) + balanceOf(zeroAddress))

creationDate = format(roundTime)

creationRound = confirmedRound

Bounty: UI Improvement: Use dialog instead of window.prompt for Add Token button

Currently, ARC200 app uses window.prompt to accept token id to add token. There is an add asa/vsa and add arc200 button, 2 buttons.
Combine add token buttons into single button. Have user enter "Token Id." Check if token id is asset id of arc200 token and use else check for asset id else fail. In case of standard asset, optin if not in wallet yet before adding.
Bounty: 10k VIA
Please leave proposal in comments along with VOI Address to deliver rewards upon accepted submission. Account of address provided must have balance.

Implement NFD

The send to field and also the wallet display at the bottom should show your NFD if you have one.

Bountry: Reskin ARC200 App

Image

The ARC200 app exists to provide a way to display and interact with ARC200 tokens before wallet support. However, the maintainer would like to see it reskinned. A figma design will be provided.
Bountry: 1M VIA
Please leave proposal in comments along with VOI Address to deliver rewards upon accepted submission. Account of address provided must have balance.

Token Info page

You should be able to click on the token to find out the meta data of that token.

Transaction Page

You should be able to click on an individual token and see your transactions in that token. Both sent and received.

Send Button

If the send button is next to an individual token and you click on it, it should fill in that token that you are sending.

Contract update i: Add network seconds to events, update decimals check, rename managerAddress

Updates

  • Add network seconds to events
    Reasoning: Need network seconds in event to show datatimes in token info pages
  • Check that decimals are same as ASA (0-19)
    Reasoning: Need to make sure that ARC200 tokens are compatible with ASAs with respect to decimals
  • Rename managerAddress -> manager
    Reasoning: manager is less questionable than managerAddress

Plan

After completion of contract update and test script, the new contract will replace the existing contract. The app using the previous version of the contract will be left availabled at https://arc200v0.algodrop.net/

Add network seconds to events

There are 2 event types emitted by the contract.

  const E = Events({
    Transfer: [Address, Address, UInt],
    Approval: [Address, Address, UInt],
  });

Transfer emits the from to address and amount.

Propose change to

Transfer: [Address, Address, UInt, UInt],

The additional UInt will contain the networks seconds at the time the transaction block was confirmed.

Similarly, Approval have a similar update.

Check that decimals are same as ASA (0-19)

const MAX_DECIMALS = 19; // same as AS
...
      check(
        meta.decimals < MAX_DECIMALS,
        "ARC200: Decimals must be less than 19"
      );

Feature: Launch new token from app

Page to launcher new token: /mint
Includes form and submit button
If successful an alert shows and the token is added to their token list.
Also, a share link is provided.

Bounty: Fix token quantity display in send confirmation page (500 VIA)

If a user enters 1,000,000 for token quantity to send, in the the confirmation page token quantity is displayed as 1000000. Notice no commas.

Screenshot 2023-11-16 at 8 43 42

Definition of done:

  • Confirmation page token quantity is display with commas

Please leave proposal in comments along with VOI Address to deliver rewards upon accepted submission. Account of address provided must have balance.

Send Token Confirmation Screen

We need some kind of confirmation that I just sent, and also a confirmation that the blockchain received and processed the transaction.

Feature: add A-wallet

A-wallet temporarily removed. Will be added back.
Requires:

  • wc2 support
  • icon for button
  • qrcode modal (non defly)

Customizable Nodes

You should make it so that the network/nodes you communicate with are customizable.

This should be in a settings dropdown it should be:

  • Voi Disabled
  • Algorand Disabled
  • Algorand (Testnet)
  • Custom

Custom should give you a pop up where you can just input the address to the node and the indexer of your choice.

Bounty: Fix token address page missing information, add balance (500 VIA)

Screenshot 2023-11-19 at 12 35 23

Token address page (https://arc200.algodrop.net/#/token/6779767/address/P7DIQ5LXCUMDRVZC6RSXKIMBOYCXUIBHD3KYOF5JAXTN2WLRUNJ72KZI3U) is missing token metadata and should show balance of address.

Token Metadata

Id: 6779767
Name: Voi Incentive Asset
Symbol: VIA
Decimals: 6
Total Supply: 10,000,000,000
Circulating Supply: 1234 **
Date of creation: 07/01/2023 **
Created at round: 31020682 **

** Need to update

Please leave proposal in comments along with VOI Address to deliver rewards upon accepted submission. Account of address provided must have balance.

Missing bottom bar on the token screens

When you click into the token screens we lose the bottom bar. Also, if you don't have your wallet connected on those screens it doesn't tell you to connect it.

Add mint button

In order to access the mint page one must access it directly. The location is /mint.

Bounty: add explorer links

As a user of ARC200 app, I would like to navigate to Voi Observer (block explorer) by clicking address in token address page and token id in token page.

Additional info

Screenshot 2023-11-19 at 12 57 11

Add explorer account links to https://voi.observer/explorer/account/ACP4CXBXEVEYH6LKZRFWF2HG3FEESIWJWTYBSTQELR7K46G3IHYFAPFX3E/transactions

Screenshot 2023-11-19 at 12 56 12

Add explorer token app link to
https://voi.observer/explorer/application/6779767/transactions

Please leave proposal in comments along with VOI Address to deliver rewards upon accepted submission. Account of address provided must have balance.

Contract update ii: ARC

In response to ARC200 discussion (algorandfoundation/ARCs#223) and improved compatibility with ERC20, uinit256 will be used for totalSupply, balance, and allowance values.
Other updates include:

  • decimals is checked to be less than 256 instead of 19
  • no more timestamp argument in events

Todo

  • Update contract
  • Disable Algorand (Mainnet) node config
  • Make previous version of app/frontend available at arc200v1.algodrop.net
  • Destroy any old contracts if possible, especially Algorand MainNet that has not been distributed.
    1139040208
  • Update scripts to use new version of contract
  • Migrate Algorand TestNet ARC200
  • Update app/frontend to use new version of contract

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.