Giter Club home page Giter Club logo

btc-on-ethereum's People

Contributors

lastmjs avatar

Watchers

 avatar  avatar

btc-on-ethereum's Issues

Make BTC and ETH supply websites

I think it would be great to have a site where you can see historical and future supply of BTC and ETH. It can also be a place to educate others on the different standards and such

Add historical charts

  • Use this tool to get the topics: https://emn178.github.io/online-tools/keccak_256.html
  • I think we might want to use the Mint/Minted and Burn/Burned events...the transfer events to and from the 0 address seem to work relatively well, but the problem is that someone could send tokens to the 0 address, making it inaccurate. There might be other issues as well, whereas we know that burn and mint events are exactly what they say
  • It might be nice to see the history of each coin...we would need to go through the events. I believe most of the contracts will emit a Minted event, I'm not sure how computationally intensive it will be, I'm hoping to be able to do it all client-side. Make sure to do really good client-side caching
  • I am learning how events/logs work...keep researching
  • I think I should use The Graph and create a subgraph if one doesn't exist. For now, this will be free, so I'll get free indexing. Also, I would prefer to have a GraphQL API available for this anyway

Getting the historical data:

  • WBTC
    • Mint event
    • Transfer from address(0)
  • HBTC
    • Minted event
    • Transfer from address(0x0)
  • imBTC
    • Minted event
    • Transfer from address(0)
  • sBTC
    • ? seems to be a proxy
  • pBTC
    • Minted event
    • Transfer from address(0)
  • TBTC
    • Transfer from address(0)
  • renBTC
    • Transfer from address(0)

Update the TBTC contract

The first deploy of TBTC failed for some reason, so I'll probably need to update the contract address and the href once they redeploy

Urgent fixes to be made

  • The chart seems to push its neighbor over!
  • Some desktop screens are very very messed up! It looks like the tokens aren't showing on the left side for some reason, they're being pushed over too much
  • Fix height adjustment when description text changes
  • Add chart loading indicator
  • Fix description thing that pushes the tokens over
    • This might have something to do with the pushover thing above
  • iPad won't show the bottom information unless you really scroll down hard
  • Scrolling within scrolling might be bad on mobile...also, when the user clicks there's no indication that anything happened, so they might not know that the chart changed up top

Be wary of sBTC's proxies

So, sBTC has had at least two proxies. The first one had a total supply that I didn't account for. I'm not sure if the proxies can add total supply at any time. Also, at any time the total supply can be set by the owner of the proxy, which isn't necessarily good. I need to watch out for this.

Consider adding hover explanations for each token

  • Some of the tokens might need caveats...for example, sBTC is a synthetic, so BTC is not locked up on Bitcoin. To be open and transparent we might need to let the viewer see this kind of information up front

Make mobile beautiful

The graph is going to be really small on mobile, it would be nice to pop it up to the top...also, the information fixed at the bottom is too wide on mobile

Sources of BTC on Ethereum

  • WBTC
  • IMBTC
  • TBTC
  • Synthetix BTC (sBTC) I'm not sure if synthetic assets should count?
  • Provable BTC (pBTC)
  • hBTC
  • renBTC
  • mBTC (I'm not sure it's launched yet)

Create the secret message app to distribute the ebook

I wanted to build this app anyway, but I think it will be a great way to verify the people how order or preorder the ebook...also, I wonder if there is a way to create a one-time link for the book as well.

So, when someone order the ebook, I will have their address. I can then send them an encrypted message, encrypted using my private key and their public key or address from the transaction. I will send the transaction to them. They will be able to decrypt the message. It will have a link to the ebook...perhaps even the ebook itself will be stored on swarm or IPFS...I think this could work and will be awesome!

Bitcoin's Journey to Ethereum

I think this is the title that I'd like the book to have...I think people would really be interested in reading about all of the ways that Bitcoin is moving to Ethereum, and the potential futures that entails. Potential problems, tradeoffs, decentralization, fees, etc...

I would like to start off with a presale of the book to see if anyone is even interested in it. I'm thinking something like $10 payed in USD/DAI (make a point about accepting only crypto stablecoins). This would get the purchaser a spot in the private Telegram group. There I will be publishing chapters as they come out, and soliciting feedback...what if someone takes the pre-published copies and just publishes it themself? Well, perhaps that's a risk we'll have to take

Be careful with block reorgs

Apparently there are rather frequent block reorgs...I might want to only fetch to a certain number of blocks below the most recent to ensure I don't get caught up in that

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.