Skip to content

Commit

Permalink
chore: grammar, typos
Browse files Browse the repository at this point in the history
  • Loading branch information
lewinskimaciej committed Jun 5, 2024
1 parent 46d9723 commit 4eef87f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pages/service/transactions/custom-charges.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const transaction = await beam.assetsV2.transferAssetV2("your-sender-id", {
// }
```

### Alternative methods of handling transactionHash
### Alternative methods of handling transactions

- [Sponsored transactions](/service/transactions/sponsored-transactions): Learn about sponsored transactions for your users
- [Profile-paid transactions](/service/transactions/profile-paid-transactions): Learn about how to make a profile pay for it's own transactions through BEAM
2 changes: 1 addition & 1 deletion pages/service/transactions/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: Transactions

Through Profiles, you were able to create a bunch of in-game accounts for your users and your own utility purposes. We've also explained how these in-game accounts can be funded with assets through minting - but before we dive into managing those assets within the profiles, it's good to have a general understanding about transactions.

Within the context of our sdk, a transaction is a transfer of assets of one profile to another - but since our underlying technology is blockchain, a transaction can also simply be explained as any on-chain transaction happening for your profiles (which are account abstractions)
Within the context of our SDK, a transaction is a transfer of assets from one profile to another - but since our underlying technology is blockchain, a transaction can also simply be explained as any on-chain transaction happening for your profiles (which are account abstractions).

### Transactions and gas

Expand Down
4 changes: 2 additions & 2 deletions pages/service/transactions/profile-paid-transactions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Profile-paid transactions

# Profile-paid transactions

An alternative to the default of sponsoring transactions, is to make the Profile pay for a transaction. This requires the profile to have enough BEAM in its possession to pay for the gas fees needed to handle the network transaction. This generally comes down to a very small sum of BEAM, but if you never distributed any BEAM to the Profiles that you've created, there's a big chance that none of the profiles actually have the required BEAM in place.
An alternative to the default of sponsoring transactions, is to make the Profile pay for a transaction. This requires the profile to have enough BEAM in its possession to pay for gas fees needed to handle the network transaction. This generally comes down to a very small amount of BEAM, but if you never distributed any BEAM to the Profiles that you've created, there's a big chance that none of the profiles actually have the required BEAM in place.

In order to mitigate that, you could go different directions. Which is viable to you and your userbase completely depends on your context.

Expand Down Expand Up @@ -39,7 +39,7 @@ const transaction = await beam.assetsV2.transferAssetV2("your-sender-id", {
// }
```

### Alternative methods of handling transactionHash
### Alternative methods of handling transactions

- [Sponsored transactions](/service/transactions/sponsored-transactions): Learn about sponsored transactions for your users
- [Custom charges](/service/transactions/custom-charges): A guide to managing and updating your game's assets and details within Beam.
6 changes: 3 additions & 3 deletions pages/service/transactions/sponsored-transactions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ By default, all transactions are **sponsored by you**. Sponsoring transactions m

### Why are transactions sponsored by default?

We think this default is sensible, as it's you as the game developer are in control of when a transaction happens. We consider it your responsibility as a game developer to create a viable economic model where sponsored and self-paid transactions (through BEAM or custom charges) go hand in hand to create the best experience for the gamer.
We think this default is sensible, as it's you as the game developer who is in control of when a transaction happens. We consider it your responsibility as a game developer to create a viable economic model where sponsored and self-paid transactions (through BEAM or custom charges) go hand in hand to create the best experience for the gamer.

To paint a clearer picture on how this looks like, below you'll find a transaction which is sponsored
To paint a better picture on how this looks like, below you'll find a transaction which is sponsored

```typescript
const transaction = await beam.assetsV2.transferAssetV2("your-sender-id", {
Expand All @@ -32,7 +32,7 @@ const transaction = await beam.assetsV2.transferAssetV2("your-sender-id", {
// }
```

### Alternative methods of handling transactionHash
### Alternative methods of handling transactions

- [Profile-paid transactions](/service/transactions/profile-paid-transactions): Learn about how to make a profile pay for it's own transactions through BEAM
- [Custom charges](/service/transactions/custom-charges): A guide to managing and updating your game's assets and details within Beam.

0 comments on commit 4eef87f

Please sign in to comment.