npm install
npm run dev
# or
yarn
yarn dev
KLAYTN_PRIVATE_KEY=
FLUI_CARD_CONTRACT_ABI_JSON=
FLUI_CARD_CONTRACT_ADDRESS_JSON=
FLUI_BANK_CONTRACT_ABI_JSON=
FLUI_BANK_CONTRACT_ADDRESS_JSON=
CAVER_PROVIDER=baobab
Create now.json
and set environments.
now secrets add default-klaytn-private-key-staging <secret-value>
now secrets add default-klaytn-caver-provider-staging <secret-value>
now secrets add klaytn-seed-klaytn-flui-card-contract-abi-json-staging <secret-value>
now secrets add klaytn-seed-klaytn-flui-card-contract-address-json-staging <secret-value>
now secrets add klaytn-seed-klaytn-flui-bank-contract-abi-json-staging <secret-value>
now secrets add klaytn-seed-klaytn-flui-bank-contract-address-json-staging <secret-value>
{
"env": {
"KLAYTN_PRIVATE_KEY": "@default-klaytn-private-key-staging",
"CAVER_PROVIDER": "@default-klaytn-caver-provider-staging",
"FLUI_CARD_CONTRACT_ABI_JSON": "@klaytn-seed-klaytn-flui-card-contract-abi-json-staging",
"FLUI_CARD_CONTRACT_ADDRESS_JSON": "@klaytn-seed-klaytn-flui-card-contract-address-json-staging",
"FLUI_BANK_CONTRACT_ABI_JSON": "@klaytn-seed-klaytn-flui-bank-contract-abi-json-staging",
"FLUI_BANK_CONTRACT_ADDRESS_JSON": "@klaytn-seed-klaytn-flui-bank-contract-address-json-staging"
}
}
now