Top
@Kitty4D on the B-Chain
just my adventures with the blockchain, web3, cryptocurrencies, and NFTs
Developer, Content Creator, NFT Hodler, Degen, Former Camgirl
aka @Kitty4DHD, @kitty4Do, $kitty4d
kitty4d Profile Photo

Post by kitty4d

2021-12-29
• 8 months ago
IMAGE
i will write more in-depth after i get further along, but i'm creating a javascript file that can hit all of the DeSo backend API endpoints that do not require a login. i won't use many of them but, i'm doing it for some of the API calls, why not all of them that require just the public key and nothing else. i'll make all the code available when i'm done! any devs that want to critique this code, feel free, i would like to hear it. but this is very little that is shown, just a quick photo! once i make a github repo i'll let you tear me apart
Photo for Post
paulburke Profile Photo kitty4D Profile Photo
Likes:
15
Diamonds:
10
Reposts:
0
Quote Reposts:
1

comments

paulburke Profile Photo
paulburke
2021-12-29
• 8 months ago
Heads up: https://npmjs.com/package/deso.js Contributions welcome! https://github.com/bitclouthunt/deso.js
Likes:
1
Diamonds:
1
Reposts:
0
Quote Reposts:
0
kitty4D Profile Photo
kitty4D
2021-12-29
• 8 months ago
yeah i had looked at it, i have it, i'll take another look at it but i am doing this in a tumblr site so i wasn't sure with the dependencies if i could make it work. what i'm building now is quick and simple, just JS with jQuery (the Tumblr theme uses it and for now I am just going to roll with it) and then I grabbed fetch.js. I've just about got all the API calls done, then it's just a matter of converting that JSON into somethin pretty!
Likes:
1
Diamonds:
1
Reposts:
0
Quote Reposts:
0
{
   PostHashHex: "b48e51eaf0e9f8d0f344d4d653befe8ce0c952881c4db1f47bf95cff19cf7d83",
   PosterPublicKeyBase58Check: "BC1YLgbCAxYSSn97DArZtbwwhVUtHtjUfGZzKojLBKfxP8wbRHvb2Gz",
   ParentStakeID: "",
   Body: "i will write more in-depth after i get further along, but i'm creating a javascript file that can hit all of the DeSo backend API endpoints that do not require a login. \n\ni won't use many of them but, i'm doing it for some of the API calls, why not all of them that require just the public key and nothing else.\n\ni'll make all the code available when i'm done! any devs that want to critique this code, feel free, i would like to hear it. but this is very little that is shown, just a quick photo! once i make a github repo i'll let you tear me apart ",
   ImageURLs: [
      "https://images.deso.org/5ac543d5a73219e597b74607cc8e95ba4bd872f353dfd52b5b6da2f3fbcf4039.webp"
   ],
   VideoURLs: null,
   RepostedPostEntryResponse: null,
   CreatorBasisPoints: 1000,
   StakeMultipleBasisPoints: 12500,
   TimestampNanos: 1640783902626765000,
   IsHidden: false,
   ConfirmationBlockHeight: 90849,
   InMempool: false,
   ProfileEntryResponse: {
      Username: "kitty4d"
   },
   Comments: null,
   LikeCount: 15,
   DiamondCount: 10,
   PostEntryReaderState: null,
   InGlobalFeed: false,
   InHotFeed: false,
   IsPinned: false,
   PostExtraData: {},
   CommentCount: 2,
   RepostCount: 0,
   QuoteRepostCount: 1,
   ParentPosts: null,
   IsNFT: false,
   NumNFTCopies: 0,
   NumNFTCopiesForSale: 0,
   NumNFTCopiesBurned: 0,
   HasUnlockable: false,
   NFTRoyaltyToCreatorBasisPoints: 0,
   NFTRoyaltyToCoinBasisPoints: 0,
   AdditionalDESORoyaltiesMap: {},
   AdditionalCoinRoyaltiesMap: {},
   DiamondsFromSender: 0,
   HotnessScore: 0,
   PostMultiplier: 0,
   RecloutCount: 0,
   QuoteRecloutCount: 1,
   RecloutedPostEntryResponse: null
}
[
   {
      PostHashHex: "3c48dacabf22d76d1e750e52af87277197f34938d579e38fa65e13df303307d0",
      PosterPublicKeyBase58Check: "BC1YLjAijLsMRvqNjhHXNW2574MzoCV788wxqRP6x6qzi7vqGHGK3ce",
      ParentStakeID: "b48e51eaf0e9f8d0f344d4d653befe8ce0c952881c4db1f47bf95cff19cf7d83",
      Body: "Heads up: https://npmjs.com/package/deso.js\n\nContributions welcome! https://github.com/bitclouthunt/deso.js",
      ImageURLs: null,
      VideoURLs: null,
      RepostedPostEntryResponse: null,
      CreatorBasisPoints: 1000,
      StakeMultipleBasisPoints: 12500,
      TimestampNanos: 1640816797812385800,
      IsHidden: false,
      ConfirmationBlockHeight: 90945,
      InMempool: false,
      ProfileEntryResponse: {
         PublicKeyBase58Check: "BC1YLjAijLsMRvqNjhHXNW2574MzoCV788wxqRP6x6qzi7vqGHGK3ce",
         Username: "paulburke",
         Description: "Developer - paulburke.co\n\n🧑‍💻 @plus | @DesogenApp | @overridentity | @RecoverSeed",
         IsHidden: false,
         IsReserved: false,
         IsVerified: true,
         Comments: null,
         Posts: null,
         CoinEntry: {
            CreatorBasisPoints: 1000,
            DeSoLockedNanos: 28425904432,
            NumberOfHolders: 292,
            CoinsInCirculationNanos: 30417450523,
            CoinWatermarkNanos: 52536553109,
            BitCloutLockedNanos: 28425904432
         },
         DAOCoinEntry: {
            NumberOfHolders: 0,
            CoinsInCirculationNanos: "0x0",
            MintingDisabled: false,
            TransferRestrictionStatus: "unrestricted"
         },
         CoinPriceDeSoNanos: 2803578878,
         CoinPriceBitCloutNanos: 2803578878,
         UsersThatHODL: null,
         IsFeaturedTutorialWellKnownCreator: false,
         IsFeaturedTutorialUpAndComingCreator: false,
         ExtraData: null,
         DESOBalanceNanos: 42278912548,
         BestExchangeRateDESOPerDAOCoin: 0
      },
      Comments: null,
      LikeCount: 1,
      DiamondCount: 1,
      PostEntryReaderState: {
         LikedByReader: true,
         DiamondLevelBestowed: 1,
         RepostedByReader: false,
         RepostPostHashHex: ""
      },
      IsPinned: false,
      PostExtraData: {
         Node: "1"
      },
      CommentCount: 1,
      RepostCount: 0,
      QuoteRepostCount: 0,
      ParentPosts: null,
      IsNFT: false,
      NumNFTCopies: 0,
      NumNFTCopiesForSale: 0,
      NumNFTCopiesBurned: 0,
      HasUnlockable: false,
      NFTRoyaltyToCreatorBasisPoints: 0,
      NFTRoyaltyToCoinBasisPoints: 0,
      AdditionalDESORoyaltiesMap: {},
      AdditionalCoinRoyaltiesMap: {},
      DiamondsFromSender: 0,
      HotnessScore: 0,
      PostMultiplier: 0,
      RecloutCount: 0,
      QuoteRecloutCount: 0,
      RecloutedPostEntryResponse: null,
      Depth: 0
   },
   {
      PostHashHex: "21755136eec6993aafd5a5e01ba2d8ac538743e380b9b19eac0f16a62e20d899",
      PosterPublicKeyBase58Check: "BC1YLgbCAxYSSn97DArZtbwwhVUtHtjUfGZzKojLBKfxP8wbRHvb2Gz",
      ParentStakeID: "3c48dacabf22d76d1e750e52af87277197f34938d579e38fa65e13df303307d0",
      Body: "yeah i had looked at it, i have it, i'll take another look at it but i am doing this in a tumblr site so i wasn't sure with the dependencies if i could make it work.\n\nwhat i'm building now is quick and simple, just JS with jQuery (the Tumblr theme uses it and for now I am just going to roll with it) and then I grabbed fetch.js.\n\nI've just about got all the API calls done, then it's just a matter of converting that JSON into somethin pretty!",
      ImageURLs: null,
      VideoURLs: null,
      RepostedPostEntryResponse: null,
      CreatorBasisPoints: 1000,
      StakeMultipleBasisPoints: 12500,
      TimestampNanos: 1640818371152801300,
      IsHidden: false,
      ConfirmationBlockHeight: 90951,
      InMempool: false,
      ProfileEntryResponse: {
         PublicKeyBase58Check: "BC1YLgbCAxYSSn97DArZtbwwhVUtHtjUfGZzKojLBKfxP8wbRHvb2Gz",
         Username: "kitty4D",
         Description: "kitty.fourdown.org\nkitty.fourdown.org/media/images\nkitty.fourdown.org/media/videos\n\nwww.youtube.com/channel/UCyWRuGbRn_br0Mu4tDavnWA\n\nTwitter/IG @kitty4Do\n\n\n",
         IsHidden: false,
         IsReserved: false,
         IsVerified: true,
         Comments: null,
         Posts: null,
         CoinEntry: {
            CreatorBasisPoints: 669,
            DeSoLockedNanos: 24921878349,
            NumberOfHolders: 41,
            CoinsInCirculationNanos: 28387117318,
            CoinWatermarkNanos: 31128707817,
            BitCloutLockedNanos: 24921878349
         },
         DAOCoinEntry: {
            NumberOfHolders: 0,
            CoinsInCirculationNanos: "0x0",
            MintingDisabled: false,
            TransferRestrictionStatus: "unrestricted"
         },
         CoinPriceDeSoNanos: 2633787773,
         CoinPriceBitCloutNanos: 2633787773,
         UsersThatHODL: null,
         IsFeaturedTutorialWellKnownCreator: false,
         IsFeaturedTutorialUpAndComingCreator: false,
         ExtraData: {
            DAOPublicKeysPurchased: "BC1YLiY1xTwxS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dL3iWng2y7VhgDvVuxSZddUQnksj67Wt5zfirzdbtFZ,BC1YLig8w3ReQU6c6FmD63sEaJJ3h4LkQwM832esom98aHGUCkVhKyv,BC1YLgxr4MHqWPegTm2vKw4Qp3FEvr7p2rjxWZUYWaDHLsXUHdw8DCf",
            DerivedPublicKey: "BC1YLgdhYLwmNmDmEDL4wn9abou2jwpdVfcCKVcLBNUmNbUsWXnysQ6",
            DiscordURL: "kitty4D#6969",
            DisplayName: "Kitty4D on the B-Chain",
            FeaturedImageURL: "https://images.deso.org/19298b88cdea9eeed8aa6ee4de494bac62ba8f12558d9a9db2c57cdbfee81af0.gif",
            LargeProfilePicURL: "",
            MarkdownDescription: "# [Kitty4DAO @ DAODAO](https://beta.daodao.io/d/Kitty4DAO)\n\n## Kitty4D on the B-Chain \n[YouTube Channel](https://www.youtube.com/channel/UCyWRuGbRn_br0Mu4tDavnWA)\n\ni'm just a girl with a dream, a dream to make content all day and all night forever in between writing code. i never created content before November 13, 2021, the day i joined the DESO blockchain on DiamondApp.\n\n### What Kitty Do\n\n1. Programmer/developer.  JavaScript (Vue, ReactJS/Next, Svelte, Node.js) ($$$$$); Python ($$$); C# ($$); HTML/CSS ($$$$$); SEO Stuff ($$$); DBA / Database Design (MSSQL, MySQL, Postgres) ($$$$); Solidity ($); Debugging, no matter the language ($$$$$)\n\n2. Content creator.  Image Editing; Video Editing; Memes; Sometimes I write stuff; Pointed and constructive criticism + good ideas; You name it, I'll create it\n\n3. Cat in the Hat Hacker.  I push it to the limit; Past the point of no return\n\ni work in DeFi on the Ethereum blockchain. hoping to bring solana in sometime. if there is ever such a thing as vote gauges on DESO using governance tokens and vote escrow tokens, i'd suggest that we integrate DESO as well. (but i don't know if a social blockchain would really ever have that- i'm just saying, i totally would make sure we did it if it were possible)",
            TelegramURL: "",
            TwitterURL: "kitty4Do",
            WebsiteURL: "https://kitty.fourdown.org"
         },
         DESOBalanceNanos: 62111213,
         BestExchangeRateDESOPerDAOCoin: 0
      },
      Comments: null,
      LikeCount: 1,
      DiamondCount: 1,
      PostEntryReaderState: {
         LikedByReader: false,
         DiamondLevelBestowed: 0,
         RepostedByReader: false,
         RepostPostHashHex: ""
      },
      IsPinned: false,
      PostExtraData: {},
      CommentCount: 0,
      RepostCount: 0,
      QuoteRepostCount: 0,
      ParentPosts: null,
      IsNFT: false,
      NumNFTCopies: 0,
      NumNFTCopiesForSale: 0,
      NumNFTCopiesBurned: 0,
      HasUnlockable: false,
      NFTRoyaltyToCreatorBasisPoints: 0,
      NFTRoyaltyToCoinBasisPoints: 0,
      AdditionalDESORoyaltiesMap: {},
      AdditionalCoinRoyaltiesMap: {},
      DiamondsFromSender: 0,
      HotnessScore: 0,
      PostMultiplier: 0,
      RecloutCount: 0,
      QuoteRecloutCount: 0,
      RecloutedPostEntryResponse: null,
      Depth: 1
   }
]