doc.gno
1.08 Kb ยท 19 lines
1// Package disperse provides methods to disperse coins or GRC20 tokens among multiple addresses.
2//
3// The disperse package is an implementation of an existing service that allows users to send coins or GRC20 tokens to multiple addresses
4// on the Ethereum blockchain.
5//
6// Usage:
7// To use disperse, you can either use `DisperseUgnot` to send coins or `DisperseGRC20` to send GRC20 tokens to multiple addresses.
8//
9// Example:
10// Dispersing 200 coins to two addresses:
11// - DisperseUgnotString("g1dmt3sa5ucvecxuhf3j6ne5r0e3z4x7h6c03xc0,g1akeqsvhucjt8gf5yupyzjxsjd29wv8fayng37c", "150,50")
12// Dispersing 200 worth of a GRC20 token "TEST" to two addresses:
13// - DisperseGRC20String("g1dmt3sa5ucvecxuhf3j6ne5r0e3z4x7h6c03xc0,g1akeqsvhucjt8gf5yupyzjxsjd29wv8fayng37c", "150TEST,50TEST")
14//
15// Reference:
16// - [the original dispere app](https://disperse.app/)
17// - [the original disperse app on etherscan](https://etherscan.io/address/0xd152f549545093347a162dce210e7293f1452150#code)
18// - [the gno disperse web app](https://gno-disperse.netlify.app/)
19package disperse // import "gno.land/r/demo/disperse"