dicio-smartcontracts-abi
v0.0.3
Published
Conjunto de abis de los smartcontracts
Downloads
4
Readme
dicio-smartcontracts-abi
Coleccion de abis de los smart contracts.
Requisitos
- NodeJS
Instalación
VainillaJS
Para su instalacion solicite el archivo .js.
<!DOCTYPE html>
<html>
<head>
<meta charest="utf-8" />
<title>Hello world!</title>
</head>
<body>
<!-- Aqui su codigo -->
<script type="module">
import {LockAbi} from "{URL o ruta de archivo JS}";
// Puede usar el abi con la libreria que este usando
</script>
</body>
</html>
NodeJS, ReactJS, Angular
import { LockAbi } from 'dicio-smartcontracts-abi';
// Puede usar el abi con la libreria que este usando para la blockchain
Ejemplo
// Con libreria sdk-vite-npm
import { DicioBlockchain } from 'dicio-smartcontracts-abi';
import { LockAbi } from 'dicio-smartcontracts-abi';
const instace = new DicioBlockchain({
abiSmartContract: LockAbi,
addressSmartContract: '0x...',
enviroment: 'prod',
useType: 'backend',
urlNode = '',
privateKey = ''
});