- Create
docker-compose.yaml
andup.sh
on your computer - Make
up.sh
executable (chmod +x ip.sh
) - Run
./up.sh
You can force pre-approval of proposals commenting/uncommenting variables in the section
environment:
- allowTvmTransferTrc10=1
import { Account, TransactionType } from "@klever/sdk"; | |
// Define the transaction payload object | |
const payload = { | |
amount // The amount of KLV to be transferred | |
receiver, // The address of the receiver | |
kda: 'KLV', // The symbol for the KLEVER token or your token id | |
}; | |
// The private key of the sender's account |
//Installation | |
$ npm install @klever/sdk |
// Embedded in this article https://medium.com/p/c98e491015b6 | |
package main | |
import ( | |
"context" | |
"fmt" | |
"log" | |
"net/http" | |
"time" |
/* global artifacts, contract, it, assert, before, beforeEach, tronWeb, done */ | |
/* eslint-disable prefer-reflect */ | |
const wait = require('./helpers/wait') | |
const TokenMock = artifacts.require('TokenMock.sol') | |
const TOKEN_NAME = 'TRONWALLET' | |
const TOKEN_SYMBOL = 'TWX' | |
const TOKEN_UNIT = 1000000 | |
const TOKEN_TOTAL_SUPPLY = 20000000000 | |
const TOKEN_DECIMALS = 6 | |
const INVALID_ADDRESS = '0x0' |
pragma solidity ^0.4.16; | |
contract Token { | |
bytes32 public standard; | |
bytes32 public name; | |
bytes32 public symbol; | |
uint256 public totalSupply; | |
uint8 public decimals; | |
bool public allowTransactions; | |
mapping (address => uint256) public balanceOf; |
var StellarSdk = require('stellar-sdk'); | |
StellarSdk.Network.useTestNetwork(); | |
var server = new StellarSdk.Server('https://horizon-testnet.stellar.org'); | |
var sourceAccountPair = StellarSdk.Keypair.random(); | |
var destAccountPair = StellarSdk.Keypair.random(); | |
var astroDollar1 = new StellarSdk.Asset('AstroDollar1', sourceAccountPair.publicKey()); |
import 'babel-polyfill'; | |
import React, { Component } from 'react' | |
import { | |
View | |
} from 'react-native' | |
import { observer, inject } from 'mobx-react' | |
@inject('appStore') @observer | |
class HomeScreen extends Component { |
{ | |
"presets": ["react-native"], | |
"plugins": ["transform-decorators-legacy"] | |
} |