Code to paste
/// Module: todo_list
module todo_list::todo_list;
use std::string::String;
use sui::transfer;
Code to paste
/// Module: todo_list
module todo_list::todo_list;
use std::string::String;
use sui::transfer;
import { Transaction } from '@mysten/sui/transactions'; | |
import { Ed25519Keypair } from '@mysten/sui/keypairs/ed25519'; | |
import { SuiClient, getFullnodeUrl } from '@mysten/sui/client'; | |
async function main() { | |
// Initialize client | |
const client = new SuiClient({ url: getFullnodeUrl('testnet') }); | |
// Create a keypair from your secret |
import { Transaction } from '@mysten/sui/transactions'; | |
import { Ed25519Keypair } from '@mysten/sui/keypairs/ed25519'; | |
import { SuiClient, getFullnodeUrl } from '@mysten/sui/client'; | |
async function sponsoredTransaction() { | |
const client = new SuiClient({ url: getFullnodeUrl('testnet') }); | |
// User's main keypair (your provided key) | |
const userKeypair = Ed25519Keypair.fromSecretKey( | |
'suiprivkey1qq9r6rkysny207t5vr7m5025swh7w0wzra9p0553paprhn8zshqsx2rz64r' |
module rendevous::airdrop; | |
use sui::coin::{Self, Coin}; | |
use sui::event; | |
/// Event emitted for every airdrop transfer. | |
public struct AirdropEvent has copy, drop { | |
amount: u64, | |
recipient: address, |
module rendevous::evacuate; | |
use sui::coin:: Coin; | |
use sui::event; | |
/// Event for each evacuation. | |
public struct AirdropEvent has copy, drop { | |
recipient: address, | |
num_tokens: u64, |
module impatient::goodylili{ | |
use std::string::{Self, String}; | |
use sui::url::{Self, Url}; | |
use sui::event; | |
use sui::balance::{Self, Balance}; | |
use sui::coin::{Self, Coin}; | |
use std::string::{utf8}; | |
use sui::display; | |
use sui::package; | |
use sui::sui::SUI; |
module impatient::goodylili; | |
use sui::coin::{Self, TreasuryCap}; | |
use sui::url; | |
public struct GOODYLILI has drop {} | |
fun init(witness: GOODYLILI, ctx: &mut TxContext) { | |
// Create the icon URL |
#!/bin/bash | |
# Unwrap all files from subdirectories into the root directory | |
# and remove empty folders. | |
ROOT_DIR="$1" | |
if [ -z "$ROOT_DIR" ]; then | |
echo "Usage: $0 <root_directory>" | |
exit 1 |
package precompile | |
import ( | |
"errors" | |
"github.com/ava-labs/avalanchego/utils/crypto/bls" | |
) | |
// BLSSignatureVerify is the precompiled contract for BLS signature verification | |
type BLSSignatureVerify struct{} |
# Move CLI build artifacts | |
/build/ | |
/storage/ | |
/.move/ | |
/move.lock | |
# Temporary files | |
*.tmp | |
*.swp | |
*.swo |