skip to content
Video cover art for End to End Dash Tutorial: Return of the Rion - 6c
Video

End to End Dash Tutorial: Return of the Rion - 6c

Anthony Campolo and Rion Gull continue the Dash Platform tutorial, tackling data contracts, credits, faucet issues, and identity top-up bugs.

Open .md

Episode Description

Anthony Campolo and Rion Gull continue their Dash platform tutorial work, tackling data contracts, credits concepts, faucet issues, and identity top-up bugs on testnet.

Episode Summary

In this installment of the end-to-end Dash tutorial series, Anthony Campolo works through the data contract portion of the Dash platform documentation while waiting for Rion Gull to join. Anthony experiments with feeding entire documentation pages into LLMs to generate tutorial content, exploring how data contracts function as schema-defining blueprints for decentralized applications using JSON schema and GroveDB storage. Once Rion arrives, the pair walks through the tutorial from the beginning, creating a wallet, funding it via testnet faucet, and registering an identity. Along the way they identify several documentation gaps, particularly around the concept of credits, the smaller denomination used to pay for platform operations. They discuss how credits relate to Satoshis and Duffs, debate whether the separate credits unit is even necessary, and draft a PR with clearer explanations and unit conversions. The session ends after discovering that the default top-up amount of 1,000 credits in the official tutorial is insufficient to actually complete operations, prompting them to plan a fix that bumps the recommended amount substantially higher.

Speakers

  • Anthony Campolo
  • Rion Gull

Chapters

00:00:00 - Stream Setup and Data Contract Introduction

Anthony opens the stream solo while waiting for Rion, getting his coding environment arranged and reviewing where they left off in the previous session. He notes that he managed to fix one of the broken pieces from the data contract section before going live, and begins orienting himself around the documentation for registering data contracts on Dash platform.

He frames the broader context of the tutorial, recalling that most of his previous work focused on wallets, identities, and the DPNS name service rather than the storage layer. Anthony references Ryan's framing of the platform as covering storage, payments, and authentication, and starts digging into how the data contract piece fits into that overall architecture.

00:03:09 - Understanding GroveDB and JSON Schema

Anthony explores what makes data contracts distinct from other decentralized storage solutions like IPFS, recalling a previous conversation with Walker Ford about when IPFS makes sense. He clarifies that data contracts live directly on the blockchain rather than in a separate distributed file system, and discovers that Dash uses GroveDB, a hierarchical authenticated data structure with secondary index queries built specifically for the platform.

This leads to an important realization that data is not stored simply as JSON blobs as he had previously assumed, but rather described using JSON schema while being stored in what appears to be a relational structure. Anthony notes the various constraints defined for performance and security reasons in the contract reference documentation.

00:05:16 - Experimenting with LLMs for Documentation

Anthony tries an experiment by feeding the entire data contracts documentation page into an LLM to see how well it can generate explanatory content and code examples. He explains how recent improvements in context window sizes have made this kind of approach much more practical, replacing older fine-tuning hacks for getting models to understand specific codebases.

He demonstrates his workflow of grabbing the raw markdown source from GitHub and asking the model to produce both a paragraph description of what data contracts are and code examples for working with them. The experiment yields mixed results, with the description being reasonably accurate but somewhat wordy and the code examples not quite matching what's needed for the actual tutorial.

00:09:09 - State Transitions and Blockchain Write Costs

The discussion turns to state transitions, which Anthony connects to his prior experience with Ethereum smart contracts. He draws parallels to deploying a hello world contract that lets you write, read, and update messages, while noting that you can never truly delete anything from a blockchain.

He reflects on the economic logic of why reads are free but writes cost credits, since blockchain block space is limited and demand fluctuates with crypto market activity. With Bitcoin trading around 70K at the time of recording, Anthony hopes some of that excitement trickles down to Dash, before reining himself back in to focus on the technical task at hand.

00:13:38 - Refining the Data Contract Description

Anthony works through cleaning up the LLM-generated description of data contracts, paring it down to a tighter definition that emphasizes their role as blueprints for structuring data and operations on a decentralized network. He notes that without explicit instructions to be concise, the model tends to be wordy.

He attempts to test whether the generated registration code actually works, but encounters errors and realizes the example differs slightly from what's documented. After some experimentation, he determines that the LLM didn't have enough context about the specific client setup functions used in the tutorial, since those examples live in the tutorial repo rather than the reference docs themselves.

00:21:40 - Rion Joins and Discusses New Documentation Changes

Rion arrives and immediately raises concerns about screen resolution for code visibility, prompting a brief discussion about balancing pixel count with text size for viewers on different devices. He then mentions that the Dash Core Group documentation lead has made changes separating client instantiation into its own page with more documented options.

Rion searches GitHub to find a preview of these changes but can't locate them in any branch yet, suggesting they may not have been merged. He explains the change relates to issues from a previous session about specifying which block to start syncing from, and wants to verify whether the new approach actually works before incorporating it into Anthony's tutorial.

00:26:21 - Testnet Updates and Faucet Frustrations

Rion confirms that testnet has been updated to Dash platform 1.0.0 dev 10 from the previous dev 9, along with a small Dash Core update. They run through wallet creation successfully, then hit the perennial pain point of using the testnet faucet, which crashes the front end whenever someone requests funds.

Anthony pushes back hard on accepting this as the onboarding experience, arguing that every new developer encounters this broken interface as their first impression and gets no feedback on whether their request worked. He volunteers to rewrite the front end if necessary, while Rion searches Discord for alternative faucets and notes the current one is a fork of a fork of a fork from way back.

00:32:25 - Working Through Wallet Funding and Block Explorer

After successfully running create-wallet and updating environment variables, the pair confirms that funds arrived in the testnet wallet by checking the block explorer. Anthony shows three confirmations and 0.2 Dash in the new wallet, demonstrating the standard verification step in his tutorial.

This leads to Anthony asking what exactly a credit is, since the term comes up in the top-up step but lacks a clear definition. Rion explains it's a smaller denomination of Dash similar to Satoshis but even smaller, with roughly 1,000 credits per Satoshi, though he's unsure of the exact ratio. They begin investigating where credits are properly defined in the existing documentation.

00:40:18 - Documentation Gaps Around Credits

The pair traces through the official documentation looking for a clear definition of credits, finding the existing explanations insufficient and circular. The text mentions credits cover platform usage costs but never explains how they differ from regular Dash currency or where they fit in the unit hierarchy.

Anthony decides to make a PR to add a clarifying sentence rather than just filing an issue, since the change is a simple markdown edit perfectly suited to his style. They identify the top-up tutorial page as the natural spot for a one-sentence definition since that's where most readers first encounter the concept without prior context.

00:45:41 - Conceptual Explanation of Credits and Locking

Rion provides a deeper conceptual explanation of how credits actually work, describing them as the bridge between the proof of work payments chain and the proof of stake platform chain. Dash gets locked on layer one while an equivalent amount becomes available as credits on the platform chain, with cryptographic proofs ensuring no extra coins can be created.

He acknowledges that only a few people at Dash Core Group, including CTO Sam Westrich, fully understand the underlying cryptography. Rion also raises a product question of whether having a separate credits term is genuinely helpful or whether it adds unnecessary cognitive load for Web2 developers being onboarded to the platform.

00:50:46 - Drafting the PR Wording

The pair iterates on the exact wording for the credits explanation, settling on a description connecting the special transaction that transforms Dash into credits with their use for interacting with Dash platform. Anthony favors the comparison to Ethereum gas as a personal mental model, while Rion notes that's helpful for understanding but shouldn't appear in docs aimed at developers without Ethereum background.

They discuss adding a unit conversion line and discover via the existing documentation that one Duff equals 1,000 credits, which equates to one Satoshi equals 1,000 credits. Rion shares his preference for using Satoshi over Duff, arguing that Satoshi is the more universally understood term and that Dash is closer to what Satoshi Nakamoto would have wanted.

00:56:42 - Searching for Updated Documentation Branches

Conversation circles back to Rion's earlier mention of new documentation changes, with both attempting to locate the updated client instantiation page in various GitHub branches of the docs platform repo. They check develop branches and recent commits but find nothing from the past week matching what Rion remembers.

Anthony pushes for ending this tangent since they're spinning wheels without a clear target, suggesting Rion just message the documentation lead directly. While Anthony continues with other tutorial steps, Rion eventually finds a related issue in a different repo, dashpay/platform-tutorials, separate from dashpay/docs-platform, clarifying the source of the confusion.

01:08:50 - Resolving the Repo Confusion

Rion shares the link to the relevant issue, which turns out to be in the platform tutorials code repo rather than the docs platform repo. The issue notes that a separate PR for the docs themselves will also be required, suggesting the documentation update Rion remembered hasn't actually shipped to either location yet.

Anthony explains that his own approach consolidates code and tutorial markdown into a single repo, which Rion acknowledges makes sense for a learning project even if it wouldn't suit official documentation. With this confusion resolved, they return to the actual tutorial flow, picking back up at identity creation.

01:16:13 - Identity Creation and Top-Up Failure

After creating an identity successfully, the pair attempts to retrieve identity IDs and runs the top-up step, where they hit a broadcast error. The error message states the asset lock transaction output only has 1,000 credits left out of 1,000 initial credits but needs 50,000 credits to start processing, leaving Anthony unsure whether he needs more testnet funds or something else entirely.

Confusion mounts because the wallet has 0.2 Dash, which should convert to 100 billion credits, yet the asset lock specifically only has 1,000. They investigate by checking the platform explorer for the testnet, with Rion sending Anthony the link, intending to use it to see how many credits the identity actually has.

01:21:55 - Platform Explorer Investigation

The pair examines the Dash platform testnet explorer, distinguishing it from the proof of work testnet explorer they used earlier for the wallet balance. Rion finds a recent identity create transaction matching the timing of their work, but the identity balance shows zero credits despite their CLI output suggesting 1,000.

Anthony suggests structurally that an ideal block explorer would unify both chains into a single interface so developers don't need to juggle two different tools. They confirm there's a mismatch between what the CLI reports and what the explorer shows, prompting them to dig into the top-up amount itself as the likely culprit.

01:25:50 - Discovering the 1,000 Credit Default Bug

The team realizes the tutorial's default top-up amount of 1,000 credits is simply insufficient for any meaningful operations, since basic transactions require 50,000 credits just to start processing. Anthony increases the value and the top-up succeeds, confirming this as the source of the failure.

Rion calls this a tutorial fail and pushes for a PR to bump the official documentation default to something much higher, like a million or even a billion credits, ensuring developers have plenty of headroom. He vents about the credits unit overall, questioning whether having three units, Dash, Satoshis, and credits, justifies the added cognitive overhead for developers.

01:28:43 - Wrap-Up and Next Steps

Anthony begins setting up the PR locally to fix the credits default value, working around setup quirks on his computer. They reflect on the session as productive overall, having identified meaningful documentation issues without encountering actual testnet bugs beyond the credits amount problem.

The pair agrees to continue the tutorial in another stream the following week, picking up from where they left off after the identity top-up. The session ends at 01:30:08 with Anthony committing to file the PR and Rion confirming plans for the next stream.

Transcript

00:00:02 - Anthony Campolo

All right, hello everyone.

00:00:04 - Anthony Campolo

Welcome back to the Dash stream.

00:00:09 - Anthony Campolo

Ryan will be joining me fairly soon.

00:00:13 - Anthony Campolo

And yeah, we're gonna be working through more of the tutorial, some of the stuff that was kind of broken was in the data contract things.

00:00:21 - Anthony Campolo

I fixed one of them while just waiting for Ryan though, so.

00:00:24 - Anthony Campolo

That's pretty cool.

00:00:27 - Anthony Campolo

Let's go ahead and get some code set up here.

00:00:33 - Anthony Campolo

Let me just double check.

00:00:35 - Anthony Campolo

Ain't got any windows open.

00:00:37 - Anthony Campolo

That's all good.

00:00:43 - Anthony Campolo

Okay, I'm going to shoot Ryan a message too.

00:00:51 - Anthony Campolo

Okay, I'm live.

00:00:53 - Anthony Campolo

Woo.

00:00:56 - Anthony Campolo

All right, sweet.

00:00:58 - Anthony Campolo

So let's move this here and close that out.

00:01:06 - Anthony Campolo

And actually, I should leave this open, at least in the corner, so I can see if Ryan joins.

00:01:21 - Anthony Campolo

Something like that.

00:01:23 - Anthony Campolo

Okay, so the last part we were at was registering the data contract.

00:01:32 - Anthony Campolo

Yeah, I'm just going to close this, actually.

00:01:36 - Anthony Campolo

And we get the tutorial.

00:01:39 - Anthony Campolo

Actually, I should push these changes first.

00:01:48 - Anthony Campolo

Let's see.

00:01:48 - Anthony Campolo

Actually, I should look at what changed so I can figure out what was broken.

00:01:52 - Anthony Campolo

It looks like there was no position in the properties of the contract.

00:02:00 - Anthony Campolo

So let's take a second and look at the docs for this.

00:02:03 - Anthony Campolo

This is something that I know I don't understand super well.

00:02:08 - Anthony Campolo

Yet because most of the time I spent working on this over the summer it was all around the wallet the identity the names and that part of the service so if we look at the platform itself

00:02:24 - Anthony Campolo

it's made up of a couple different things

00:02:28 - Anthony Campolo

And so what we were doing was the name, name service, DPNS was a big part of it.

00:02:34 - Anthony Campolo

That's based around identities.

00:02:36 - Anthony Campolo

But now we're going to the data contract part.

00:02:42 - Anthony Campolo

