Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Liasion Track #9

Open
leanmendoza opened this issue Jul 7, 2024 · 3 comments
Open

Liasion Track #9

leanmendoza opened this issue Jul 7, 2024 · 3 comments

Comments

@leanmendoza
Copy link
Contributor

leanmendoza commented Jul 7, 2024

This issue contains the track of DAO&Foundation Liaison by the DAO SDK support team

2024/07/08

  • Check SDK library workflow

ecs-math nice to have

  • Curve3
  • Vector3.ones(value) = { x: value, y: value, z: value }
  • Color4.create(Color3 | Color4, alpha)

Sources

@leanmendoza leanmendoza converted this from a draft issue Jul 7, 2024
@leanmendoza
Copy link
Contributor Author

DCL Crypto Toolkit

A content creator was warning the library https://github.com/decentraland/dcl-crypto-toolkit doesn't provide feedback about the mana.send operation.
It was tested and nothing was found, the library seems to work as expected:

import { executeTask } from '@dcl/sdk/ecs'
import * as crypto from 'dcl-crypto-toolkit'

const testAddressTarget = '0x04812c531083054863ef354EF600A61857921466'

export function main() {
    executeTask(async () => {
        const balance = await crypto.mana.balance(testAddressTarget )
        console.log('First Mana balance:', balance)

        try {
            await crypto.mana.send(testAddressTarget, 10, false)
            console.log('Mana sent successfully!')
        }catch(e){
            console.log(e)
        } finally {
            try {
                const balance = await crypto.mana.balance(testAddressTarget )
                console.log('Then Mana balance:', balance)
            }catch(e){
                console.log(e)
            }
        }
    })
}

Image

@leanmendoza
Copy link
Contributor Author

Developing SDK Libraries

  • Struggling with iterating locally

A tested alternative was proposed: decentraland/documentation#407
Also, after testing the entire flow before publishing, changes were necessary to have the proper library set up decentraland/sdk7-library-template#1

@leanmendoza
Copy link
Contributor Author

Map specification for realms

The web client has taken advantage of the efforts done by the genesis.city with the images generated to make a navigation map and a minimap. This doesn't scale for any arbitrary realm/world, so we're pitching a proposal to have an ADR as a specification and then develop the necessary tools to generate this map/minimaps for custom realms.

decentraland/protocol#206
decentraland/adr#266

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant