Open leanmendoza opened 1 week ago
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)
}
}
})
}
A tested alternative was proposed: https://github.com/decentraland/documentation/pull/407 Also, after testing the entire flow before publishing, changes were necessary to have the proper library set up https://github.com/decentraland/sdk7-library-template/pull/1
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.
https://github.com/decentraland/protocol/pull/206 https://github.com/decentraland/adr/pull/266
This issue contains the track of DAO&Foundation Liaison by the DAO SDK support team
2024/07/08
ecs-math
nice to haveSources