So this is the storage.

00:02:44 - Anthony Campolo

So Ryan always talks about spa storage payments.

00:02:48 - Anthony Campolo

and authentication.

00:02:50 - Anthony Campolo

So the name service, you can think of it as kind of like the, both, I guess, the identity, and then once it's linked to your funds, it'll be a component of the payments.

00:03:01 - Anthony Campolo

But in terms of like, what is the application, where does the data live, and all those kind of things, this is

00:03:09 - Anthony Campolo

where our storage is.

00:03:11 - Anthony Campolo

Now, one of the things we've talked about along this way, we had an interview with someone from, someone who used to work at IPFS, and Walker Ford was his name, pretty sure.

00:03:26 - Anthony Campolo

And we had a great discussion about IPFS and what decentralized solutions are.

00:03:34 - Anthony Campolo

This is the one.

00:03:34 - Anthony Campolo

What is a DAP?

00:03:36 - Anthony Campolo

Cool.

00:03:37 - Anthony Campolo

I'm going to save a link to this over here.

00:03:45 - Anthony Campolo

So yeah, check this out.

00:03:47 - Anthony Campolo

If you missed it, we had a great conversation around, you know, when is it a good idea to bring in something like IPFS and how does it relate to things like gateways and all of that nature.

00:04:02 - Anthony Campolo

But with...

00:04:03 - Anthony Campolo

The data contract, this is something that is actually on the blockchain.

00:04:06 - Anthony Campolo

This is not a separate decentralized distributed file storage thing like IPFS.

00:04:14 - Anthony Campolo

And it's more, I guess here it says it's GroveDB.

00:04:19 - Anthony Campolo

Don't know anything about GroveDB.

00:04:21 - Anthony Campolo

I'm assuming it was built— yeah, it was built for use within Dash platform.

00:04:27 - Anthony Campolo

Is it relational?

00:04:29 - Anthony Campolo

Hierarchical authenticated data structure with efficient secondary index queries.

00:04:33 - Anthony Campolo

I mean, I'm assuming that that means it has to be relational if my database ignorance is not too high.

00:04:41 - Anthony Campolo

Okay, so that's interesting.

00:04:45 - Anthony Campolo

So that means then the data is not represented in just JSON.

00:04:49 - Anthony Campolo

blobs, which is what we had talked about in the past.

00:04:52 - Anthony Campolo

So that's an important lesson right there.

00:04:57 - Anthony Campolo

Let me go to the reference.

00:05:01 - Anthony Campolo

Let's kind of take a look at this.

00:05:04 - Anthony Campolo

Okay, so the contracts are described using JSON schema.

00:05:06 - Anthony Campolo

So it's both JSON schema, but stored in a relational database at the end of the day, or relational structure of some sorts.

00:05:14 - Anthony Campolo

That's what that sounds like.

00:05:16 - Anthony Campolo

That's what that sounds like. Variety of constraints currently defined for performance and security reasons.

00:05:22 - Anthony Campolo

Interesting.

00:05:25 - Anthony Campolo

I want to try actually, just because I'm kind of waiting for Ryan.

00:05:33 - Anthony Campolo

I've been curious to try just, I've noticed recently, so I use LLMs a lot to code, you know, ChatGPT and Claude and stuff of that nature.

00:05:43 - Anthony Campolo

And they have gotten much larger context windows recently.

00:05:48 - Anthony Campolo

which basically means that now you could feed them a lot of code or a lot of docs and kind of preload it as you kind of think of it like a really easy way to fine tune a system.

00:05:59 - Anthony Campolo

There used to be all these different hacks around how you would fine tune things so you can get it to understand a code base that wasn't in the original training that the foundation models went through.

00:06:09 - Anthony Campolo

So as the context windows have gotten larger, you can basically give them tons of code and docs and stuff and be like, hey, write me some examples of how to do this or that or whatever.

00:06:18 - Anthony Campolo

And so I'm kind of curious, I just threw this entire data contracts thing, what would happen?

00:06:24 - Anthony Campolo

So I just wanted to take that off so I could move my history away, but let's...

00:06:30 - Anthony Campolo

So basically what I would do is I would go, you want to just feed it the actual markdown.

00:06:36 - Anthony Campolo

Show source.

00:06:37 - Anthony Campolo

This is a great button.

00:06:38 - Anthony Campolo

Whoever put this button here, good job.

00:06:40 - Anthony Campolo

I always have to click edit on GitHub and then bump one backwards and then go forwards.

00:06:46 - Anthony Campolo

And that's how I would get to that.

00:06:47 - Anthony Campolo

And then hit raw.

00:06:49 - Anthony Campolo

Single click.

00:06:50 - Anthony Campolo

Look at that.

00:06:51 - Anthony Campolo

Whoever put this here is a genius.

00:06:53 - Anthony Campolo

Okay.

00:06:54 - Anthony Campolo

So let's do this.

00:06:58 - Anthony Campolo

And then you want to give it some context.

00:07:00 - Anthony Campolo

These are actually this is a.

00:07:06 - Anthony Campolo

Reference for working with data contracts on dash platform.

00:07:18 - Anthony Campolo

a brief one paragraph description of what a data contract is and what it is for on dash, then

00:07:31 - Anthony Campolo

write code examples for, let's see, I'm just kind of curious what it would do if we just asked it to do literally these things.

00:07:44 - Anthony Campolo

Let's try both of those.

00:08:00 - Anthony Campolo

Okay.

00:08:02 - Anthony Campolo

Just right.

00:08:03 - Anthony Campolo

Okay.

00:08:05 - Anthony Campolo

Yeah.

00:08:06 - Anthony Campolo

Should be interesting.

00:08:11 - Anthony Campolo

The data contract on the DASH platform serves as a blueprint for the structure of data that an application intends to store on the decentralized network.

00:08:19 - Anthony Campolo

That makes sense.

00:08:20 - Anthony Campolo

It defines the schema of documents, which are called data records, using JSON schema, enabling the platform to validate data against these schemas to ensure consistency and integrity.

00:08:30 - Anthony Campolo

They're crucial for DAF built on DASH.

00:08:32 - Anthony Campolo

They give you a structured, predictable way to interact with the blockchain.

00:08:35 - Anthony Campolo

So taking data storage retrieval and manipulation in a trustless environment.

00:08:39 - Anthony Campolo

Okay, so it does make sense.

00:08:40 - Anthony Campolo

I think I think of it like a database that you wouldn't you still wouldn't store, you know, an image in the database unless you're.

00:08:47 - Anthony Campolo

Kind of silly, but this is registering.

00:08:51 - Anthony Campolo

Actually, I'm going to say make sure to use ESM.

00:08:55 - Anthony Campolo

I did all code examples and do include semicolons, obviously.

00:09:09 - Anthony Campolo

Right is going to go.

00:09:13 - Anthony Campolo

Okay.

00:09:16 - Anthony Campolo

So it.

00:09:23 - Anthony Campolo

Hit punch on the third one.

00:09:24 - Anthony Campolo

That's funny.

00:09:25 - Anthony Campolo

h. It punched it on the third one. That's funny. I guess let's go back to register. To register a new data contract, you construct a contract object following the schema constraints and submit the object within a data contract create state transition.

00:09:40 - Anthony Campolo

Interesting.

00:09:44 - Anthony Campolo

So state transition also has a protocol reference over here.

00:09:50 - Anthony Campolo

Means for submitting data that creates updates or deletes platform data results and change to a new state.

00:09:55 - Anthony Campolo

That makes plenty of sense.

00:09:56 - Anthony Campolo

So it's like when you write, like, so I'm going to go, when I've worked with stuff like this before, you know, it was usually with Ethereum.

00:10:05 - Anthony Campolo

So I know with Ethereum, I would create examples where you would upload a smart contract, and that smart contract would have a little bit of code in it.

00:10:14 - Anthony Campolo

That would be like a Hello World example where you could write a little message and then display it, and then you could read it back for the blockchain, and then you could update it, and then you could read it back, but you can't delete it.

00:10:28 - Anthony Campolo

You can't delete anything on the blockchain.

00:10:29 - Anthony Campolo

That's what I always say.

00:10:30 - Anthony Campolo

So this is taking that part of it and kind of making the update.

00:10:36 - Anthony Campolo

One in particular, explicit, is what this sounds like.

00:10:43 - Anthony Campolo

Let's see.

00:10:45 - Anthony Campolo

And then you're going to obviously, so this is why this is smart to make this its own kind of thing that's separate because reading is free, but updating is not.

00:10:54 - Anthony Campolo

Or writing, and writing is not either, you know?

00:10:56 - Anthony Campolo

So if you have a very, when you work with blockchain, you want to be very read heavy because you can read from the blockchain as much as you want over and over and over again.

00:11:04 - Anthony Campolo

But if you want to write to it, then that's where you got to pay because it's a limited amount of block space with a limited amount of time.

00:11:11 - Anthony Campolo

And a lot of people using it because it's going to the moon right now.

00:11:15 - Anthony Campolo

Bitcoin is like 70K or something.

00:11:17 - Anthony Campolo

So hopefully all that trickles down to some sweet dash moonage.

00:11:22 - Anthony Campolo

Okay, I think I'm getting ahead of myself, so I'm going to go back to the Jiminy.

00:11:29 - Anthony Campolo

Okay, so...

00:11:33 - Anthony Campolo

Let me just see.

00:11:34 - Anthony Campolo

Okay, so Let me just see that. I'm just gonna grab some of these.

00:11:39 - Anthony Campolo

I'm not going to just publish these.

00:11:41 - Anthony Campolo

This is kind of just how I get myself stuff to work with as material as I write tutorials now.

00:11:48 - Anthony Campolo

It's pretty great, actually.

00:11:52 - Anthony Campolo

Let's see.

00:11:53 - Anthony Campolo

So I was on.

00:11:55 - Anthony Campolo

So, I was on— yeah, so I wanna say what a day contract is.

00:11:56 - Anthony Campolo

There you go.

00:11:58 - Anthony Campolo

It's bigger, actually.

00:12:26 - Anthony Campolo

I'm just going to clean this up a bit.

00:12:28 - Anthony Campolo

So one thing, if you, unless you explicitly say, be more concise, it's a little wordy, structure improvement, or the dashboard machine.

00:12:35 - Anthony Campolo

Do a structure, structure, structure, or the dashboard machine.

00:12:39 - Anthony Campolo

And our control for decentralized applications.

00:12:48 - Anthony Campolo

Contracts facilitate data storage, retrieval, manipulation, and trustless environment.

00:12:55 - Anthony Campolo

That's good.

00:12:55 - Anthony Campolo

That's clean.

00:12:56 - Anthony Campolo

I like that a lot, actually.

00:12:57 - Anthony Campolo

I like that a lot, actually. That's a very, very clean definition right there.

00:13:02 - Anthony Campolo

It defines the schema of documents.

00:13:07 - Anthony Campolo

Schema.

00:13:12 - Anthony Campolo

Actually.

00:13:19 - Anthony Campolo

The structure data and operation system on a decentralized network.

00:13:25 - Anthony Campolo

Nice to see you.

00:13:37 - Anthony Campolo

Let's just start saying contracts.

00:13:38 - Anthony Campolo

I don't have to keep saying data contracts over and over again.

00:13:41 - Anthony Campolo

Contracts enable platform to validate data against the schemas to ensure consistency and integrity.

00:13:51 - Anthony Campolo

Provide a structure to interact with blockchain.

00:14:00 - Anthony Campolo

We use dApps yet.

00:14:04 - Anthony Campolo

Yes, we do use dApps way back there.

00:14:06 - Anthony Campolo

Great.

00:14:07 - Anthony Campolo

I don't need to define it.

00:14:18 - Anthony Campolo

There we go.

00:14:19 - Anthony Campolo

That's pretty good.

00:14:27 - Anthony Campolo

Oh, there we go.

00:14:27 - Anthony Campolo

Right, so it'll be on in about five minutes.

00:14:32 - Anthony Campolo

That's good so far.

00:14:33 - Anthony Campolo

Let me go back to my code.

00:14:34 - Anthony Campolo

That was already broken.

00:14:37 - Anthony Campolo

I think I was able to register the contract.

00:14:40 - Anthony Campolo

It was this thing right here.

00:14:42 - Anthony Campolo

Yeah, baby.

00:14:44 - Anthony Campolo

Cool.

00:14:51 - Anthony Campolo

Copy paste all this into the docs.

00:14:57 - Anthony Campolo

Oops.

00:15:04 - Anthony Campolo

Yeah, and he told me Tesla is back up today.

00:15:06 - Anthony Campolo

Yeah, and he told me testnet is back up today, so maybe that means this was broken and now it is healed.

00:15:10 - Anthony Campolo

Who knows?

00:15:11 - Anthony Campolo

Who knows?

00:15:17 - Anthony Campolo

Another thing I like to do.

00:15:20 - Anthony Campolo

There's...

00:15:25 - Anthony Campolo

Output after running the register data contract, I believe it was.

00:15:34 - Anthony Campolo

Just register contract.

00:15:35 - Anthony Campolo

Yeah.

00:15:39 - Anthony Campolo

For that, I think.

00:15:52 - Anthony Campolo

I kind of like this example.

00:15:53 - Anthony Campolo

This example looks a lot cleaner.

00:15:57 - Anthony Campolo

Okay.

00:16:01 - Anthony Campolo

See if this actually works though first before I do anything ridiculous.

00:16:10 - Anthony Campolo

See you tomorrow.

00:16:13 - Anthony Campolo

Hold on.

00:16:14 - Anthony Campolo

