- Download Command line tools only.
- Configure your
ANDROID_SDK_ROOT
directory, create insidecmdline-tools
and decompress zip downloaded above. - Set Environment Variable
ANDROID_SDK_ROOT
and added toPATH
bin tools$ANDROID_SDK_ROOT/cmdline-tools/tools/bin
. - Install packages for Android API 23 (MARSHMELLOW (6.0), etc)
sdkmanager "system-images;android-23;google_apis;x86" "platforms;android-23"
- Install emulator and tools:
sdkmanager "emulator" "platform-tools"
- Add tools to
PATH
:$ANDROID_SDK_ROOT/emulator
,$ANDROID_SDK_ROOT/platform-tools
- Create emulator device:
avdmanager --verbose create avd --force --name "pixel_6.0" --device "pixel" --package "system-images;android-23;google_apis;x86" --tag "google_apis" --abi "x86"
- Start emulator:
emulator @pixel_6.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"> | |
<ext:UBLExtensions> | |
<ext:UBLExtension> | |
<ext:ExtensionContent /> | |
</ext:UBLExtension> | |
</ext:UBLExtensions> | |
<cbc:UBLVersionID>2.1</cbc:UBLVersionID> | |
<cbc:CustomizationID>2.0</cbc:CustomizationID> | |
<cbc:ID>B001-1</cbc:ID> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { SigningStargateClient } from '@cosmjs/stargate' | |
import { fromBase64 } from "@cosmjs/encoding"; | |
import { | |
makeAuthInfoBytes, | |
makeSignDoc, | |
} from '@cosmjs/proto-signing' | |
import { Int53, Uint53 } from "@cosmjs/math"; | |
import { Any } from "cosmjs-types/google/protobuf/any"; | |
import { PubKey } from "cosmjs-types/cosmos/crypto/secp256k1/keys"; | |
import { TxRaw } from "cosmjs-types/cosmos/tx/v1beta1/tx"; |
- Upload cw20-ics20 contract - cw0_ics20.wasm(v0.13.4)
TX_FLAGS="--gas auto --gas-adjustment 1.3 --gas-prices 0.025ujunox"
junod tx wasm store cw20_ics20.wasm --from user $TX_FLAGS
GET Code ID.
- Instantiate Contract:
RUN apt update
RUN apt upgrade -y
RUN apt install -y apt-utils
RUN a2enmod rewrite
RUN apt install -y libmcrypt-dev
RUN apt install -y libicu-dev
RUN docker-php-ext-install -j$(nproc) intl
RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng12-dev
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$parameters = [ | |
'proxy_host' => "127.0.0.1", | |
'proxy_port' => 8888, | |
'stream_context' => stream_context_create( | |
array( | |
'ssl' => array( | |
'verify_peer' => false, | |
'verify_peer_name' => false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"> | |
<ext:UBLExtensions> | |
<ext:UBLExtension> | |
<ext:ExtensionContent /> | |
</ext:UBLExtension> | |
</ext:UBLExtensions> | |
<cbc:UBLVersionID>2.1</cbc:UBLVersionID> | |
<cbc:CustomizationID>2.0</cbc:CustomizationID> | |
<cbc:ID>FBTC-1</cbc:ID> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function isAminoConverter( | |
converter, | |
) { | |
return typeof converter[1] !== "string"; | |
} | |
/** | |
* A map from Stargate message types as used in the messages's `Any` type | |
* to Amino types. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs'); | |
// state.json -> GET /cosmwasm/wasm/v1/contract/{contract}/state | |
function main() { | |
const data = fs.readFileSync('cw721-state.json', 'utf8'); | |
const state = JSON.parse(data); | |
const items = []; | |
state.models.forEach(m => { | |
items.push({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Download and install keplr: https://github.com/chainapsis/keplr-wallet/releases/tag/v0.9.13 | |
// Use developer console (Browser) | |
let chainInfo = { | |
"chainId": "evmos_9000-4", | |
"chainName": "Evmos Testnet", | |
"rpc": "https://tendermint.bd.evmos.dev:26657", | |
"rest": "https://rest.bd.evmos.dev:1317", | |
"stakeCurrency": { | |
"coinDenom": "EVMOS", |
NewerOlder