Skip to content

Instantly share code, notes, and snippets.

@xssnick
xssnick / sbt.md
Last active September 1, 2022 10:58

Summary

Soul bound token (SBT) is a special kind of NFT which can be transferred only between its owner's accounts. For this, it stores immutable public key of the owner, and it is needed to send transfer from new address with signature in payload to change owner's address.

@xssnick
xssnick / server.go
Last active July 25, 2022 14:36
Example how to handle webhooks from TonUtils bot
package main
import (
"crypto/hmac"
"crypto/sha512"
"encoding/base64"
"io/ioutil"
"net/http"
)