Hold on.

00:16:32 - Anthony Campolo

That's definitely, this is slightly different.

00:16:35 - Anthony Campolo

So let's see what happens.

00:16:36 - Anthony Campolo

It's going to be interesting.

00:16:45 - Anthony Campolo

And identity ID.

00:16:47 - Anthony Campolo

Go here.

00:16:51 - Anthony Campolo

Let's see if that works now.

00:17:19 - Anthony Campolo

Yeah, I do this, I guess.

00:17:28 - Anthony Campolo

Yeah, I do.

00:17:30 - Anthony Campolo

Hold on.

00:17:43 - Anthony Campolo

Interesting.

00:17:44 - Anthony Campolo

Okay, maybe this did not work as well as I thought it would have.

00:17:47 - Anthony Campolo

Okay, let's just chop off that for now.

00:17:52 - Anthony Campolo

Interesting experiment.

00:17:54 - Anthony Campolo

That's going to go back to working.

00:17:58 - Anthony Campolo

Yeah, we'll stick with that.

00:18:01 - Anthony Campolo

Let's see.

00:18:07 - Anthony Campolo

Oh, yes, I'm in going ahead, don't worry.

00:18:09 - Anthony Campolo

Okay, so, interesting.

00:18:12 - Anthony Campolo

Let me see if this is even, like, in those docs at all.

00:18:17 - Anthony Campolo

Okay.

00:18:23 - Anthony Campolo

Why would you do that?

00:18:24 - Anthony Campolo

It just doesn't.

00:18:25 - Anthony Campolo

Oh, because I guess it didn't have any of the client stuff in the actual.

00:18:30 - Anthony Campolo

Let's just try it.

00:18:31 - Anthony Campolo

Let me just try this.

00:18:33 - Anthony Campolo

Let me just grab this part of the code.

00:18:36 - Anthony Campolo

Leave out the platform stuff.

00:18:56 - Anthony Campolo

I don't think that works.

00:19:03 - Anthony Campolo

No, I didn't have to hear that part too.

00:19:05 - Anthony Campolo

Yes, the other part.

00:19:08 - Anthony Campolo

Of this, no client at all.

00:19:12 - Anthony Campolo

So it needs at least this, I guess.

00:19:21 - Anthony Campolo

The identity of harm comes out there.

00:19:26 - Anthony Campolo

B.

00:19:30 - Anthony Campolo

She did a good job.

00:19:36 - Anthony Campolo

Yes, contract.create.

00:19:39 - Anthony Campolo

Huh.

00:19:39 - Anthony Campolo

Okay.

00:19:43 - Anthony Campolo

Maybe there's just not enough examples in here for it to understand what's happening based on.

00:19:51 - Anthony Campolo

Yeah, so the functions of what we're doing might just be in the tutorial, not necessarily here.

00:20:00 - Anthony Campolo

Okay.

00:20:01 - Anthony Campolo

Yeah, this is where...

00:20:02 - Anthony Campolo

Oh, wait.

00:20:02 - Anthony Campolo

I think I'm wrong.

00:20:03 - Anthony Campolo

Hold on.

00:20:04 - Anthony Campolo

Is almost here.

00:20:08 - Anthony Campolo

Can I add you to the stage?

00:20:11 - Anthony Campolo

I mean, he'll probably add himself.

00:20:18 - Anthony Campolo

Oh, and he hopped off.

00:20:19 - Anthony Campolo

Okay, so...

00:20:23 - Anthony Campolo

We were able to register a data contract.

00:20:27 - Anthony Campolo

Let me just kind of reset from where I just was.

00:20:43 - Anthony Campolo

That's working again.

00:20:44 - Anthony Campolo

Oops.

00:20:48 - Anthony Campolo

Okay, we're back.

00:20:49 - Anthony Campolo

And I'll trust Ryan will join when he is ready.

00:20:53 - Anthony Campolo

Okay.

00:20:54 - Anthony Campolo

So definitely make sure to push those changes.

00:20:58 - Anthony Campolo

Don't want to lose this.

00:21:02 - Anthony Campolo

Last thing, make sure this works.

00:21:14 - Anthony Campolo

Great, great, great.

00:21:17 - Anthony Campolo

Okay.

00:21:23 - Anthony Campolo

And then make sure the tutorial has the most up-to-date code.

00:21:28 - Anthony Campolo

That's important.

00:21:30 - Anthony Campolo

So let's grab this and that.

00:21:33 - Anthony Campolo

And then go to here.

00:21:37 - Anthony Campolo

Leave.

00:21:39 - Anthony Campolo

Great.

00:21:40 - Anthony Campolo

Great.

00:21:42 - Anthony Campolo

And then let's see.

00:21:43 - Anthony Campolo

And then let's see. Let's see if we can retrieve this guy.

00:21:47 - Anthony Campolo

See what happens.

00:21:50 - Anthony Campolo

I hear sound.

00:21:52 - Rion Gull

Howdy.

00:21:53 - Anthony Campolo

Hey, what's up?

00:21:56 - Anthony Campolo

Let me just run this real quick.

00:21:59 - Rion Gull

Yeah, what are you up to?

00:22:01 - Anthony Campolo

Oh, you know, Coden.

00:22:02 - Anthony Campolo

I'm going to just real quick see if this thing works, and then we can chat.

00:22:08 - Anthony Campolo

I don't even think I have one yet.

00:22:16 - Anthony Campolo

Yeah, so I got some of my bugs actually fixed already, which is cool.

00:22:21 - Anthony Campolo

Good.

00:22:23 - Anthony Campolo

So, npm run retrieve contract.

00:22:28 - Anthony Campolo

So npm run retrieve contract. And let's get the identity ID in there.

00:22:34 - Rion Gull

I'm gonna— I'm trying to figure out how to get the resolution on my end to be a little higher.

00:22:40 - Anthony Campolo

Oh, actually, I'm glad you said that.

00:22:42 - Anthony Campolo

We are on the version right now where we only get 720 instead of 1080, I think.

00:22:47 - Anthony Campolo

We should definitely bump that to 1080 just because for coding examples and stuff, it makes a pretty big difference.

00:22:53 - Rion Gull

Yeah.

00:22:54 - Rion Gull

And on the other hand, sometimes it's better to have larger text instead and not rely on high pixel count.

00:23:02 - Anthony Campolo

But I'm not saying you should rely on— it's not an either or. You want both, ideally, because then someone might even be on their phone.

00:23:06 - Anthony Campolo

You want both ideally.

00:23:08 - Anthony Campolo

Because then someone might even be on their phone, you know?

00:23:11 - Anthony Campolo

Yeah, for sure.

00:23:12 - Anthony Campolo

Not super tight.

00:23:14 - Rion Gull

I'm kind of surprised.

00:23:16 - Rion Gull

Yeah, it doesn't look great on my...

00:23:19 - Rion Gull

screen and I, it doesn't even look like 720 to me, but maybe it is.

00:23:26 - Rion Gull

Anyway, what did I miss?

00:23:27 - Rion Gull

Sorry, I was later than we had planned.

00:23:31 - Anthony Campolo

No, no, all good.

00:23:33 - Anthony Campolo

I'm just gonna, I need this.

00:23:34 - Anthony Campolo

So I'm working through the data contract stuff.

00:23:39 - Anthony Campolo

I got all these tabs open and now I'm confused.

00:23:42 - Rion Gull

So my first question is, have you seen the new documentation

00:23:47 - Rion Gull

page.

00:23:48 - Rion Gull

I don't know if it's published yet.

00:23:51 - Rion Gull

And if it is, it might be under something that's not the main site.

00:23:56 - Rion Gull

I'm going to look it up right now.

00:23:57 - Anthony Campolo

Could you grab the link and just send it to me?

00:23:59 - Rion Gull

I'll send it to you.

00:24:03 - Rion Gull

I just know that there were some changes made on GitHub issues.

00:24:07 - Rion Gull

I just know that there were some changes made on GitHub issues. I don't know if they're merged in and deployed to the to the dash. org yet. But I'll check, uh.

00:25:20 - Anthony Campolo

I'm totally confused right now.

00:25:23 - Anthony Campolo

I need to close some of these tabs.

00:25:27 - Rion Gull

Hmm.

00:25:32 - Anthony Campolo

What are you murmuring about

00:25:37 - Rion Gull

Yeah, I don't think the changes are up on the website yet.

00:25:42 - Rion Gull

Basically, the documentation lead over at Dash Core Group has made some changes to separate out the creation of the client along with

00:25:56 - Rion Gull

more of the options, documenting more of the options that the client accepts.

00:26:02 - Rion Gull

But I don't think that those changes have made it to dash.org yet.

00:26:06 - Rion Gull

So I was looking in GitHub to see if I could see a preview of what it looks like so that we could test.

00:26:15 - Rion Gull

Whether or not those changes actually work.

00:26:21 - Rion Gull

So, but while I'm doing that, can you give me a little update on

00:26:30 - Rion Gull

Bugs, are you still, have you started over again?

00:26:34 - Rion Gull

Because we do have a new testnet now.

00:26:36 - Rion Gull

Testnet has been updated to, I believe, dash platform 1.0.0 dev 10.

00:26:50 - Rion Gull

Where it was 9 before.

00:26:52 - Rion Gull

So let's update dependencies.

00:26:54 - Anthony Campolo

Yeah, it's 10 now.

00:26:56 - Rion Gull

It's 10 now.

00:26:58 - Anthony Campolo

Oh, yeah.

00:26:59 - Rion Gull

But instead of writing 10...

00:27:01 - Anthony Campolo

No, I wasn't going to.

00:27:02 - Anthony Campolo

I was about to go and find the...

00:27:05 - Anthony Campolo

There's a specific way you set latest that...

00:27:08 - Anthony Campolo

Yeah.

00:27:11 - Rion Gull

So that will, yeah, that will take care of, that will give us the latest dash SDK.

00:27:18 - Rion Gull

And then in addition to that, all the nodes on testnet are, should be running that new version as well.

00:27:27 - Rion Gull

And on top of the new platform,

00:27:30 - Rion Gull

versions, I believe, but I'm not sure that the testnet nodes are probably also running core version.

00:27:43 - Rion Gull

There was an update on core as well for a little small bug fix as well.

00:27:46 - Rion Gull

It shouldn't affect our work.

00:27:48 - Rion Gull

But there were, yeah, there were two releases, Dash Platform and Dash Core, both got an update.

00:27:53 - Rion Gull

And I think that Testnet has nodes that are running those updates.

00:27:58 - Rion Gull

So I'm hoping that we either see...

00:28:02 - Anthony Campolo

I got the same error I got.

00:28:04 - Anthony Campolo

As far as I can tell, this is exactly how it's written in the doc.

00:28:07 - Anthony Campolo

So I think I do have something.

00:28:09 - Anthony Campolo

So this is during the retrieve a data contract part.

00:28:12 - Anthony Campolo

Maybe that...

00:28:14 - Anthony Campolo

Let me just make sure I'm actually getting the right ID and I understand what's happening.

00:28:18 - Anthony Campolo

Here so this is the so this is the ID so that's that's me that's a user error so we make sure that's correct first let's see what happens

00:28:30 - Anthony Campolo

All right, there we go, cool.

00:28:32 - Anthony Campolo

So that is a step in my tutorial where I need to give you that specific environment variable back.

00:28:39 - Anthony Campolo

That's what I've been doing throughout this.

00:28:41 - Anthony Campolo

So someone can just copy paste that.

00:28:43 - Anthony Campolo

Because when I looked at it, there's two IDs.

00:28:46 - Anthony Campolo

There's an ID here and an ID here.

00:28:49 - Anthony Campolo

So that could be kind of confusing if you're like blown through the tutorial and not reading what the heck anything is like someone like me would do.

00:28:57 - Rion Gull

Yeah.

00:29:00 - Rion Gull

So let's back up just a little bit and give a brief introduction, if you haven't already, to what we're trying to do here.

00:29:09 - Anthony Campolo

Yes, so what we're trying to do here is basically I am taking, at this point, essentially the whole of the Dash docs and kind of creating a single end-to-end tutorial

00:29:19 - Anthony Campolo

so that you would go through all the kind of important parts of creating the wallet, getting your identity and name registered, and then working with your data contract stuff.

00:29:29 - Anthony Campolo

And I got everything up to the data contract stuff working back in last summer.

00:29:34 - Anthony Campolo

And so now we're kind of working through the storage part.

00:29:38 - Anthony Campolo

And this is something that, you know, now I'm kind of learning what even is a data contract.

00:29:41 - Anthony Campolo

So I didn't really figure that out last time and work with it too much.

00:29:44 - Anthony Campolo

And there was one thing that came up actually that I wanted to ask you about.

00:29:48 - Anthony Campolo

But is there anything more general high level you wanted to hit on first?

00:29:52 - Rion Gull

Well, just, yeah, just the screen that you're looking at right here.

00:29:56 - Rion Gull

So did you...

00:29:59 - Rion Gull

You mentioned in your little intro there that last summer you were able to get through this to this step.

00:30:06 - Rion Gull

But now that there's updates, were you able to connect to the network, create and fund a wallet and go through the identity and names?

00:30:17 - Rion Gull

All of those.

00:30:18 - Anthony Campolo

Let's do that.

00:30:18 - Anthony Campolo

Let's do that right now.

00:30:19 - Anthony Campolo

Let's see what happens.

00:30:21 - Anthony Campolo

I don't see a reason why it wouldn't work, but we'll see.

00:30:26 - Anthony Campolo

So let me go back to here and I'll wipe out my .env.

00:30:44 - Anthony Campolo

First, actually get this over here.

00:30:53 - Anthony Campolo

My whole screen is set up before and it's already totally wrecked.

00:30:58 - Rion Gull

So I just want to do that.

00:30:59 - Rion Gull

On the right, you have a markdown tutorial document where you're putting it all in one page.

00:31:05 - Rion Gull

And on the left, you have actual...

00:31:09 - Rion Gull

The actual files that you're running.

00:31:13 - Rion Gull

And in the bottom, you have terminal session.

00:31:17 - Rion Gull

And you just ran a command npm run create wallet.

00:31:20 - Anthony Campolo

So this should be what I want actually.

00:31:22 - Anthony Campolo

So this, and then this is going to work this time.

00:31:26 - Anthony Campolo

Yep.

00:31:26 - Rion Gull

So this is create wallet is, is that an alias?

00:31:31 - Rion Gull

If you scroll back up to create wallet, is that an alias, an NPM script that is to class?

00:31:37 - Rion Gull

Yes.

00:31:38 - Anthony Campolo

So let me explain.

00:31:38 - Anthony Campolo

All of the scripts work exactly the same way, which is that they're all in a directory called scripts.

00:31:44 - Anthony Campolo

And then they have a name.

00:31:45 - Anthony Campolo

And then I aliased basically just running node to run that script to the exact same name.

00:31:50 - Anthony Campolo

So you could do npm run the name or node scripts the name.

00:31:54 - Anthony Campolo

Both will work.

00:31:56 - Rion Gull

Yep.

00:31:56 - Rion Gull

So the create wallet one that you just ran is, uh, going Node scripts/createwallet.

00:31:58 - Rion Gull

So the create wallet one that you just ran is, uh, going Node scripts/createwallet.

00:32:03 - Anthony Campolo

Yep, which is this file right here.

00:32:05 - Anthony Campolo

Yep.

00:32:06 - Rion Gull

Okay.

00:32:08 - Rion Gull

So in the terminal block down below, presumably that ran this code, which is creating, it's getting the client from client.js, which you had open a little bit ago.

00:32:21 - Rion Gull

And then trying to create the wallet from that instantiated.

00:32:26 - Rion Gull

The reason I'm going through the like in deeper detail, what you've done is because I have this weird hunch that creating a client and importing it from module to module.

00:32:41 - Rion Gull

May have some issue that I want to get down to the bottom of, at least rule it out.

00:32:48 - Anthony Campolo

What issue are you referring to?

00:32:51 - Rion Gull

Well, expand your terminal again.

00:32:54 - Rion Gull

And did you run into an error just now that you, as you ran that?

00:32:58 - Anthony Campolo

No, the thing before was,

00:33:00 - Anthony Campolo

No, the error before is that I had the wrong code in there.

00:33:02 - Anthony Campolo

The command worked just as expected.

00:33:04 - Rion Gull

Okay.

00:33:05 - Rion Gull

The command.

00:33:05 - Anthony Campolo

Yeah, everything works this time.

00:33:06 - Anthony Campolo

Nothing's going right now.

00:33:07 - Anthony Campolo

There's no broken code.

00:33:08 - Rion Gull

Okay, good.

00:33:09 - Rion Gull

So far, so good.

00:33:12 - Rion Gull

Yeah.

00:33:13 - Rion Gull

So create wallet, you just did, and it gives you back the wallet and the mnemonic.

00:33:22 - Rion Gull

It gives you back a wallet address and a mnemonic.

00:33:24 - Rion Gull

Got it.

00:33:24 - Anthony Campolo

Got it. And then you copy paste that and put into your.env for the next couple steps.

00:33:29 - Rion Gull

Okay.

00:33:31 - Rion Gull

And you did that, you're doing that now.

00:33:35 - Rion Gull

Did it give you a different?

00:33:40 - Rion Gull

When you create the wallet, it's going to create a random wallet.

00:33:47 - Rion Gull

So you're updating your environment variables now with the latest, greatest that we've just ran right now.

00:33:58 - Rion Gull

Yeah, exactly.

00:33:58 - Anthony Campolo

And there's nothing else in there except network set to test net.

00:34:02 - Anthony Campolo

That's the only environment variable you start set, and then you build them up piece by piece as you go through the scripts.

00:34:07 - Rion Gull

Okay, so now let's do the next step.

00:34:08 - Rion Gull

Okay, so now let's do the next step.

00:34:12 - Anthony Campolo

And then I'll also keep these updated with the actual tutorial as well, just keep sanity in check.

00:34:15 - Anthony Campolo

Just keep sanity in check.

00:34:18 - Anthony Campolo

Yes.

00:34:20 - Anthony Campolo

So I think we got to give it some test net funds.

00:34:22 - Anthony Campolo

That's the step here.

00:34:26 - Anthony Campolo

It was a fun step.

00:34:28 - Anthony Campolo

It's my favorite part.

00:34:29 - Anthony Campolo

I do it every time.

00:34:34 - Anthony Campolo

And then you wait.

00:34:35 - Anthony Campolo

You wait for the site to crash.

00:34:36 - Anthony Campolo

That's how you know it worked.

00:34:38 - Rion Gull

Yeah.

00:34:40 - Anthony Campolo

Do you know why that happens or who we could talk to about fixing that?

00:34:42 - Anthony Campolo

Or if I could find another way to host this so that that doesn't happen?

00:34:47 - Rion Gull

I don't know right off hand.

00:34:49 - Rion Gull

All I know is that this faucet is a fork of a fork of a fork.

00:34:57 - Rion Gull

It's from way early back.

00:34:58 - Anthony Campolo

Well, then can I just fork the current one and then deploy a brand new one?

00:35:02 - Rion Gull

That's just a faucet.

00:35:02 - Rion Gull

But I don't know if it's the deployed version that's the problem or if it's the actual source code.

00:35:08 - Rion Gull

That's just buggy.

00:35:09 - Anthony Campolo

But even if it is, the front end can handle that.

00:35:12 - Anthony Campolo

But even if it is, the front end can handle that. If it, if it's breaking for some reason, or the front end— this should never ever ever happen on a web page.

00:35:17 - Rion Gull

No, I get it.

00:35:19 - Rion Gull

I think that you'll find, though, that it's not the most easy to use front end.

00:35:26 - Anthony Campolo

Then I'll rewrite the front end.

00:35:28 - Anthony Campolo

Yeah.

00:35:29 - Anthony Campolo

It's just HTML and CSS.

00:35:30 - Anthony Campolo

It can't be that hard.

00:35:31 - Rion Gull

I think it's...

00:35:34 - Rion Gull

I think it's some different language.

00:35:35 - Rion Gull

I don't think it's JavaScript.

00:35:36 - Rion Gull

I think there's a back end that's, you know, some...

00:35:39 - Anthony Campolo

But regardless of what the back end is throwing, it does not...

00:35:42 - Anthony Campolo

The front end shouldn't need to crash.

00:35:44 - Anthony Campolo

The front end shouldn't be coupled to something that's breaking on the back end.

00:35:48 - Anthony Campolo

Like, it just doesn't make any...

00:35:49 - Anthony Campolo

I don't know.

00:35:50 - Anthony Campolo

Like, I understand how it's broken in a way that's causing it to do that, but I'm saying there's no reason that can't...

00:35:54 - Anthony Campolo

be fixed by someone who could figure out what's wrong with it.

00:35:57 - Rion Gull

It's not a big priority for me.

00:35:59 - Rion Gull

But like, and if you maybe- But that's the onboarding experience.

00:36:04 - Anthony Campolo

Every single person has that first onboarding experience.

00:36:06 - Anthony Campolo

But if every single person has that first onboarding experience, every person needs to add funds to their wallet, and every person goes in and it breaks and they don't know whether it works or not because they don't get any feedback.

00:36:13 - Rion Gull

No, you're absolutely right.

00:36:14 - Rion Gull

And I'm not disputing that.

00:36:15 - Rion Gull

No, you're absolutely right. I'm not disputing that. I'm just saying Maybe the workaround right now is to use a different faucet by default. Like, I know that the Crowdnode guy—

00:36:22 - Rion Gull

Like I know that the CrowdNode guy, yes, I don't know any others.

00:36:25 - Anthony Campolo

So that's what I need to know.

00:36:27 - Anthony Campolo

What is the next most reliable faucet that I should use?

00:36:32 - Rion Gull

Yeah, that's— I'm going to go into Discord. I'm going into Discord, the Dash Discord channel.

00:36:36 - Rion Gull

Yeah, that's— I'm going to go into Discord. I'm going into Discord, the Dash Discord channel.

00:36:39 - Anthony Campolo

And I don't even need to put in the tutorial if you want to keep it secret so people don't wreck the fun, but I would like to I'd be curious to know.

00:36:47 - Rion Gull

I was just telling people so that people could know also, the Dash Discord testnet channel, you click on the channel description and there—

00:36:54 - Rion Gull

Channel description and there do you want to share your screen there's just the one uh

00:37:00 - Rion Gull

that's fine right now i i just see the one top faucet i was just checking to see if there were multiple faucets linked in the in here so that's one of those let's make a note of this and um

00:37:13 - Rion Gull

Or ping.

00:37:16 - Rion Gull

I'll just do it right now.

00:37:18 - Rion Gull

Let's see.

00:37:27 - Anthony Campolo

Is this an actual faucet?

00:37:30 - Anthony Campolo

It's weird.

00:37:32 - Rion Gull

I thought that you had the crowd node faucet somewhere in your docs already.

00:37:41 - Rion Gull

Maybe not.

00:37:41 - Anthony Campolo

So the only one in the docs has been this one that I've been using the whole, the whole time.

00:37:45 - Anthony Campolo

Let's try this one.

00:38:02 - Rion Gull

I'm just gonna m+make a note here. Is there a, uh, better

00:38:04 - Rion Gull

Is there a better?

00:38:08 - Rion Gull

Test that.

00:38:13 - Rion Gull

Faucet

00:38:19 - Rion Gull

channel description.

00:38:36 - Anthony Campolo

Yeah, there's a bunch of other stuff that comes up if you Google it, but they're not really bosses.

00:38:39 - Anthony Campolo

They're like trying to drive people to buy stuff and things.

00:38:50 - Anthony Campolo

You have to sign up also, which is like...

00:38:52 - Anthony Campolo

Yeah, I know Ryan would not approve of that, so...

00:38:56 - Rion Gull

No. I would not. Yeah. Definitely not.

00:38:58 - Anthony Campolo

No. I would not. Yeah. Definitely not.

00:39:02 - Rion Gull

All right, well, for now let's move on to the next step. Did you get the coins?

00:39:04 - Rion Gull

Did you get the coins?

00:39:06 - Anthony Campolo

I'm assuming so, yeah.

00:39:08 - Rion Gull

Let's check Block Explorer.

00:39:10 - Anthony Campolo

Yep, let's do that.

00:39:14 - Rion Gull

And if you haven't got that in your notes.

00:39:16 - Rion Gull

I did.

00:39:18 - Anthony Campolo

I've gone through these steps like 10 times.

00:39:19 - Anthony Campolo

All these ones are good, trust me.

00:39:22 - Rion Gull

Okay, cool.

00:39:23 - Anthony Campolo

We got three confirmations.

00:39:25 - Anthony Campolo

We got 0.2 dash in there.

00:39:30 - Anthony Campolo

Oh, real quick.

00:39:31 - Anthony Campolo

One thing is, what is a credit?

00:39:34 - Rion Gull

A credit is a smaller denomination of Dash.

00:39:40 - Rion Gull

So it is like Satoshi.

00:39:42 - Rion Gull

Yeah, it's like Satoshi, but even smaller.

00:39:44 - Rion Gull

I think it's a thousand, possibly a million.

00:39:49 - Rion Gull

I think it's a thousand though, credits per Satoshi.

00:39:56 - Anthony Campolo

And that is what we need to top up something.

00:40:00 - Anthony Campolo

Sorry, what was the last thing you said?

00:40:02 - Rion Gull

I said that also should be documented somewhere.

00:40:05 - Rion Gull

If it's not, then it probably should be.

00:40:08 - Rion Gull

Let me see where it comes up.

00:40:18 - Anthony Campolo

I'll know what that means later.

00:40:20 - Anthony Campolo

So I think it, so I was looking at the top of identity one and

00:40:34 - Anthony Campolo

User interaction with dashboard applications, the credit balance associated with their identity.

00:40:40 - Anthony Campolo

It might define it earlier.

00:40:43 - Rion Gull

Right here is the link.

00:40:44 - Rion Gull

It says additional details regarding credits.

00:40:47 - Anthony Campolo

There we go.

00:40:48 - Anthony Campolo

This is not a definition of what a credit is, though.

00:40:52 - Anthony Campolo

This is telling us about something that was added on.

00:40:55 - Anthony Campolo

This is not, I don't think this needs to be here.

00:40:59 - Anthony Campolo

I guess that someone's working with older code, but hold on.

00:41:02 - Anthony Campolo

So back at that, additional details around credits can be found in the credits description.

00:41:08 - Anthony Campolo

Yeah, see, I don't think this is a credits description.

00:41:10 - Anthony Campolo

This is...

00:41:12 - Rion Gull

Credits provide the mechanism for paying fees that cover the cost of platform usage.

00:41:18 - Anthony Campolo

So hold on.

00:41:18 - Anthony Campolo

So where does it say that?

00:41:19 - Anthony Campolo

So hold on, so where does it say that? So it defines it in this doc, but it doesn't higher up.

00:41:22 - Anthony Campolo

That link should, well, okay.

00:41:28 - Anthony Campolo

Now I think I understand what's happening here.

00:41:29 - Anthony Campolo

It's just a little confusing as to how it's linked.

00:41:31 - Anthony Campolo

Lots of credits as established.

00:41:36 - Anthony Campolo

See, I think, sorry.

00:41:40 - Anthony Campolo

It's just a little bit.

00:41:45 - Anthony Campolo

But it still doesn't really say anywhere that it's a smaller denomination.

00:41:49 - Anthony Campolo

So the first time it's mentioned on this page, it says each identity also has a balance of credits as established by locking funds on layer one.

00:41:56 - Anthony Campolo

They're used to pay fees.

00:41:58 - Anthony Campolo

And it gives you a link to this, which says they provide the mechanism for paying fees that cover the cost of platform usage.

00:42:03 - Anthony Campolo

They lock dash and.

00:42:05 - Anthony Campolo

Ownership so but reading all this i wouldn't know how it's different from just the actual cryptocurrency like you know the money itself so i'm not sure if it doesn't say anywhere specifically that it's a smaller domination

00:42:19 - Rion Gull

yeah i was just reading the description and i i agree with you it's it's not enough to know

00:42:24 - Anthony Campolo

It just needs a single sentence, you know, like right here, because that's where the link goes.

00:42:28 - Anthony Campolo

You want to put it right here before this note.

00:42:29 - Anthony Campolo

Just say, creds are a black.

00:42:31 - Anthony Campolo

Just give a single line description right here.

00:42:33 - Anthony Campolo

That's what you want.

00:42:34 - Rion Gull

Let's make an issue.

00:42:36 - Anthony Campolo

I'll fix everything.

00:42:37 - Anthony Campolo

Let's make an issue.

00:42:38 - Anthony Campolo

Let me make a PR.

00:42:39 - Anthony Campolo

Screw that.

00:42:40 - Anthony Campolo

This is so simple.

00:42:42 - Anthony Campolo

No way I can not PR this.

00:42:44 - Anthony Campolo

Okay, I like it.

00:42:47 - Anthony Campolo

No, it's a single line markdown change.

00:42:49 - Anthony Campolo

This is my specialty for PRs.

00:42:54 - Rion Gull

And this is the purpose of this stream, right?

00:42:56 - Rion Gull

The purpose of this stream is to go through the steps of the tutorial, make sure that all of our questions are answered.

00:43:04 - Rion Gull

And if they're not answered, then we do our best to try to provide those answers ourselves.

00:43:09 - Rion Gull

And, you know,

00:43:11 - Rion Gull

If Dash Core Group wants to spice up or spruce up whatever we suggest, that's even better.

00:43:17 - Rion Gull

But let's give it our best shot.

00:43:20 - Anthony Campolo

Let me just make sure I'm on the most recent version.

00:43:24 - Anthony Campolo

I think I am.

00:43:25 - Anthony Campolo

Yeah, cool.

00:43:26 - Anthony Campolo

So I'm just going to go straight to that link.

00:43:30 - Anthony Campolo

It's going to be right here.

00:43:37 - Anthony Campolo

About 25 docs.

00:43:40 - Rion Gull

So it took you to 25.

00:43:44 - Rion Gull

Yeah, there you go.

00:43:46 - Rion Gull

Now we're in 1.0 dev.

00:43:48 - Anthony Campolo

Yeah, we're at.

00:43:52 - Anthony Campolo

And then the credits thing was right here.

00:43:56 - Anthony Campolo

So then I want to be on AJC Web Devs.

00:44:02 - Anthony Campolo

There we go.

00:44:06 - Anthony Campolo

Okay.

00:44:07 - Anthony Campolo

You should give me the exact specific wording, though, because you're the guy.

00:44:14 - Rion Gull

I see.

00:44:14 - Rion Gull

You're throwing it back on me now.

00:44:16 - Rion Gull

I see.

00:44:16 - Anthony Campolo

Okay.

00:44:17 - Anthony Campolo

So let me write back what you've told me, and you can tell me whether it's correct or not.

00:44:21 - Rion Gull

Well, the thing is, I'm not sure.

00:44:23 - Rion Gull

So I...

00:44:26 - Rion Gull

I heard somewhere sometime that it was a thousand or a million, but I'm not sure if what I heard was, if I'm remembering it correctly, or even if they have changed it since then.

00:44:39 - Rion Gull

Because I know this was like years ago that I remember.

00:44:43 - Anthony Campolo

Why don't we try it?

00:44:44 - Anthony Campolo

So let's get off the Dash platform docs.

00:44:46 - Anthony Campolo

Let's go to the original Dash docs, right?

00:44:49 - Anthony Campolo

There's a separate one.

00:44:51 - Anthony Campolo

Is there a separate one for that?

00:44:52 - Anthony Campolo

I know there used to be.

00:44:53 - Anthony Campolo

Do you know?

00:44:55 - Rion Gull

There are multiple docs.

00:44:57 - Rion Gull

There are user docs and developer docs.

00:45:01 - Rion Gull

This is part of the issue.

00:45:03 - Anthony Campolo

We're going to go to the core.

00:45:04 - Anthony Campolo

No, see, this is...

00:45:06 - Anthony Campolo

But yeah, no, this is definitely different.

00:45:07 - Anthony Campolo

Okay, so let's go with this.

00:45:08 - Anthony Campolo

We'll see how they define credits here.

00:45:17 - Anthony Campolo

So they call them identity credits instead of just credits.

00:45:28 - Anthony Campolo

Okay, the lifecycle of an identity is built with multiple different underlying state transitions.

00:45:32 - Anthony Campolo

However, before an identity can be created, a special transaction that transforms dash into credits must take place.

00:45:39 - Anthony Campolo

Wow, that is so useful.

00:45:42 - Anthony Campolo

That has not made sense to me.

00:45:46 - Rion Gull

Okay, but it's even, that description is even not good enough yet.

00:45:51 - Rion Gull

Okay, but it's even— that description is even not good enough yet. It might— it may be down the paragraph here, but the important thing is— But it connects it to what it has to do with the identity.

00:45:59 - Rion Gull

Yeah, so let me just explain it conceptually as a high level description.

00:46:06 - Rion Gull

What you do when you're creating credits is you're locking Dash on the layer one blockchain, the payments blockchain, proof of work blockchain.

00:46:15 - Rion Gull

You're locking Dash in there and creating a transaction to do that lock.

00:46:22 - Rion Gull

And then it's unlocking at the same time it's unlocking.

00:46:28 - Rion Gull

Dash on the platform chain.

00:46:30 - Rion Gull

So it's creating dash on the platform proof of stake chain in the same amount that you have locked on the proof of work chain.

00:46:41 - Rion Gull

I don't know if they explain that.

00:46:43 - Rion Gull

I guess let's just keep on reading.

00:46:47 - Anthony Campolo

Real quick, though.

00:46:47 - Anthony Campolo

So if that's the case, then I don't think it makes sense to say it's like just another way to subdivide dash.

00:46:54 - Anthony Campolo

Because it sounds like there's a lot more involved with it.

00:46:56 - Anthony Campolo

It is more involved.

00:46:58 - Rion Gull

It is more involved and the explanation takes several steps, obviously.

00:47:03 - Rion Gull

So it depends.

00:47:04 - Rion Gull

The first sentence that I give you is going to be context dependent.

00:47:09 - Anthony Campolo

I think my question is what when like if someone is just using dash cryptocurrency, do they encounter credits or is it something that only people building the apps with it encounter?

00:47:25 - Anthony Campolo

If you know.

00:47:27 - Rion Gull

So normally people don't encounter or use credits.

00:47:31 - Rion Gull

In fact, on mainnet, nobody even has, this is not even a thing.

00:47:35 - Rion Gull

On testnet, it is a thing.

00:47:37 - Anthony Campolo

Because of identities.

00:47:38 - Anthony Campolo

And there's no name spacing on the current chain.

00:47:43 - Rion Gull

Say that again.

00:47:44 - Anthony Campolo

So basically the name service thing, what's it called?

00:47:49 - Anthony Campolo

DPNS, I think, something like that.

00:47:51 - Anthony Campolo

So that does not exist on Dash.

00:47:54 - Rion Gull

That's correct.

00:47:55 - Rion Gull

Layer one.

00:47:56 - Rion Gull

On the proof of work payments chain, that does not exist.

00:48:01 - Anthony Campolo

Okay, that makes sense.

00:48:01 - Anthony Campolo

So that is why you never have credit if you're working with cash.

00:48:04 - Rion Gull

This is an important topic.

00:48:06 - Anthony Campolo

Yeah, I'm seeing now, yes.

00:48:09 - Rion Gull

Yeah, this is the bridge that connects the proof of work chain to the proof of stake chain in a way that,

00:48:17 - Rion Gull

and there's some fancy cryptography behind this that only Quantum Explorer, Sam Westrich, CTO of Dash Core Group, really fully understands, or several people there in Dash Core Group.

00:48:29 - Rion Gull

I don't fully understand it.

00:48:32 - Rion Gull

But there is cryptographic proof that it's not like you're not able to create extra coins on the proof of stake chain that you haven't in one and the same transaction, or at least

00:48:49 - Rion Gull

several transactions that occur.

00:48:53 - Rion Gull

and locked on the proof of work chain.

00:48:58 - Rion Gull

Yeah, the credits in the end.

00:49:01 - Rion Gull

I don't know.

00:49:02 - Rion Gull

This is one of those things like from a product.

00:49:05 - Rion Gull

Like if I were a product manager at Dash Core Group, this is one of the things that I would be wondering about if this is even a good idea to have this separate term credits.

00:49:18 - Rion Gull

And it's something that you and I, as we bring Dash Platform to Web2 developers, we have a say in this as well.

00:49:30 - Rion Gull

Like, is this term credit dash credits and platform credits, is it going to be more?

00:49:38 - Rion Gull

Helpful than harmful or should we suggest that maybe we do away with something like this so so is the so it sounds like the song i think i'm starting to get this little virus says here so basically the credits are something that

00:49:50 - Anthony Campolo

you're going to be using to every time you need to interact with the the thing so it's you may or may not know this but do you know how this relates to the concept of gas on ethereum

00:50:00 - Rion Gull

That's exactly what it is.

00:50:02 - Anthony Campolo

Then that's all you got to say.

00:50:04 - Anthony Campolo

It's then that's all you gotta say. Like, I mean, at least if you want to—

00:50:05 - Rion Gull

No, not necessarily.

00:50:06 - Rion Gull

Because we're not targeting somebody that has a thorough understanding of Ethereum.

00:50:13 - Anthony Campolo

Let me correct myself.

00:50:13 - Anthony Campolo

Yeah, sorry.

00:50:14 - Anthony Campolo

That's what you could say to me for it to make sense to me.

00:50:16 - Anthony Campolo

I'm not saying write that in the docs is what I meant.

00:50:20 - Rion Gull

Yeah.

00:50:21 - Anthony Campolo

So I need to figure out, I can translate.

00:50:23 - Anthony Campolo

that to a definition that will be that will be cleaner though which is that as you interact with the chain you need to provide a small amount of funds for the operation to succeed right

00:50:36 - Rion Gull

yeah let's let's go back to the let's go back to where it's described because this may be in there we only read a couple sentences So we were.

00:50:48 - Rion Gull

So I agree that this should be.

00:50:52 - Anthony Campolo

I just heard the first time it's actually mentioned because.

00:50:57 - Anthony Campolo

I'm not sure if it's mentioned earlier in the tutorial up until this point.

00:51:03 - Anthony Campolo

So if this is the first time it's mentioned, that's where you want to make sure.

00:51:07 - Rion Gull

It may even be up in the introduction for all we know. You might have to—

00:51:11 - Rion Gull

You might have to.

00:51:12 - Anthony Campolo

There's only so many.

00:51:12 - Anthony Campolo

Let's pop open all these.

00:51:14 - Anthony Campolo

There's not that many.

00:51:16 - Anthony Campolo

Yeah.

00:51:16 - Rion Gull

Yeah.

00:51:17 - Anthony Campolo

Okay, so yeah, no, the top up is the first time it's showing up.

00:51:21 - Anthony Campolo

So, and this function is where I encountered this concept for the first time and I was confused.

00:51:27 - Anthony Campolo

So I think this is the first time it's mentioned and this is where it would be good.

00:51:32 - Anthony Campolo

So it says the purpose of this tutorial is to walk through the steps necessary to add credits to an identity's balance.

00:51:37 - Anthony Campolo

And then it kind of says, as you interact with it, the credit balance will decrease.

00:51:42 - Anthony Campolo

So it doesn't kind of start with it.

00:51:45 - Anthony Campolo

It kind of jumps into it already talking about the credits without having defined it.

00:51:50 - Anthony Campolo

I think that's probably where it makes most sense that actually is to.

00:51:53 - Anthony Campolo

to define it here instead of defining it.

00:51:57 - Anthony Campolo

I mean, you want to find it probably in both places, but the in terms of you're just walking through this tutorial, just this would be a good place to kind of have a one sentence description, I think.

00:52:07 - Rion Gull

Okay.

00:52:08 - Rion Gull

And do you want to take a stab at what that one sentence description should be if this isn't sufficient?

00:52:14 - Anthony Campolo

So.

00:52:14 - Anthony Campolo

Sure.

00:52:20 - Anthony Campolo

Yeah, so I'm going to go back to here.

00:52:24 - Anthony Campolo

And I don't want this page at all.

00:52:27 - Anthony Campolo

I want...

00:52:51 - Rion Gull

And we don't have to get the sentence exactly right to begin with.

00:52:57 - Rion Gull

But I think starting a PR is a good idea.

00:52:59 - Rion Gull

That way we can have the PR.

00:53:02 - Rion Gull

They can know that there's a little bit of an issue with conceptually explaining what credits are before.

00:53:11 - Rion Gull

Because it is an important topic.

00:53:13 - Rion Gull

And then we can just add on as we go through the tutorial more, we can add on to that.

00:53:21 - Anthony Campolo

There's, I want to go back to.

00:53:26 - Anthony Campolo

Where they explained it earlier in the actual dash for one.

00:53:36 - Anthony Campolo

Give me just one quick second.

00:53:38 - Anthony Campolo

So it was.

00:53:53 - Anthony Campolo

Here we go.

00:53:54 - Anthony Campolo

Here we go.

00:53:55 - Anthony Campolo

So.

00:53:58 - Anthony Campolo

And then identity is created, special transaction transforms dash into credits.

00:54:09 - Rion Gull

which are used to interact with the with dash platform.

00:54:26 - Anthony Campolo

Okay, I think to me that would be something that would make sense to me that would explain what they are.

00:54:32 - Rion Gull

And like, I think that we should also add a sentence that says something about the, the unit conversion if and when we find that.

00:54:39 - Anthony Campolo

Yeah, so that's the thing.

00:54:40 - Anthony Campolo

I don't know where that information is.

00:54:41 - Rion Gull

Yeah, do a placeholder sentence that says...

00:54:46 - Rion Gull

One, yeah, something like one credit equals, or no,

00:54:54 - Rion Gull

one dash, one, the number one though, the number one, one dash, and then the symbol equals, equals 100 million.

00:55:10 - Rion Gull

Let's put commas in there.

00:55:11 - Rion Gull

Let's put commas in there.

00:55:13 - Anthony Campolo

Yeah.

00:55:13 - Rion Gull

Yeah.

00:55:14 - Rion Gull

100 million Satoshis.

00:55:20 - Anthony Campolo

Comma or no comma for that?

00:55:22 - Anthony Campolo

Can we see how they do it for...

00:55:25 - Rion Gull

It's not a comma.

00:55:27 - Anthony Campolo

Okay, cool.

00:55:28 - Rion Gull

Yeah.

00:55:29 - Rion Gull

Equals.

00:55:35 - Rion Gull

Like 100 billion, or you could just do question mark, question mark credits.

00:55:40 - Anthony Campolo

Yeah.

00:55:49 - Anthony Campolo

Okay.

00:55:49 - Rion Gull

Yeah.

00:55:52 - Anthony Campolo

So I'll just commit this on my thing.

00:55:54 - Anthony Campolo

I won't necessarily open the fork yet.

00:55:56 - Anthony Campolo

Yeah.

00:55:57 - Rion Gull

Yeah.

00:55:57 - Rion Gull

Commit it on your fork and then we can do it later.

00:56:01 - Rion Gull

You'll want to be consistent whether you're uppercasing or lowercasing credits.

00:56:06 - Anthony Campolo

Yeah.

00:56:07 - Rion Gull

And then.

00:56:10 - Rion Gull

Like Satoshi's also is one of those things.

00:56:13 - Rion Gull

I always uppercase dash because in terms of units, I like to keep dash analogous to like USD.

00:56:23 - Anthony Campolo

Or BTC, yeah.

00:56:24 - Rion Gull

Or BTC.

00:56:25 - Rion Gull

They're always uppercase and whatnot.

00:56:28 - Rion Gull

I don't know what the convention is or should be for Satoshi's and credits, but I think it's good enough for now.

00:56:38 - Anthony Campolo

Great.

00:56:47 - Anthony Campolo

That was a long rabbit hole for my question.

00:56:51 - Anthony Campolo

That's good.

00:56:52 - Anthony Campolo

I think that's great.

00:56:52 - Rion Gull

That's the purpose here.

00:56:53 - Anthony Campolo

Yeah.

00:56:54 - Anthony Campolo

No, I dig it.

00:56:55 - Anthony Campolo

I super dig it.

00:56:56 - Anthony Campolo

Did you want to keep going along from where we were in the tutorial?

00:56:59 - Anthony Campolo

We just created a wallet.

00:57:04 - Rion Gull

Um,

00:57:08 - Rion Gull

I was thinking back to a better way to describe that unit conversion thing, because it would also be, it'd also be better to, to write explicitly that, that,

00:57:22 - Rion Gull

one Satoshi equals one Satoshi equals question mark question like 1000 credits.

00:57:31 - Rion Gull

Because I wouldn't if I were the reader of this, I wouldn't want to have to decipher between the 100 million Satoshis equals 100 billion or whatever number that is.

00:57:44 - Rion Gull

Yeah, I would want.

00:57:45 - Rion Gull

Yeah, I think.

00:57:46 - Rion Gull

In terms of stats.

00:57:48 - Anthony Campolo

Yeah, I think you don't necessarily do the Satoshi conversion at all.

00:57:51 - Anthony Campolo

You just say this is a smaller denomination, like how Satoshis are as well, something like that.

00:57:56 - Anthony Campolo

And you can just link to Satoshis.

00:57:57 - Anthony Campolo

People can read about it more if they want.

00:58:00 - Rion Gull

Yep, I think that would be the move.

00:58:08 - Anthony Campolo

What is a Satoshi?

00:58:13 - Rion Gull

You know what that is, right?

00:58:15 - Rion Gull

Oh, yeah, absolutely.

00:58:15 - Rion Gull

Yeah.

00:58:16 - Anthony Campolo

So that's what's interesting, though, is that it's both, it's like a Satoshi, it's also like gas and Ethereum.

00:58:20 - Anthony Campolo

That, like, again, I'm just, I'm the type of person that compares these things is helpful, so that's why I tend to frame them these ways.

00:58:26 - Anthony Campolo

I know some people, like, don't want to talk about other projects, how they relate at all, but at least that to me is interesting, it's cool, because...

00:58:32 - Anthony Campolo

there, it helps you kind of start to understand where the commonalities are of different projects.

00:58:38 - Anthony Campolo

So that to me definitely just makes a lot of sense because when I actually make real, when I use cryptocurrency, the times I use it,

00:58:48 - Anthony Campolo

gas is always a thing because you can pay more gas to get your transaction faster or pay less gas, so it'll take longer.

00:58:54 - Anthony Campolo

So I guess, does that exist or is you just pay the credits and it just happens at whatever time it takes?

00:59:01 - Rion Gull

In this system, in the Dash platform system, I believe it is deterministic.

00:59:07 - Anthony Campolo

That's way better.

00:59:09 - Anthony Campolo

Way better.

00:59:10 - Rion Gull

Yeah, a certain...

00:59:13 - Rion Gull

So in that way, it's not like gas, probably.

00:59:16 - Anthony Campolo

But the worst part about gas, like you fix the problem with gas then.

00:59:20 - Rion Gull

Yeah, a certain transaction will have a certain will cost a certain amount every time.

00:59:26 - Rion Gull

And I don't think that there's a mechanism to speed that up.

00:59:31 - Rion Gull

It's just we.

00:59:32 - Rion Gull

have it's fast by default and if if there's a problem with that like there is going to be a mechanism where we can change those rates which you know

00:59:44 - Rion Gull

like allocating this amount of memory costs x amount of credits um doing a certain

00:59:51 - Rion Gull

amount of processing costs another and then so like ethereum has this as well where certain operations low level operations

01:00:03 - Rion Gull

there is a there is a table of costs and then certain transactions will map to those certain low level operations

01:00:12 - Rion Gull

Like registering identity is one thing.

01:00:14 - Rion Gull

Registering a name is another thing.

01:00:18 - Rion Gull

And then topping up your balance is just saying, hey, let's convert some layer one dash into credits at that given rate so that when I do these transactions, I'm pulling from my credit balance.

01:00:35 - Anthony Campolo

Okay, so this is the thing that when I was running this, I just make sure that this part is, could they explain you're giving it the thousand also number?

01:00:45 - Anthony Campolo

Oh, so duffs, are duffs the smaller denomination?

01:00:51 - Anthony Campolo

Yeah.

01:00:52 - Anthony Campolo

Okay, so that's the term duff.

01:00:54 - Anthony Campolo

I remember duff came up.

01:00:55 - Anthony Campolo

A lot the last when i was doing this the first time this came up over the summer i was like i just remember what a duff and a credit and all this stuff is

01:01:03 - Anthony Campolo

Okay. So it is here in the documentation. Maybe it's a little bit lower than you wanted it personally. That's subjective. Well but this doesn't explain what a credit is. It it just says a duff is equal to a thousand credits. That's still then that begs the question of what is a credit? Just 'cause you know it how to convert duffs to credits.

01:01:16 - Anthony Campolo

just because you know how to convert duffs to credits.

01:01:19 - Anthony Campolo

That still doesn't really answer the question.

01:01:21 - Rion Gull

One duff is the same as one Satoshi.

01:01:23 - Rion Gull

So this is an issue of not controversy, but just difference of opinion in the Dash community, what we should call our base unit.

01:01:35 - Rion Gull

I'm in the camp that I think it should still be called one Satoshi for just for the reason that everybody already understands Satoshi's.

01:01:46 - Anthony Campolo

I agree.

01:01:46 - Rion Gull

Giving it a new name.

01:01:48 - Rion Gull

Giving it a new name— Duff is short for Duffield, which is the last name of Evan Duffield, the creator of Dash. Um, yep.

01:01:57 - Rion Gull

Yep.

01:01:59 - Anthony Campolo

That's cool.

01:01:59 - Anthony Campolo

Hey, that's cool. It's a nice, it's a nice little tribute, I suppose.

01:02:02 - Rion Gull

Yeah, I mean, so it's the same in terms of like Satoshi, you know, was the creator of Satoshi.

01:02:07 - Anthony Campolo

You have your real nerd to figure that one out, though.

01:02:11 - Rion Gull

Yeah, and Ethereum has their own base unit as well.

01:02:14 - Rion Gull

So we were following that tradition and some people still are.

01:02:18 - Rion Gull

I just personally think that Satoshi is a better term.

01:02:24 - Rion Gull

It's less confusing.

01:02:25 - Rion Gull

And I also believe that the Dash project is closer to what Satoshi would have wanted anyway.

01:02:36 - Rion Gull

So I'm claiming the Satoshi.

01:02:39 - Rion Gull

I'm claiming Satoshi.

01:02:40 - Anthony Campolo

You're taking it back.

01:02:42 - Rion Gull

Yeah.

01:02:44 - Anthony Campolo

Okay.

01:02:44 - Anthony Campolo

Yeah, so I guess for me, what has been confusing is that there's two concepts going on here.

01:02:51 - Anthony Campolo

There's one, there's the denomination, which is like this converts into this.

01:02:55 - Anthony Campolo

And then there's the credits are a thing that you need to interact with the platform itself.

01:03:00 - Anthony Campolo

And those, I think, like...

01:03:02 - Anthony Campolo

You want to make that as explicit as possible.

01:03:05 - Anthony Campolo

So people know like one, like just because just a unit conversion is very simple.

01:03:08 - Anthony Campolo

Everyone understands that.

01:03:09 - Anthony Campolo

There's no real need to define that as a concept, just cents to dollars.

01:03:13 - Anthony Campolo

Whereas we need to pay a specific extra thing to do to interact with the chain.

01:03:18 - Anthony Campolo

And then it's somehow different from just a regular old,

01:03:21 - Anthony Campolo

dash as a cryptocurrency, that's where the questions start to come in.

01:03:24 - Rion Gull

Yeah.

01:03:25 - Rion Gull

So, yeah, we're going to have this draft PR.

01:03:29 - Rion Gull

And before we submit it as a poll request to

01:03:32 - Rion Gull

to DCG.

01:03:34 - Rion Gull

I want us to let it simmer in your head.

01:03:39 - Anthony Campolo

I would not open a PR like this.

01:03:40 - Anthony Campolo

This is notes to myself.

01:03:42 - Rion Gull

Yeah.

01:03:43 - Rion Gull

But that answered our question right there in the documentation.

01:03:47 - Rion Gull

It does say one Duff equals 1,000 credits.

01:03:49 - Rion Gull

So one Satoshi equals 1,000 credits.

01:03:52 - Rion Gull

And therefore, so you could take the double check off there.

01:03:59 - Anthony Campolo

So this is correct, that conversion.

01:04:00 - Rion Gull

Yeah, we'll double check that now.

01:04:02 - Rion Gull

That is correct.

01:04:05 - Anthony Campolo

But this would be just though, not credits.

01:04:10 - Rion Gull

No, no, no, no, no.

01:04:13 - Rion Gull

You could do another equals and say one dash equals 100 million Satoshis equals 100 million Duffs equals 100 billion credits.

01:04:24 - Rion Gull

You could do that.

01:04:26 - Anthony Campolo

I would do that.

01:04:27 - Rion Gull

Yes, that's even better.

01:04:29 - Anthony Campolo

Yeah, there we go.

01:04:31 - Rion Gull

You can take the one Duff equals 1,000 credits off as well now.

01:04:37 - Rion Gull

So now you understand it.

01:04:39 - Rion Gull

I've confirmed the 1,000.

01:04:44 - Rion Gull

Conversion ratio.

01:04:45 - Rion Gull

So we're good to go as far as conceptually.

01:04:49 - Rion Gull

And

01:04:52 - Rion Gull

Let's move on to the next step in the tutorial.

01:04:58 - Anthony Campolo

So the next step in the tutorial.

01:05:02 - Anthony Campolo

let me get my tutorial back up here—

01:05:06 - Anthony Campolo

Was we were at after creating the wallet and then we added funds to the wallet and then we registered the name.

01:05:12 - Anthony Campolo

I think it's going to be the next one.

01:05:15 - Anthony Campolo

Yep.

01:05:16 - Anthony Campolo

So let me open that up.

01:05:22 - Anthony Campolo

That's going to be this right here.

01:05:26 - Rion Gull

And you know what I'm thinking?

01:05:29 - Rion Gull

I think that even though the new documentation isn't published yet, I think that we should actually start converting your

01:05:40 - Rion Gull

your tutorial to follow that one more closely with the way that I know that they're moving toward.

01:05:46 - Rion Gull

Yes.

01:05:46 - Anthony Campolo

You get the link to that.

01:05:48 - Rion Gull

Yeah.

01:05:49 - Rion Gull

So let me try to find it, but you could try to find it as well.

01:05:54 - Rion Gull

In, if you know where the documentation is on GitHub, which you just, you just went there.

01:06:00 - Rion Gull

Try to go to the branch of that.

01:06:11 - Anthony Campolo

Is it a...

01:06:12 - Anthony Campolo

Okay, here we go.

01:06:14 - Rion Gull

Yeah, and then let's go to the docs.

01:06:18 - Rion Gull

It may not be in the 1.0 dev branch yet, but it's in some branch.

01:06:22 - Rion Gull

So let's find it.

01:06:24 - Anthony Campolo

What are we looking for exactly?

01:06:26 - Rion Gull

What we're looking for is what, let's see, two weeks ago.

01:06:32 - Rion Gull

I don't think that would be it.

01:06:34 - Rion Gull

Let's look at the branch names again.

01:06:37 - Rion Gull

Let's look at the branch names in the dropdown.

01:06:41 - Rion Gull

And see if there's

01:06:46 - Anthony Campolo

Yeah, view all branches.

01:06:49 - Anthony Campolo

Hmm.

01:06:50 - Anthony Campolo

It's like.

01:06:55 - Anthony Campolo

That's the best way to find this.

01:07:21 - Rion Gull

Can you do a search?

01:07:27 - Rion Gull

Let's see.

01:07:28 - Rion Gull

This is, what repo is this again?

01:07:31 - Rion Gull

Scroll up.

01:07:32 - Anthony Campolo

Dash pay, docs platform.

01:07:34 - Rion Gull

Docs platform.

01:07:35 - Rion Gull

And is that where this documentation lives?

01:07:37 - Rion Gull

You're sure of that part?

01:07:39 - Anthony Campolo

I mean, it's where you go and you click the edit button on the docs.

01:07:43 - Anthony Campolo

That's what I'm assuming, but I don't know if it's actually being deployed from here or not.

01:07:46 - Anthony Campolo

You know, could be, because there's no,

01:07:48 - Anthony Campolo

real way to see that.

01:07:50 - Rion Gull

This change that I'm talking about happened in the past week.

01:07:55 - Rion Gull

So,

01:07:57 - Rion Gull

Oh, I don't know.

01:07:59 - Rion Gull

Let's go back to where you were before.

01:08:05 - Anthony Campolo

I mean, if we look at the commits, the most recent commit was just this thing.

01:08:12 - Rion Gull

Yeah, not the most recent.

01:08:14 - Anthony Campolo

So where did you, who was talking about it?

01:08:16 - Anthony Campolo

Like, where did you hear about this?

01:08:17 - Anthony Campolo

Like, have you seen it?

01:08:18 - Anthony Campolo

Like, what is the context of why you know about it, I guess?

01:08:23 - Rion Gull

The Fez.

01:08:24 - Rion Gull

I know that, I'm pretty sure that the Fez is the one that,

01:08:27 - Anthony Campolo

So ask them to say, hey.

01:08:28 - Rion Gull

Let me just give me a second to read through these.

01:08:34 - Rion Gull

Increased number of credits.

01:08:39 - Rion Gull

SDK doc updates, that might be it.

01:08:54 - Anthony Campolo

So are there specific changes you are worried about or that you think are different?

01:08:59 - Anthony Campolo

Because it doesn't sound like there's any big code changes in any of these.

01:09:03 - Rion Gull

The only thing that the major thing that was changed is...

01:09:12 - Rion Gull

The client instantiation was got its own separate page in the docs.

01:09:18 - Anthony Campolo

I see.

01:09:18 - Anthony Campolo

Okay.

01:09:20 - Rion Gull

And then subsequently it imports it.

01:09:24 - Rion Gull

And then subsequently it imports it because remember when we were talking last time? Yeah. There was that issue of the, the block at which to start syncing.

01:09:40 - Anthony Campolo

So let's do this.

01:09:40 - Anthony Campolo

Let's just go up to the most recent one.

01:09:43 - Anthony Campolo

Just go look at it.

01:09:45 - Anthony Campolo

So if this is the most recent change, then let's go to tutorial and just walk through it.

01:09:52 - Anthony Campolo

So it's going to start with.

01:10:07 - Anthony Campolo

So connect to a network.

01:10:15 - Anthony Campolo

yeah, so this is still the same as it's always been. Like, nothing's different here.

01:10:18 - Anthony Campolo

Like, nothing's different here.

01:10:19 - Rion Gull

Yeah, that's what I was saying.

01:10:20 - Rion Gull

Yeah. That's why I was saying that the I don't think they've deployed it yet. The latest version.

01:10:24 - Anthony Campolo

But it's not even on, but this is the GitHub.

01:10:26 - Anthony Campolo

So it's not a question of deployment.

01:10:28 - Anthony Campolo

It's not in the repo at all, whatever you're referring to.

01:10:29 - Rion Gull

Well, it's not in this branch then.

01:10:32 - Anthony Campolo

So there's only other so many branches.

01:10:34 - Anthony Campolo

We just go look at the other ones.

01:10:35 - Anthony Campolo

There's like five branches.

01:10:36 - Anthony Campolo

So let's just see, I guess.

01:10:42 - Rion Gull

Maybe it's on develop.

01:11:03 - Rion Gull

It won't be in that one.

01:11:04 - Rion Gull

That's 24.

01:11:15 - Anthony Campolo

Yeah, I think you should just ask whoever you think was the one to make the change.

01:11:21 - Anthony Campolo

I don't think we're going to find it this way.

01:11:24 - Rion Gull

Yeah.

01:11:27 - Rion Gull

Yeah, click down in the the develop— the branches list again. And all—

01:11:35 - Rion Gull

And

01:11:39 - Anthony Campolo

None of these have been updated in the last week, so it's none of these branches.

01:11:41 - Anthony Campolo

We know that for sure.

01:11:43 - Rion Gull

Yeah.

01:11:45 - Rion Gull

Maybe it was just on his own machine.

01:11:47 - Rion Gull

I don't know.

01:11:50 - Rion Gull

You do something for a while.

01:11:52 - Rion Gull

I'll find it.

01:11:53 - Anthony Campolo

Either, yeah.

01:11:54 - Anthony Campolo

So if we want to change things, like we need to know what we're changing, so if we need the docs, we're the docs are, and it does make sense for us to just go continue and just search around random rebos to try and find, you just ask the person directly.

01:12:05 - Rion Gull

No, that doesn't make sense either.

01:12:06 - Rion Gull

No, that doesn't make sense either. He's not going to be online. Even if he is, I'm going to say—

01:12:09 - Rion Gull

I'm going to search.

01:12:10 - Anthony Campolo

Okay, well, then we should stop the stream now.

01:12:13 - Anthony Campolo

We can't go on until we need this answered.

01:12:15 - Rion Gull

I don't know.

01:12:20 - Anthony Campolo

I don't think it's a good use of time.

01:12:21 - Anthony Campolo

That's all I'm saying.

01:12:22 - Anthony Campolo

There's other things we can do.

01:12:23 - Anthony Campolo

The tutorial's not even finished.

01:12:25 - Rion Gull

You go ahead.

01:12:25 - Rion Gull

You go ahead with the tutorial.

01:12:28 - Rion Gull

I want you to keep going on the tutorial.

01:12:31 - Rion Gull

Make sure that the other steps are still working.

01:12:34 - Rion Gull

I'll search for the issue.

01:12:35 - Rion Gull

I'll find it.

01:12:36 - Rion Gull

If I can just concentrate for a minute here.

01:12:41 - Anthony Campolo

Okay, go for it.

01:12:48 - Anthony Campolo

I got to push my changes, actually, for what I've done so far, so I'll do that.

01:13:52 - Rion Gull

Okay, I just sent you a link to your dis— uh, a message in Discord. Okay, so pop that open.

01:13:59 - Anthony Campolo

Okay.

01:14:00 - Rion Gull

So pop that open.

01:14:01 - Rion Gull

That's the issue.

01:14:11 - Anthony Campolo

Okay, so this is the dash a platform tutorials.

01:14:16 - Anthony Campolo

So this is code for the tutorials found on.

01:14:19 - Anthony Campolo

So they've updated the code, but does that mean that docs also have the updates as well?

01:14:45 - Anthony Campolo

Oh, yes, it's right here.

01:14:46 - Anthony Campolo

PR will also be required, and the docs have to be found in the docs of this change.

01:14:49 - Anthony Campolo

So the thing that would be in the docs, it sounds like, has not happened yet, but the change in the code.

01:14:56 - Rion Gull

So this is dash pay slash platform tutorials.

01:15:02 - Rion Gull

And then there's this separate dash pay slash docs platform.

01:15:06 - Rion Gull

That's what's confusing us right there.

01:15:08 - Anthony Campolo

Yeah, it makes sense to me because you've got the docs itself and you've got just a repo that is the code.

01:15:13 - Anthony Campolo

It's the same thing with me.

01:15:14 - Anthony Campolo

That's why I have a separate tutorial markdown file and then the actual dash examples.

01:15:20 - Anthony Campolo

repo.

01:15:21 - Anthony Campolo

So I've consolidated them by just making the docs a single markdown within this project, you know, and that wouldn't make any sense for you to do that.

01:15:29 - Anthony Campolo

But that does make sense to me in terms of like you want the example.

01:15:32 - Anthony Campolo

sample that you're building in the tutorial to be a separate repo from the thing that is the docs themselves.

01:15:39 - Rion Gull

Okay.

01:15:39 - Rion Gull

Okay, well, either way, let's, uh, let's take these changes and let's put those changes into your tutorial.

01:15:49 - Anthony Campolo

But my tutorial is already doing it already.

01:15:52 - Rion Gull

It's already doing that.

01:15:53 - Anthony Campolo

It's yeah, that's what I thought that way from the beginning.

01:15:56 - Rion Gull

So yeah, that's what I thought.

01:15:58 - Rion Gull

Okay, so I just wanted to double check that it's all the same.

01:16:03 - Anthony Campolo

I guess it is.

01:16:04 - Rion Gull

Yeah.

01:16:05 - Rion Gull

So with that brief tangent out of the way.

01:16:11 - Rion Gull

What step are we on now?

01:16:13 - Anthony Campolo

What step were we on?

01:16:16 - Anthony Campolo

We were trying to...

01:16:22 - Anthony Campolo

Sorry, I was kind of on a different step from where we were actually, but I'm on two threads right now at the same time.

01:16:27 - Anthony Campolo

So let's go back to where we actually were, which was just we created the wallet and then we loaded some funds into it.

01:16:33 - Anthony Campolo

We were about to create an identity.

01:16:34 - Anthony Campolo

It was going to be the next thing.

01:17:01 - Anthony Campolo

I can probably go for maybe another 15, 20 minutes, and then I'll probably have to call it.

01:17:06 - Rion Gull

Yeah.

01:17:08 - Rion Gull

Okay, so it looks like we ran into an error here.

01:17:13 - Anthony Campolo

This one takes a while.

01:17:14 - Anthony Campolo

It did work, yeah.

01:17:16 - Anthony Campolo

This one takes the longest of any of the commands, getting the identity ID back.

01:17:23 - Anthony Campolo

Yeah, so then you save that in your .env, and then you retrieve the identity.

01:17:31 - Anthony Campolo

So that'll be this one.

01:17:35 - Anthony Campolo

And all these were working as far as I'm, as far as I read through all this before you were on.

01:17:39 - Anthony Campolo

So all this stuff still works.

01:17:41 - Anthony Campolo

So this gives you the identity object back.

01:17:48 - Anthony Campolo

Okay.

01:17:48 - Anthony Campolo

And then you can retrieve the IDs, which I probably have a million of them now.

01:18:07 - Anthony Campolo

Interesting.

01:18:07 - Anthony Campolo

Actually, no, because we created a fresh wallet.

01:18:09 - Anthony Campolo

So, yes, that makes sense why there would only be one.

01:18:13 - Anthony Campolo

And then you got the top up.

01:18:24 - Anthony Campolo

I think this one actually might have it in my here that it was broken.

01:18:28 - Anthony Campolo

So this one still is.

01:18:31 - Anthony Campolo

Something's going funky.

01:18:33 - Anthony Campolo

So state transition broadcast error asset lock transaction output zero only has a thousand credits left out of a thousand initial credits on the asset lock, but needs 50,000 credits to start processing.

01:18:45 - Anthony Campolo

Lock credits.

01:18:50 - Rion Gull

Well, let me just read that again.

01:18:54 - Anthony Campolo

Is that just saying we don't have enough money?

01:18:57 - Anthony Campolo

Well, so I did the test net.

01:19:00 - Anthony Campolo

I got my test net thing.

01:19:02 - Anthony Campolo

And then I started with whatever that gave me.

01:19:06 - Anthony Campolo

And then now it's saying I need 50,000 credits.

01:19:12 - Rion Gull

Yeah.

01:19:14 - Anthony Campolo

How do I get more?

01:19:15 - Anthony Campolo

So do I need to use it, test a faucet again?

01:19:17 - Anthony Campolo

How do I get more? So do I need to use a faucet again or do I need to do something? I'm not really sure what's happening right now.

01:19:22 - Rion Gull

You tell me, is it clear enough?

01:19:25 - Rion Gull

What's wrong?

01:19:27 - Anthony Campolo

Well, the problem is it's not clear.

01:19:31 - Anthony Campolo

When you first do, so let's go back to where you first do the faucet.

01:19:34 - Anthony Campolo

Because it's not clear exactly how much you get at that point.

01:19:40 - Rion Gull

Um, so yeah, I think the faucet gives you a random amount, but I think it gives you like, um, at least one Dash as far as I— how many did— how many— like, check your, um, Check your block explorer, see how much Dash you have.

01:20:02 - Anthony Campolo

So it started me with 0.2 dash.

01:20:05 - Rion Gull

Oh, okay.

01:20:07 - Anthony Campolo

How many credits is that?

01:20:08 - Anthony Campolo

That turns into still hundreds of millions of credits, doesn't it?

01:20:12 - Rion Gull

Yeah, it should be.

01:20:13 - Rion Gull

Yep.

01:20:14 - Rion Gull

Because one dash is 100 million Satoshis, and that's 100 billion credits.

01:20:20 - Rion Gull

So we should have plenty.

01:20:22 - Anthony Campolo

So I think what's, so it sounds like what's happening is that it's saying here, I have a thousand credits left out of a thousand initial credits on the asset lock.

01:20:33 - Anthony Campolo

So that's the step where the, we already talked about there's the asset lock transition thing.

01:20:42 - Anthony Campolo

That is just something that's happening.

01:20:45 - Anthony Campolo

We're not controlling that through how we're interacting with it.

01:20:50 - Anthony Campolo

That happened under the hood.

01:20:52 - Anthony Campolo

Yeah.

01:20:52 - Anthony Campolo

So it's a little confusing how, I mean, I'm confused about how to fix it, I guess.

01:20:58 - Anthony Campolo

Yeah.

01:20:58 - Anthony Campolo

But is this an issue that we just need to, there needs to be something fixed in terms of generating the right amount of credit?

01:21:02 - Rion Gull

I think this is...

01:21:03 - Rion Gull

Yeah, this is an issue.

01:21:07 - Rion Gull

I think the one thing that we could maybe do at this point, and then we could end after this, is let's check to see what we need is we need a

01:21:19 - Rion Gull

dash testnet platform explorer to see how many credits.

01:21:24 - Rion Gull

Our account has.

01:21:28 - Rion Gull

Yeah, let's start with Google.

01:21:31 - Rion Gull

I'm curious to see if Shenmix Testnet Explorer will show up here.

01:21:38 - Anthony Campolo

Are there any of these?

01:21:41 - Rion Gull

No.

01:21:44 - Anthony Campolo

Can you send me the link then if you haven't already know it?

01:21:46 - Rion Gull

I'll send you the link.

01:21:51 - Rion Gull

But this is another one of those things that, you know, arguably should be in the documentation.

01:21:58 - Rion Gull

So maybe worth another PR on this.

01:22:01 - Anthony Campolo

I mean, the way I would structure it, I would send people, if there's a different block explorer, I would send people straight to that.

01:22:07 - Anthony Campolo

If it's also going to give you your basic dash.

01:22:11 - Anthony Campolo

Amount to instead of trying to tell people there's two different tests there's two different explorers one's for dash platform one's for the other you just want a single explorer that give you all

01:22:21 - Anthony Campolo

if it's possible i don't i don't think that we have we don't have that um yeah we have so the things you would see on the dash platform explore would be

01:22:31 - Anthony Campolo

different things than you would see from the regular floor?

01:22:35 - Rion Gull

Well, think about what we talked about last time.

01:22:38 - Rion Gull

There are two blockchains in this, in Dash right now.

01:22:44 - Rion Gull

There's the proof of work blockchain and the proof of stake blockchain.

01:22:49 - Rion Gull

What we looked at right there was the proof of work testnet

01:22:53 - Rion Gull

Explorer that's not going to have anything

01:22:55 - Rion Gull

about how many...

01:22:57 - Anthony Campolo

Right, I'm talking about the other way around.

01:22:59 - Anthony Campolo

Once we're on Dash platform, if you also can get this information, I mean, and you can create the front end in a way where you could get information, I would need to see the Dash platform explorer first to know what's there and what's not.

01:23:15 - Rion Gull

Yeah.

01:23:16 - Rion Gull

Let's look at it together on the screen real quick.

01:23:19 - Anthony Campolo

Oh, I have ended up here before, actually.

01:23:23 - Anthony Campolo

But I think the stuff doesn't necessarily show up.

01:23:27 - Anthony Campolo

So if I just put in my wallet address, that shows up.

01:23:30 - Rion Gull

Latest transactions are April 6th, so that should be fine.

01:23:36 - Rion Gull

That last one that I see is an identity create.

01:23:39 - Rion Gull

That could have been ours.

01:23:41 - Anthony Campolo

Well, this is, I don't know, actually.

01:23:44 - Anthony Campolo

I suppose.

01:23:48 - Rion Gull

304, that was probably us.

01:23:52 - Rion Gull

Yeah, because it's 311, my time right now.

01:23:55 - Anthony Campolo

Oh, yeah, that's that.

01:23:57 - Anthony Campolo

Oh yeah, that's that. Okay, so let me grab this.

01:23:58 - Anthony Campolo

Actually, this is really important.

01:24:03 - Anthony Campolo

So the first time we, so this is, oh no, this is, yeah, this is very helpful actually.

01:24:09 - Anthony Campolo

So this is after you do the create the identity.

01:24:13 - Anthony Campolo

So it's gonna be up here, create identity.

01:24:18 - Anthony Campolo

Boom, boom, boom.

01:24:19 - Anthony Campolo

Great, so that.

01:24:27 - Anthony Campolo

And then if you go to the identity, so this is my question then, what can you see about it?

01:24:32 - Anthony Campolo

Does it have any connection to the address, the wallet address that's associated with this identity?

01:24:37 - Rion Gull

Well, right now what I see is I see balance zero credits, so that can't be good.

01:24:43 - Anthony Campolo

Well, that's also, and that's different from what our CLI said, which said I still have.

01:24:47 - Anthony Campolo

Oh, no.

01:24:49 - Anthony Campolo

Yeah, it says I have 1,000 credits left out, 1,000 official credits.

01:24:52 - Anthony Campolo

So there's some mismatch there.

01:24:55 - Rion Gull

Yeah. So let's, let's try to do another transaction, see if it shows up in real time on the Platform Explorer. Uh, let's try to do an identity top-up.

01:25:02 - Rion Gull

Let's try to do an identity top up.

01:25:05 - Rion Gull

That's worth breaking.

01:25:06 - Rion Gull

More funds.

01:25:07 - Rion Gull

That's what we just tried to run.

01:25:09 - Rion Gull

Oh.

01:25:09 - Rion Gull

Oh, we just tried to do— yeah, that's what was broken.

01:25:10 - Anthony Campolo

Yeah, that's what was broken.

01:25:11 - Anthony Campolo

Yeah.

01:25:11 - Rion Gull

Top up identity.

01:25:16 - Rion Gull

Okay, yeah, this might be something that I have to...

01:25:20 - Rion Gull

We're pretty much learning this stuff together right now at this point.

01:25:23 - Rion Gull

Yeah, no, it's great.

01:25:24 - Rion Gull

Because I don't...

01:25:27 - Rion Gull

Let's see briefly what it says about top-up identity.

01:25:29 - Rion Gull

I would have expected that would be...

01:25:34 - Rion Gull

Adding credits to your account.

01:25:37 - Anthony Campolo

So we should try and see if there's references anywhere to the thousand initial credits.

01:25:46 - Anthony Campolo

Actually, does this transaction?

01:25:50 - Anthony Campolo

Can I get that?

01:25:50 - Anthony Campolo

Okay, so that's this, I guess, or no.

01:25:58 - Anthony Campolo

Let me go check the top up.

01:26:13 - Anthony Campolo

So as users interact with the application, the credit balance associated will decrease and eventually it'll be necessary to top off the balance by converting some dash to credits.

01:26:21 - Anthony Campolo

Additional details, yes, we saw all that.

01:26:25 - Anthony Campolo

So the top of amount we're doing is, oh, so maybe I need to just do more than a thousand.

01:26:29 - Anthony Campolo

Maybe it's just the issue.

01:26:31 - Anthony Campolo

Let's try that.

01:26:35 - Rion Gull

Let's do a million.

01:26:37 - Rion Gull

Like, let's get crazy.

01:26:38 - Rion Gull

I mean, I'm just, but like, yeah, we definitely need more than a thousand.

01:26:42 - Rion Gull

So that's another tutorial.

01:26:45 - Rion Gull

Where did you get that thousand from?

01:26:47 - Rion Gull

That's a tutorial.

01:26:48 - Rion Gull

Right here.

01:26:49 - Anthony Campolo

This is where it is from right here.

01:26:52 - Rion Gull

That's a tutorial fail.

01:26:53 - Rion Gull

That default needs to be higher.

01:26:57 - Rion Gull

Because if you can't do all the things with 1,000 credits, then not good.

01:27:08 - Anthony Campolo

There you go.

01:27:09 - Anthony Campolo

Cool.

01:27:09 - Anthony Campolo

We fixed it.

01:27:10 - Anthony Campolo

All right.

01:27:10 - Anthony Campolo

Cool, we fixed it. All right, so let me make a note of that as well in my repo that I was adding notes to. Works just with—

01:27:23 - Rion Gull

Works just with. Let's let's do a PR for that. And let's call it good after after that PR. 'Cause we we should definitely bump that up in in the uh the official documentation to like something like a million credits.

01:27:35 - Rion Gull

Just give them plenty of room to work with.

01:27:39 - Anthony Campolo

No.

01:27:48 - Rion Gull

Even a billion credits.

01:27:50 - Rion Gull

Just give them enough.

01:27:51 - Rion Gull

A billion.

01:27:55 - Rion Gull

I don't like it.

01:27:57 - Rion Gull

Honestly, I don't like the credits thing.

01:27:58 - Rion Gull

I'm going to have to talk to DCG about this.

01:28:00 - Rion Gull

Like, why is this necessary?

01:28:03 - Rion Gull

I know that there are on the.

01:28:08 - Rion Gull

On the sub low level operational level, there are things that cost less than one Satoshi, I'm sure.

01:28:15 - Rion Gull

But I don't think it should be a user facing credit, a user facing unit that now we have three units to keep track of as as developers.

01:28:26 - Rion Gull

We have Dash, we have Satoshi's, we have credits.

01:28:29 - Rion Gull

And I just don't think that it's worth.

01:28:34 - Rion Gull

You know, I don't know.

01:28:37 - Rion Gull

I'm sure there's probably a reason for it.

01:28:39 - Rion Gull

I just don't know if the pros outweigh the cons.

01:28:43 - Rion Gull

Yeah.

01:28:49 - Anthony Campolo

So I'm just doing something silly right now so I can make this simpler for myself.

01:28:55 - Anthony Campolo

So I can just make the PR directly.

01:29:01 - Anthony Campolo

Okay.

01:29:02 - Anthony Campolo

I'm going to open this PR by myself because my whole site is on a new computer.

01:29:06 - Anthony Campolo

It's just...

01:29:07 - Anthony Campolo

Yep.

01:29:08 - Anthony Campolo

I get it.

01:29:08 - Anthony Campolo

I get it.

01:29:09 - Rion Gull

All right.

01:29:09 - Rion Gull

Cool.

01:29:10 - Rion Gull

Well, we made some progress.

01:29:11 - Rion Gull

We found some mistakes, some things that could be improved with the tutorial.

01:29:21 - Rion Gull

The nice thing is we didn't really run into any actual bugs like on the testnet network.

01:29:29 - Rion Gull

Everything's working well.

01:29:31 - Anthony Campolo

Yeah, testnet.

01:29:32 - Anthony Campolo

Everything's working well.

01:29:33 - Anthony Campolo

Long sleep the first time, yeah.

01:29:35 - Anthony Campolo

Yeah.

01:29:36 - Rion Gull

Other than we didn't have enough credits for that one transaction and we figured out why.

01:29:40 - Rion Gull

So success.

01:29:42 - Anthony Campolo

Sweet.

01:29:43 - Anthony Campolo

Cool.

01:29:44 - Anthony Campolo

So I'm going to do that PR.

01:29:46 - Anthony Campolo

Sweet. Um cool. So I'm gonna do that PR. And then did you wanna hop on another time to keep going through the tutorial where we were?

01:29:52 - Rion Gull

Yeah.

01:29:53 - Rion Gull

Yeah.

01:29:53 - Rion Gull

Yeah, yeah, let's, let's, uh, let's do another stream next week.

01:29:57 - Anthony Campolo

Sweet.

01:29:57 - Anthony Campolo

Sounds good.

01:29:58 - Anthony Campolo

All right.

01:29:59 - Anthony Campolo

Thanks, everyone, for watching.

01:30:01 - Anthony Campolo

And yeah, we'll catch you next time.

01:30:04 - Rion Gull

Yep.

01:30:05 - Anthony Campolo

Bye.

On this pageJump to section